-
Notifications
You must be signed in to change notification settings - Fork 5
feat: introducing new feature 'Notifications' #1962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AMIRKHANEF
wants to merge
37
commits into
PolkaGate:main
Choose a base branch
from
AMIRKHANEF:notification
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 34 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
bbccee4
chore: whitelist 'notification' path, add open notification functions…
AMIRKHANEF fa894c4
feat: introduce Notifications Settings page extension mode
AMIRKHANEF 15cc8e9
chore: add notification settings path
AMIRKHANEF 30e2a8d
feat: fetch referenda notifications, and resolve minor issues
AMIRKHANEF 08013e3
Merge branch 'main' into notification
AMIRKHANEF a79d0ec
chore: add group function to utils
AMIRKHANEF 5fdb9bf
chore: resolve styling problem in TwoToneText component
AMIRKHANEF e64e234
refactor: separate function, types and helpers
AMIRKHANEF 81332b9
feat: create NotificationGroup.tsx
AMIRKHANEF 9a879d8
chore: add notification items icons
AMIRKHANEF cd0afac
feat: show Notification on full-screen mode
AMIRKHANEF f1c21e4
fix: resolve fetching problem in payouts and minor style problems
AMIRKHANEF 5d0dc90
refactor: refactor getting description information
AMIRKHANEF fbf4c95
Merge branch 'main' into notification
AMIRKHANEF f1b1f96
refactor: remove unused newReferendaNotification.js
AMIRKHANEF 64de6a4
feat: add Notification Settings on full-screen mode
AMIRKHANEF b0e7a61
chore: adjust some styling issues
AMIRKHANEF 22946e0
feat: display referenda notifications
AMIRKHANEF e6ac5bc
chore: display a message when the notification is off
AMIRKHANEF 0e8eb4b
refactor: improve naming and notification settings initialization
AMIRKHANEF aacff8d
chore: display a message when it's the first time using notification …
AMIRKHANEF 2e686f3
chore: refactor notification status, display loading state
AMIRKHANEF a15b71e
refactor: handle cold start
AMIRKHANEF 9f31247
chore: display no notification message
AMIRKHANEF a97258e
refactor: handle saving fetched notification right away in a queue
AMIRKHANEF 50cab8c
chore: adjust styling issues
AMIRKHANEF 7cfeaa1
chore: remove chevron and add motion
AMIRKHANEF d8595f3
fix: resolve not synced notification setting changes, add 15 min offset
AMIRKHANEF 6e5c4b5
fix: resolve saving notification problem
AMIRKHANEF a860f76
fix: resolve duplicate fetching information for migrated relay chains
AMIRKHANEF 33f5369
fix: resolve new notification alert, sort items in the day
AMIRKHANEF 8ecacfc
Merge branch 'main' into notification
AMIRKHANEF 68e8f81
chore: resolve conflict
AMIRKHANEF a800e53
chore: fix minor issues
AMIRKHANEF 998015c
chore: resolve minor issues in notification settings
AMIRKHANEF ffd09ef
chore: resolve minor issues in notification utils functions
AMIRKHANEF 37150f1
chore: add a new constant for the fetching notifications items thresh…
AMIRKHANEF File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
133 changes: 79 additions & 54 deletions
133
packages/extension-polkagate/src/fullscreen/components/layout/Notifications.tsx
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.