generated from JohnBra/vite-web-extension
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dropdown): Remember selected filter
The filter drop down currently always uses All by default. This default can be annoying if you have a deleted masked emails that sort near the top. This changes FilterEmailsDropdown to remember the selected filter between invocations, so the default changes to what you selected last time. Note that it remembers the value only when changed with the drop down and not when you create a new masked email.
- Loading branch information
Showing
3 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export const outputFolderName = 'dist'; | ||
export const FASTMAIL_SESSION_KEY = 'fastmail_session'; | ||
export const FAVORITE_EMAILS_KEY = 'favorite_emails'; | ||
export const DEFAULT_FILTER_KEY = 'default_filter'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters