Commit Graph

30 Commits

Author SHA1 Message Date
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
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03: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
Krzysztof Jelski
ca8bbd1836
Reduce warnings in tests (#6132)
* Change i18next from wait to suspense (resolves console warning in app and in tests)

* Reduce error and warning output in fast tests
2021-09-16 15:08:53 +02:00
Jaco
a7fade8724
Jest config cleanup (#6053)
* Jest config cleanup

* auto-lint fixes
2021-09-01 21:38:45 +03:00
MiZiet
a4c431ce92
Allow keyboard navigation in create account modal (#5968)
* 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

* Allow keyboard navigation in create account  modal

* Change toggle to set(true) in open modal button onClick

* Restore slow tests

* Refactor tests

* Add empty lines

* Wrap setIsCreateOpen in useCallback

* Rename activeOnEnterKeyPress to activeOnEnter

* Extract mockStatusChange fn

* Hoist noop fn out of component

* Fix hook mock

Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-01 12:17:37 +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
Jaco Greeff
27cc785dbb
Modal cleanups (#4855)
* Modal cleanups

* Revert header
2021-03-19 12:56:29 +01:00
Jaco Greeff
a86bc3284a
Flatten modal columns (#4841)
* Flatten modal columns

* Additional

* Additional

* Additional

* Additional

* Additional

* Adjust tests

* No bids outside ending

* s/winners/bids/

* Adjust

* lease offsets
2021-03-14 14:36:49 +01:00
Jaco Greeff
0708d43840
Cleanup bids on new auction (#4840)
* Cleanup bids on new auction

* s/campaign/fund/
2021-03-13 20:37:30 +01: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
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
Jaco Greeff
964995ea1a
Adjust sui imports (non-cjs) (#4245) 2020-12-19 19:12:09 +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
59623f419b
(Very) experimental dark theme (only localhost) (#3731)
* (Very) experimental dark theme (only localhost)

* Listener for theme changes

* ThemeProps

* Use actual theme with colors

* Page background

* Adjust with theme.bgPage

* Table adjustments

* Some progress (menu & inputs)

* Adjustments in a number of places

* Progress colors

* Modals

* Some calandar stuff

* Toggle

* Updates

* Hack around dropdowns

* Popup menus

* Overlays

* Connecting overlays
2020-10-01 15:50:33 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
437af3d4d8
Set max modal column widths (#3294) 2020-07-30 16:21:54 +02:00
Jaco Greeff
f19eeccd02
Bump deps (#3273)
* Bump deps

* Rewrite yarn
2020-07-27 10:24:35 +02:00
Jaco Greeff
f1277c3ede
Society generator (#3141)
* Society generator

* Modal popup

* Log accountId & hex

* Spacing

* Reduce for addressToBits
2020-07-08 08:51:34 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43: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
fdd8374646
Small modal columns adjustment (#2659)
* Small modal columns adjustment

* Remove Button.Or

* Modal shadow
2020-04-29 23:32:39 +02:00
Jaco Greeff
038d459e89
Modal column boxing (#2651) 2020-04-28 21:28:33 +02:00
Jaco Greeff
9e8709e4eb
Justify modal columns (#2650) 2020-04-28 17:11:31 +02:00
Jaco Greeff
b6f90bf4e4
Columar modals (currently starting in staking) (#2649) 2020-04-28 16:37:59 +02:00