-
Notifications
You must be signed in to change notification settings - Fork 25
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
Refactor/use hooks #452
Merged
Merged
Refactor/use hooks #452
Changes from 52 commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
40ea4fb
feat: add hooks packages
devceline 003159c
chore: remove references to uiHooks
devceline 1c572a9
chore: uiEnabled from context
devceline d387ea2
chore: remove intermediate hooks
devceline 3e2c849
chore: remove messages components
devceline f3f4a23
chore: simplify signatureModal
devceline fece111
chore: fix build errors
devceline be84309
document: what is missing in hooks
devceline ef5a382
chore: update useNotification logic
devceline e8c8363
chore: fix mobile footer
devceline ef65a0c
chore: fix sidebar
devceline 5c4e6a2
chore: fix modals
devceline 9e771ef
chore: remove widget pages
devceline c64433f
chore: fix more build errors
devceline e4d3c69
chore: remove extra logic in routes
devceline 137240a
chore: fix all build errors
devceline 768238f
chore: remove empty space
devceline 1052df7
chore: use symlinking
devceline 6fde2a7
chore: remove unused listeners
devceline ed9c367
chore: run prettier
devceline b48c6e2
chore: remove rxjs
devceline 6014603
chore: init Web3Inbox Client
devceline 4522eea
fix: state to use valtio
devceline 39acfa0
feat: fetch correct subscriptions and show loading states for notifs
devceline 46b4731
chore: remove dappOrigin hooks
devceline 7c9d11b
chore: remove auth provider
devceline f22198e
chore: fix address formatting
devceline 83aa3ce
chore: remove w3iProxy
devceline 1e97282
chore: fix prop errors
devceline 4dcc931
chore: fix bug where appcard navigates to topic
devceline 2293747
chore: log useNotificationInfiniteScroll
devceline 407d6e0
chore: update packages and prep for echo registration
devceline 86654c7
chore: remove unnecessary comment
devceline 5c28b8a
chore: remove notify-client
devceline 3921509
chore: remove ContactsModal
devceline 71e54d3
chore: simplify function to enable notifications
devceline 2f04162
chore: move activeSubscriptions out of w3iContext
devceline 1918024
chore: remove console logs from login page
devceline ee7d1a4
chore: run prettier
devceline 9249a02
chore: fix loading indicator
devceline 5c7596b
feat: sync symkeys for subscriptions for PNs
devceline 5d20d15
chore: dont overwrite notifications with loading
devceline 88f83af
chore: change and op to ternary for rendering
devceline e9b7448
chore: rename app to subscription
devceline 5380f0f
fix: authentication bugs
devceline 1a6fbe6
chore: run prettier
devceline c5b02cd
chore: use navigate const
devceline 5ba7a55
chore: run prettier
devceline 28426fb
chore: update react canary
devceline a54e24d
chore: use navigation for src routes
devceline ff3533b
chore: remove logs
devceline 6568cfd
chore: run prettier
devceline d4d6ed8
Update src/utils/hooks/useNotificationsInfiniteScroll.tsx
devceline 4493733
Update src/utils/notifications.ts
devceline 7a53085
Update src/utils/signature.ts
devceline 88febb9
chore: remove sentry replay
devceline f41f973
chore: remove unused imports
devceline 020855d
chore: revert notification batch size change
devceline 8a011d9
chore: update web3modal
devceline 4a790a3
chore: update canaries of web3inbox
devceline 857e38b
chore: prevent default on show more click
devceline 09d2905
chore: update event type to make ts happy
devceline 32cafe7
chore: maintain token dev state
devceline 5b94393
chore: register on web load
devceline ea2cdee
chore: put logs
devceline 8d9e527
chore: run prettier
devceline 0bb417f
chore: remove unused reference
devceline 9bc9878
chore: remove unused import
devceline 1f002cf
fix: preferences modal not updated
devceline 9eb0322
fix: fix bug with not loading on iOS
devceline b770fef
chore: simplify app filtering and fix empty appSelector bug
devceline 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Bugs | ||
- ~~useSubscribe should update on domain param change~~ | ||
# Things missing in hooks | ||
|
||
## `useSubscribe` | ||
1. ~~useSubscribe -> subscribe should accept domain. useSubscribe should only take account~~ | ||
|
||
## `useSubscription` | ||
1. ~~useSubscribtion should expose getSubscription which takes params.~~ | ||
|
||
## `registerWithEcho` | ||
1. ~~Add hook to register with echo~~ | ||
|
||
# Things that would be nice | ||
|
||
## `useSubscription` | ||
1. `useSubscribtion` should expose `isSubscribed` for convenience. | ||
|
||
## Fetch projects from cloud |
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
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
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
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
This file was deleted.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this kind of todos? Should we list them somewhere else or version in this markdown?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this is just for reviewers (you, ben) to see what needed to change in the hooks, will be deleted before merge