Jaco
27098f34b8
Bump deps ( #9040 )
...
* Bump deps
* Bumps
* Adjust
* Adjust
* Adjust test imports
* Adjust
* Re-adjust
* Fix frequency package name
* Adjust build
* Adjust
* Fix before import
* Adjust
* require script
* Adjust checks
* Linting fixes
* Fix json alongside other tests
* Move fixup script
* Remove main type: "module"
* Adjust (some) tests
* Adjust chartjs imports
* Bump deps
* Adjust
* Bump deps
* Adjust styled imports
* Bump deps
* Adjust
2023-02-20 11:38:52 +02:00
Jaco
e214c0fde8
Additional styled injection changes to components ( #8809 )
...
* Additional styled injection changes to components
* Couple more
* One from claims (previously missed)
* Adjust
* Fix some build issues
* Final build adjustments
* Adjust address whitepace
* Adjust bounties
2023-01-15 13:25:59 +02:00
Jaco
8475d4cf60
Rework accounts styled injection ( #8800 )
...
* Rework accounts styled injection
* Fix build
* Fix tests? (We've always known we have circular deps on these ones...)
* Remove unused prop
2023-01-15 08:45:14 +02:00
Jaco
e63eeb506c
Rework (some) component styled injection ( #8795 )
...
* Rework (some) component styled injection
* Small build fixes
* Additional build fixes
* Additional
* Fixes
* Remove unused SelectedDrag
* Remover unneeded props passing
* Fix build
* Remove unneeded inline-block
2023-01-14 15:22:42 +02:00
Jaco
ff328328ac
Small update to menu sizing ( #8769 )
...
* Small update to menu sizing
* Additional
* Align all short address displays
* shor hashes, short addresses
* isLoading to inputs
* Adjust --tmp for Labelled
* jiggle endpoint display
* button sizes
* label sizing
* final label sizing
* column headers
* label padding
* parachain hashes
2023-01-12 09:36:21 +02:00
Jaco
9647a68b4a
Font styling ( #8764 )
...
* Font styling
* Additional adjustments
* Adjust
* Node headers & Table numbers
* Adjust
* mono size adjust
* Adjust upwards for headers
* Explicit label vars
* header font-weight
* .sub font-weight
* Adjust block headers
* Remove rx--updated
2023-01-11 20:09:13 +02:00
Jaco
f495761c0b
Add a placeholder for full balance retrieval ( #8734 )
...
* Add a placeholder for full balance retrieval
* Adjust sidebar
* Add --placeholder class
* staking overview placeholder
* Adjust preimage & council
* Account Summary
* Additional
* Additionals
* Some more around staking
* Slight opacity adjustment
* Last remaining for this round
* One final for now
2023-01-09 17:37:40 +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
c15c11b373
Adjust account displays with overflow ( #8699 )
...
* Adjust account displays with overflow
* line height adjustments
* Adjust SideBar display
* Adjust
* Adjust AddressMini display
* Adjust address column minimum
* align styling
* Adjust column sizing
* Adjust
* AccountName breaks
* Adjust tags label
2023-01-08 13:16:03 +02:00
Jaco
f889abb7af
Overall adjustment to font styling ( #8725 )
...
* Overall adjustment to font styling
* Additional
* AccountName
* Table header
* One less font override
* Remove commented code
* Adjust menu sizing
* Adjust tab menu
* Adjust
* Adjust lightGreyColor
2023-01-08 12:53:43 +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
f288a265a1
Add collapsible rows to democracy ( #8656 )
...
* Add collapsible rows to democracy
* Adjust padding
* shortHash
* Fix test text
* Move bounty links
* Fix contacts tests
2022-12-30 10:38:16 +02:00
Jaco
cd9f723e7d
Additional address cleanups ( #8628 )
...
* Additional address cleanups
* Align Address with Account
* Adjust failing
2022-12-25 16:41:10 +02:00
Jaco
21b511ddb1
Add hash to judgement call ( #8173 )
...
* Add hash to judgement call
* Use built-in toHex on hash output
* Adjust
2022-09-27 18:15:45 +03:00
Jaco
e3cf5e8d54
Bump deps ( #8090 )
...
* Bump deps
* Bump tools
* Adjust
* eslint disable
2022-09-03 11:10:07 +03:00
Jaco
057f6c10d5
Adjust all LinkExtrenal to icons ( #7513 )
2022-05-03 15:17:21 +03:00
Jaco
fdc4dc3501
Silence React test warnings ( #7429 )
2022-04-23 09:10:02 +03:00
Jaco
c77168960d
Bump deps ( #7393 )
...
* Bump deps
* Remove Rococo resets
* Additional bumps
* Bump concurrently
* Bump testcontainers
* Bump react-i18next
* React 18 (w/ SideBar test hack)
* react-markdown + rehype-raw
* Jest, 0, Jest ... get your ESM act together now.
* ... sprinkle awaits
2022-04-19 11:25:37 +03:00
Jaco
2f385280ea
Bump dev deps ( #7375 )
2022-04-14 14:47:13 +03:00
Gilles Barnier
7429414fb6
Add "Copy" icon to the User Sidebar ( #7235 )
...
* PR 7209 fixes
* Update packages/page-accounts/src/Sidebar/AddressSection.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-accounts/src/Sidebar/AddressSection.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-accounts/src/Sidebar/AddressSection.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-accounts/src/Sidebar/AddressSection.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* corrections on PR 7209
* corrections on PR 7209
* fixed based on Jegor s comments
* replaced donothing with NOOP function
Co-authored-by: Jaco <jacogr@gmail.com>
2022-04-04 11:05:13 +03:00
Greg Hill
5a1d71a344
don't crash transfer model if balances is not available ( #6787 )
...
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
2022-01-05 13:29:28 +02:00
Jaco
51835328db
2022 ( #6764 )
2022-01-01 09:30:15 +02:00
Jaco
e8abc149b0
Take isEditable flag into account for account edits ( #6397 )
2021-10-24 17:15:55 +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
MiZiet
42ef182879
Style identity and balance sections in sidebar ( #6096 )
...
* 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
* Revert mistaken commit
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-19 08:49:23 +02:00
Jaco
73e3a32aba
Support for v14 metadata ( #5927 )
...
* Support for v14 metadata
* sessionIds as map or array
* Cleanups
* Some storage page adjustments
* Arg mapping, no filterOrigin
* Use base64Encode in metadata
* Cleanups
* Storage cleanups
* Additional
* Use API types
* typo
* Storage historic compat
* Const input type
* Bumps
* Bumps
* Bumps
* Force salt to string
2021-09-18 08:18:51 +02:00
MiZiet
fe2414f689
Style upper part of sidebar ( #6115 )
...
* Style address section in sidebar
* Extract AddressSection component
2021-09-14 08:52:11 +02:00
MiZiet
e9a052dce9
Change width ( #6104 )
2021-09-10 15:32:02 +03: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
Ewa Kowalska
e7d77a1a26
Style flags ( #6003 )
...
* Style tags
* Improve styling
* Apply lint fixes
* Extract flag styles to Flag component
* Export Flag component from index file
* Add margins
* Remove unnecessary code
2021-08-28 10:47:23 +03:00
Ewa Kowalska
85bc648779
Replace sidebar text links with icons ( #5999 )
2021-08-24 17:06:21 +02:00
MiZiet
9ac3d6a095
Replace sui modal with a custom one ( #5914 )
...
* Remove SUI modal
* Update modal positioning
* Clean up imports
* Restore removed size
* Add tests for Modal component
* Add border radius to actions
* Disable global scroll
* Introduce ESC_KEYCODE const
* Arrange props
* Change components definitions
* Change styled components to functional
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-24 12:14:34 +03:00
MiZiet
dc60ca2e21
Set width to flags ( #5957 )
2021-08-17 15:40:26 +03:00
MiZiet
5c1f6729bc
Style tags ( #5893 )
...
* Style tags
* Style Input tags
* Change delete tag icon
* Update colors
* Style flags
* Apply review suggestions
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-08-14 09:10:21 +02:00
Jaco Greeff
2bf88c5860
Use theme via css vars ( #4789 )
...
* Extract global CSS vars (non-theme specific)
* Use theme via css vars
* All text colors
* Additional
* All vars (excluding name...)
* Additional
* linting
* css linting
* Update Card css
2021-03-10 11:04:14 +01:00
Jaco Greeff
1b43ffa046
Ensure useState doesn't re-init with function calls ( #4552 )
...
* Ensure useState doesn't re-init with function calls
* extra
* Additional
2021-02-01 14:17:14 +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
10ce7a40e8
font-weight: 400 -> theme.fontWeightNormal ( #4339 )
...
* font-weight: 400 -> theme.fontWeightNormal
* Less lazy, font-weight: 400 converted
2021-01-09 09:41:13 +01:00
Jaco Greeff
8dd7de5eff
0.74 ( #4315 )
2021-01-04 12:18:53 +01:00
Eddie Machado
c3f82657d6
not truncating the address ( #4311 )
...
I found it frustrating that I couldn't see the addres so I made sure it doesn't truncate and also increased the margins a bit
2021-01-04 11:19:04 +01:00
Jaco Greeff
6dbb188a1a
2021 ( #4310 )
2021-01-03 11:33:39 +01:00
Jaco Greeff
5830e5eab6
Pass explicit function through to TxButton tx prop ( #4251 )
...
* Pass explicit function through to TxButton tx prop
* Updates
* Claim adjust
* Allow null on tx
* Adjust
* Apply suggestions from code review
* Adjustments after merge
2020-12-24 10:01:42 +01:00
Jaco Greeff
b22f61347e
Remove unused TxModal components ( #4250 )
...
* Remove unused TxModal components
* Cleanups
2020-12-20 17:50:06 +01:00
Jaco Greeff
2e6cbe8f7c
Ensure bad judgement has the highest priority ( #4178 )
2020-12-08 21:36:54 +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
Jaco Greeff
a074e656c2
No click-through on not-known-good identities ( #4130 )
2020-12-01 15:33: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
f99dcb2b0a
Fonts from new.css ( #4071 )
...
* Fonts from new.css
* line-height 1
* h2 adjust
* rm Nunito
2020-11-25 21:42:31 +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
Albert
2215541cd9
Apply Nunito fonts globally ( #3882 )
...
* Add nunito fonts
* Apply Nunito fonts globally
* Remove Nunito fonts (600,800)
* Add fontFamily to themes
* Unify font-weight and font-family across app
* Fix linting
* Use Monospace font from theme where required
* Add font-family from theme to buttons
* Revert font-family change in Claim
* Provide enough vertical space for rendering of an account name with verified identity
* Use theme font in transfer and search inputs
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-11-04 14:35:49 +01:00