Skip to content

feat(saved-searches): Move pin search button to header [UP-194]#40790

Merged
malwilley merged 1 commit into
masterfrom
UP-194-saved-searches-default-button
Nov 1, 2022
Merged

feat(saved-searches): Move pin search button to header [UP-194]#40790
malwilley merged 1 commit into
masterfrom
UP-194-saved-searches-default-button

Conversation

@malwilley

Copy link
Copy Markdown
Member

This simply moves the pin search logic to a button in the header.

Note that the behavior is already a bit unsatisfactory. When pinning a search, the whole page goes blank and shows a spinner. We will address this later, right now this should work the same as it does today.

@malwilley malwilley requested a review from a team October 31, 2022 20:55
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 31, 2022
<Button
onClick={onTogglePinnedSearch}
size="sm"
icon={<IconBookmark isSolid={pinnedSearchActive} />}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super clean

@malwilley malwilley merged commit 7434eea into master Nov 1, 2022
@malwilley malwilley deleted the UP-194-saved-searches-default-button branch November 1, 2022 00:44
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants