Commit 4defe0e
feat(connected-accounts): implement linking/unlinking NEAR accounts with social networks (#57)
* Revert "feat: open the overlay by left-clicking on the extension icon (DAP-4805)"
This reverts commit 5470dbd.
* feat: add skeleton of the side panel (DAP-4813)
* refactor: extract engine from NotificationProvider
* refactor: remove unused imports
* Merge branch 'develop' into dap-4813
* feat: mocked side panel
* fix: `dev:extension` script
* refactor: move app switchers to shared components
* feat: add Connect Module for CA page (DAP-4844)
* refactor: extract engine hooks to a separate package
* refactor: declarative way to initialize parser configs
* fix: colors; refactor: use css variables
* feat: synchronize wallet state
* fix: notifications are empty
* feat: use data from a site context, subscribe for changes
* refactor: upgrade react router dom
* fix: overlay doesn't work in gateway
* refactor: remove unused imports
* refactor: extract all dependant calls to context
* feat: sync context tree with side panel
* refactor: replace selectedMutation with selectedMutationId
* feat: switch mutation from side panel
* refactor: extract favorite mutations to react-engine
* refactor: extract preferred source to react-engine
* refactor: move mutation editor modal to the side panel
* refactor: rename hook
* refactor: move overlay open state inside
* refactor: move networkId to wallet provider
* refactor: move core inside engine
* refactor: simplify overlay drawer
* feat: remove overlay from extension
* refactor: use wildcard export
* feat: extract notifications to the separate page
* fix: mutation editor not found
* refactor: reuse existing mutation editor
* refactor: get rid of mutations with settings
* fix: broken styles in mutations list
* fix: broken connection between cs and sp
* refactor: memoize mutations
* fix: parser is reattached after mutation switching
* refactor: don't load all mutations in the engine
* refactor: reuse use state hook
* fix: window focus refetch
* fix: empty mutations list
* feat: move apps to the sidepanel
* refactor: replace `/system/` route with `/`
* fix: near social doesn't work
* refactor: extract modalContainerRef into context
* fix: pr review modal doesn't show
* fix: mutation editor doesn't fit into overlay
* refactor: remove unused switchMutationVersion from engine
* refactor: extract setPreferredSource from context
* refactor: remove unused props
* refactor: remove unused mutationApps from the context
* docs: add todos
* feat: implement `connect` and `disconnect` functionality for CA (DAP-4845, DAP-4846, DAP-4847)
* feat: keep two engines in sync
* feat: close sidepanel via uber sausage
* fix: status update
* refactor: use `social account` in Connect Module
* fix: broken side panel
* fix: deleted mutation from preferred source is not loaded
* fix: remove from recently used doesn't work
* fix: mutation editor modal is empty
* feat: add error messages and the condition check for the active account
* refactor: extract all engine listeners to one hook
* refactor: return undefined if there is no query data
* fix: sync mutation and apps state
* feat: open wallet in window popup
* feat: exclude wallet urls
* fix: sidepanel reacts on tabs in another windows
* fix: prev is undefined error
* fix: prev is undefined error
* feat: no connection message
* feat: two way state sync
* fix: inconsistent state after forking
* fix: cannot remove mutation from recent
* ci: fix invalid type on
* fix: three dots popups
* chore: update pnpm lock
* refactor: extract socialNetworkConnectionCondition from the context
* refactor: extract useGetVerificationRequest
* refactor: extract useGetPendingRequests
* refactor: extract useMinStakeAmount
* refactor: rename hook
* refactor: extract useChangeCAStatus and useGetCAPairs
* refactor: extract useGetCANet
* refactor: extract whole ca context
* fix: path in import
* fix: after connecting the wallet, a message about the connection conditions not being met is not displayed (DAP-4861)
* feat: change `RequestStatus` options; add example for CA connection condition
* refactor: use serialized context tree
* fix: useOutside closes popup immediately
* fix: tree is not synced
* fix: message when there are no connected accounts yet; refactor: add comments about hardcode in CA
---------
Co-authored-by: Alexander Sakhaev <alsakhaev@gmail.com>1 parent c9dfa2a commit 4defe0e
File tree
42 files changed
+1385
-999
lines changed- apps/extension/src/sidepanel
- libs
- backend/src
- services/connected-accounts
- engine/src
- app
- contexts/connected-accounts-context
- react-engine/src
- connected-accounts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+1385
-999
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | | - | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
| 269 | + | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
64 | 61 | | |
65 | 62 | | |
66 | 63 | | |
| |||
Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 0 additions & 25 deletions
This file was deleted.
0 commit comments