Arjun Porwal
b46bc1d54a
fix: replace isEmpty checks with utility function in account info hooks ( #11355 )
2025-03-04 09:29:09 -05:00
Tarik Gul
384049fb6b
2025 ( #11172 )
...
* 2025
* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00
Tarik Gul
478cd03e7e
Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains ( #10598 )
...
* Use apiSystemPeople for identities on relay chains
* Add apiIdentity support
* add config
* Fix nits
* Get working condition for all chains!
* add enableIdentity for correct support
* Add comments to EndpointOption type
* Add some inline comments
2024-05-21 21:28:03 +03:00
Jaco
0649261a5d
2024 ( #10152 )
2024-01-08 15:06:30 +02:00
Jaco
8f9919c834
Adjust object indexing ( #9564 )
...
* Add tsconfig override
* JSON Comments
* Adjust object indexing
* Dedupe yarn.lock
* Bump deps
2023-06-12 09:11:39 +03:00
Jaco
c069df72c0
Bump dev deps ( #9199 )
2023-03-18 13:04:20 +02:00
Jaco
eacf028ba6
Use .js imports in src ( #9132 )
...
* Use .js imports in src
* Additional
* Additional
* Additional
* Additional
* Additional
* Additional
* Additional
* Additional
* Additional
* Additional
* Additional
* Additional
* Additional
* Add WP extension aliases
* Bump dev
* Additional
* Additional
* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
Jaco
37f44367b4
Rework context usage (& move most to react-hooks) ( #8731 )
...
* Rework context usage (& move most to react-hooks)
* Move use{Accounts, Addresses} to use contexts
* Cleanups
* Global alignment renames
* Combine keyring subjects into KeyringCtx
* Cleanups to contexts
* Small adjustment to window size usage
* Popup test via data-testid
* Fix Bounties tests
* Move getStats to correct location
* Adjust ApiStats
* Do add unsubs (although unneeded)
2023-01-09 12:56:38 +02:00
Jaco
4929b1c6fd
Update headers for 2023 ( #8665 )
...
* Update headers for 2023
* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
51835328db
2022 ( #6764 )
2022-01-01 09:30:15 +02:00
Jaco
a7a48c1140
Extract derive.accounts.* into own hooks ( #6755 )
...
* Extract derive.accounts.* into own hooks
* useAccountApi as applicable
* Rename step 1
* useSystemApi
2021-12-30 10:02:41 +02:00
Jaco
a1523209d9
No derivation on Ethereum (not implemented) ( #6591 )
2021-11-22 11:22:31 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook ( #6451 )
2021-10-30 17:30:43 +03:00
Jaco
68a423748b
Adjust createNamedHook ( #6449 )
...
* Adjust createNamedHook
* All (most) in react-hooks now named
* Add useValidators hook
* linting?
2021-10-30 13:36:05 +03:00
MiZiet
053e0efca2
Split registrars display ( #6157 )
...
* Add subs modal
* Add tests
* Add Translations
* Improve closing modal
* Improve tests
* Improve styles
* Style balances & identity
* Optimize imports
* Improve styles
* Set greater width to balance section
* Rename subs modal toggle
* Change 'amount' to 'count' in test name
* Set make modal header fixed while content is scrollable
* Style multisig
* Update multisig styles
* Capitalize headers
* Move sidebar tests to Sidebar.spec.tsx
* Remove duplications in tests
* Add UserIcon component
* Revert subs modal changes and add scrollable section in Sidebar
* Remove unused styles
* Use accountsPage clearAccount method
* Wrap subs into Expander
* Add useSubidentities hook
* Adjust api mock in tests
* WIP - split judgements
* Display judgements
* Handle no judgements case
* [WIP] Add popup test
* Extract JudgmentTag component
* Add popup test
* Refactor tests and remove pointer from no judgements tag
* Extract JudgementTag test class
* Close popup on scroll
* Remove old section
* Clean registration
* Clean up identity in useAccountInfo and mock in Page
* Remove fragment tag
* Fix imports
* Move SortedJudgements to /types
* Move Registrar interface to types
* Refactor clickRegistrar fcn
* Move hasAccount check to isRegistrar
* Add useJudgements hook
* Rename and move getJudgementColor to utils
* Fix import and casting in tests
* Sort imports
* Add review fixes
* Fix tests
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-29 10:45:34 +02:00
Ewa Kowalska
ad8226a5c3
Account sidebar - single button for editing name and tags ( #6049 )
...
* WIP - merge edition of account name and tags
* [WIP] - tests
* Apply test improvements
* Improve tests
* Improve tests and use useCallback
* WIP - add cancel button
* Outside click
* Add more tests
* Apply styling
* Add opacity on not editable elements
* Remove unnecessary code and fix type of sidebar ref
* Disable eslint rule
* Place edit button within account menu buttons
* Adjust test setup
* Ato-lint fixes
* Update styles
* Apply review suggestions
* Remove unused styles and change type of sidebar ref
* Remove onCancel from useAccountInfo hook
* Fix issue with edit button
* Apply review suggestions, remove tests
* Adjust tests
* Simplify tests
* Apply lint fixes
* Change layout of buttons
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-09 19:40:09 +02:00
Jaco Greeff
7d2d1842d1
Update deps (& berry) ( #4765 )
...
* Update deps (& berry)
* linting
* Additional
* Bumps
* jest babel helpers esm
2021-03-03 11:52:39 +01:00
Jaco Greeff
cef6451064
Optional staking module for info queries ( #4574 )
2021-02-02 09:17:38 +01:00
Jaco Greeff
1a74b927fc
Remove some floating "as any" usages ( #4565 )
2021-02-01 20:46:31 +01:00
Jhon
916a925cda
added validator/nominator flags ( #4546 )
...
* lighter read to make it more readable on dark mode
* added missing themeprops ref
* ran linter
* undo opacity 1 on non red 'other stake' to keep the focus on the whle number'
* ran linter
* isolate opacity change to format balance error text
* updated settings > metadata layout to be more consistent with the rest
* ran linter
* Update packages/page-settings/src/Metadata/Extensions.tsx
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* updated ternary condition to get rid of empty string at the end as well as fixed weird indentation on styled components
* added validator flag
* Update packages/react-hooks/src/useAccountInfo.ts
* Update packages/react-hooks/src/useAccountInfo.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-02-01 13:26:08 +01:00
Jaco Greeff
6155dbd224
Check isEditable for network swap ( #4495 )
2021-01-25 15:29:32 +01:00
Jaco Greeff
6dbb188a1a
2021 ( #4310 )
2021-01-03 11:33:39 +01:00
Jaco Greeff
93b38ece21
Cleanup WebPack ( #4258 )
...
* Remove unused WP5 override
* Adjust
* Additional imports
* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
b22f61347e
Remove unused TxModal components ( #4250 )
...
* Remove unused TxModal components
* Cleanups
2020-12-20 17:50:06 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group ( #4168 )
...
* Plug new beta of eslint plugin simple import sort
* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Ewa Kowalska
87505b1c59
Eslint imports ( #4037 )
...
* Add eslint configuration
* Patch eslint plugin for sorting imports
* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } ( #4052 )
...
* Use import type { ... }
* value imports
* TypeDefInfo
* Apply suggestions from code review
* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
64299ebd29
Dev bump ( #4012 )
...
* Bump API/Common (esnext exports)
* Bump deps
* Adjust
* Bumps
* Bumps
* repository
* Update dev
* Remove Rococo (for the time being)
* script extension
2020-11-11 15:28:52 +01:00
Jaco Greeff
ee7a4de77d
Allow ABI removal on upload ( #3869 )
2020-10-14 09:15:13 +02:00
Jaco Greeff
7ba7339d96
SPDX ( #3705 )
2020-09-17 16:46:46 +02:00
Jaco Greeff
7531f01a39
Display accountIndex on SideBar (as available) ( #3140 )
...
* Display accountIndex on SideBar (as available)
* accountIndex cache
* Cleanup accountIndex re-renders
* Unneeded accountIndex effect dep
2020-07-08 00:17:59 +02:00
Jaco Greeff
e5e46accf6
Cleanup account menus ( #3076 )
2020-06-28 14:05:35 +02:00
Jaco Greeff
b78cc3fa2f
Adjust button rounding ( #3051 )
...
* Adjust button rounding
* ReferendumInfo icon
2020-06-25 15:34:35 +02:00
Jaco Greeff
9da6b40024
Add proxied accounts, fix multisig cancel ( #2958 )
...
* Add proxied accounts, fix multisig cancel
* Multi toggle hides input
* Modal description
2020-06-15 15:51:55 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts ( #2873 )
...
* first commit
* finish
* InputMegaGas, use BN consts'
* update util'
* tags issue
* manifest
* import bn_zero
* rm
* restore contract tags
* fix tags onClose
* sec to ms
* ms -> sec
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
Jaco Greeff
61a1f323ea
0.43 ( #2824 )
...
* Polkadot RPCs
* Primary color
* 0.43
* accountinfo local name fix
* useAccountInfo update
2020-05-26 19:44:06 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint ( #2802 )
...
* Bumps w/ eslint
* Additional
* Additional
* Additional
* Additional
* Remove style props
* Additional
* Additional
* Additional
* Additional (< 100)
* eslint passes, tsc next
* tsc fixes
* Update deps
* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules ( #2757 )
2020-05-16 10:45:54 +02:00
Jaco Greeff
aa2074b20c
Slit Sidebar address Identity rendering ( #2701 )
2020-05-07 13:51:56 +02:00
Jaco Greeff
cf32011976
Ledger confim address ( #2686 )
2020-05-04 15:39:56 +02:00
Jaco Greeff
a66db1f152
Multisig creation layout ( #2674 )
...
* Multisig creation layout
* Header cleanups
* Cleanup flag display
2020-05-02 08:56:16 +02:00
Jaco Greeff
cfeb5c7f07
Fix lock-to-network, save with genesisHash (broken after useAccountInfo move) ( #2628 )
...
* Fix chain locks
* Save with meta
* Bumps
* i18n rebuild
2020-04-25 10:16:07 +02:00
Jaco Greeff
e3400f7206
Multisig support ( #2623 )
...
* Multisig support
* Testing, sorting with timepoints
* Re-add
* lint (import fix)
* case-sensitive import
2020-04-24 20:30:08 +02:00
Jaco Greeff
67b69dc976
Split Sidebar flags (& use <Tag /> component) ( #2609 )
...
* Split Sidebar flags (& use <Tag /> component)
* Fix Account flags expansion
2020-04-23 10:49:34 +02:00
Keith Ingram
9703811f8b
AddressMenu popup when clicking on address name ( #2563 )
...
* AddressMenu
* use menu
* refactor
* draft
* cleanup
* Sidebar
* Sidebar
* improvements
* redesign
* bump
* Small adjustments
* Layout adjustments, useCallbacks (not perfect...)
* Remove _setName with extra effect, re-add badges (edit missing)
* Missing useCallback in Address
* no withSidebar on AddressToggle
* useAccountInfo CPU spikes (split effects, no useCallback deps)
* Alway have underline (even on address)
* secondary button color
* Add name callback
* Make identity appear with displayname
* Adjust judgement button position
* UI adjustments
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-04-22 19:43:20 +02:00