Commit Graph

83 Commits

Author SHA1 Message Date
Dexter Edwards
d3f5410747
allow nav text to be different to route name (#118)
* allow nav text to be different to route name

* capitalize

* fix failing test due to casing
2022-03-23 15:02:53 +00:00
Dexter Edwards
ae37f76b1c
Search implementation (#97)
* make titles look prettier

* link to parties from transactions table

* render what data is found conditionally

* more syntax highlighting

* re-jig file orders

* remove footer component for now

* add subheading component

* adjust column layout

* Style up header

* enable ligatures

* change env files

* fix error if data is null

* show governance header even if there is no data

* remove dead css

* add dark theme for block explorer

* use memo on parties submit

* remove some css from header

* basic search implementation

* allow passing classNames to form group

* add tests for form group

* add form-grpup stories

* bad rebase fixes

* add link

* tidy up tests

* fix tests

* tidy up env files

* final test fixes

* switch order of classes

* fix test id

* force build for testing

* rename file for linting

* add tests for header component

* rename export

* input error tests

* use descriptive function names as per PR comment

* fix casing issue for CI

* handle empty state

* make query easier to understand
2022-03-23 09:57:51 +00:00
Joe Tsang
34959075c2
Test/block page (#91)
* Added block page and validator test

* Transaction details and network param test added

* Add test id for styling change

* Changed test id names
2022-03-21 13:01:51 +00:00
Sam Keen
af333c2abd
frontend-monorepo-43 Nav Styles (#99) 2022-03-18 20:53:42 +00:00
Sam Keen
514b30bebd
Merge branch 'master' into feat/40-tx-styling 2022-03-18 14:55:43 +00:00
Sam Keen
53ff8429e5
Update apps/explorer/src/app/components/seconds-ago/seconds-ago.spec.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-03-18 14:55:01 +00:00
Sam Keen
1cc95c861c
Update apps/explorer/src/app/components/seconds-ago/seconds-ago.spec.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-03-18 14:54:56 +00:00
Sam Keen
5c9571766a
Update apps/explorer/src/app/components/seconds-ago/index.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-03-18 14:54:46 +00:00
sam-keen
a160c54688 Tweak to 'tx-content' component as conditional rendering was no longer needed 2022-03-18 14:50:16 +00:00
sam-keen
edbf8244df Updated component tests to use best practices and improved syntax 2022-03-18 14:41:30 +00:00
Bartłomiej Głownia
3e69e53c4e #29 Add market-list-table 2022-03-18 13:13:14 +01:00
Dexter
504f088f00 fix jest config setup 2022-03-18 10:35:48 +00:00
sam-keen
0a28d5e111 Start of component unit tests 2022-03-18 10:27:27 +00:00
Dexter Edwards
7b4437f407
regenerate based on new API client (#86)
* regenerate based on new API client

* lint

* run projects on different ports
2022-03-17 09:09:48 +00:00
sam-keen
838e0b0f4d Removed unnecessary padding on tr 2022-03-16 15:45:38 +00:00
sam-keen
b61bf984b1 Styled tx:id 2022-03-16 15:35:30 +00:00
sam-keen
001848fc78 Used lozenge for txs 2022-03-16 14:58:16 +00:00
sam-keen
775b4a7de9 Added display strings for tx order type 2022-03-15 14:49:10 +00:00
sam-keen
171e27fd7b Merge remote-tracking branch 'origin/feat/41-blocks-styling' into feat/41-blocks-styling 2022-03-15 13:22:18 +00:00
sam-keen
8090221874 Final changes from PR:
* data-testid spread via props rather than custom prop
* more use of routes config rather than hard coded route names
* tweak to TS type for returning children prop without wrapper fragment
2022-03-15 13:21:39 +00:00
Sam Keen
a52f00cd8f
Update apps/explorer/src/app/routes/blocks/id/index.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-03-15 12:32:30 +00:00
sam-keen
477e3faa6e Added a component to render fetched data to include loading and error states. Added to all instances of useFetch 2022-03-15 11:32:15 +00:00
sam-keen
061388938c Loading and error states for blocks home route 2022-03-14 17:06:58 +00:00
sam-keen
47e078a502 Improved component structure 2022-03-14 15:38:08 +00:00
sam-keen
8f22cbc0c9 'jump to block' in same section tag as other route components 2022-03-14 09:31:10 +00:00
sam-keen
2d635808de Improvements from the PR 2022-03-10 15:57:48 +00:00
Sam Keen
d0b4f431c1
Update apps/explorer/src/app/components/txs/txs-per-block/index.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-03-10 12:45:45 +00:00
Sam Keen
c7d195c8d8
Update apps/explorer/src/app/components/jump-to-block/index.tsx
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-03-10 12:44:18 +00:00
Dexter
6961c7107c a bunch of different env 2022-03-10 12:05:41 +00:00
Dexter
20a06b6478 fix process error 2022-03-08 11:58:30 +00:00
Joe
82c426ded8 Merge branch 'master' into test/Cypress-BDD-integration 2022-03-08 10:28:41 +00:00
sam-keen
9739e4b467 Block id styling 2022-03-07 19:51:13 +00:00
Dexter
7652acc1a3 turn everything on for current development 2022-03-07 11:32:59 -08:00
Dexter
0ed1c2b1b7 flag out routes if not enabled 2022-03-07 11:32:59 -08:00
Dexter
86e91b1f12 add flags for config 2022-03-07 11:32:59 -08:00
Dexter
0c9dcfed31 add proposals terms change name on proposals page 2022-03-07 11:29:21 -08:00
Dexter
d75218afa6 add sentry 2022-03-07 11:28:08 -08:00
Joe
615562af54 Remaining tests added and passing 2022-03-07 17:18:15 +00:00
Joe
de80be7196 Rebase and test for txs page 2022-03-07 17:18:15 +00:00
Joe
ac58037ba3 Main pages created 2022-03-07 17:18:15 +00:00
Joe
aa0a88cb04 Base page and few more 2022-03-07 17:18:15 +00:00
Dexter
586b70f694 rename script 2022-03-07 15:44:50 +00:00
Dexter
02f803c2b5 add build:netlify script 2022-03-07 15:44:50 +00:00
sam-keen
f2f1083260 Block route styling and improved components 2022-03-07 14:31:26 +00:00
Dexter
c54fa5ab56 point BE at mainnet 2022-03-04 17:11:56 +00:00
Dexter
5d50771246 put back css, remove uneeded file 2022-03-04 17:11:56 +00:00
Dexter
032f2711c3 add basic tailwind setup 2022-03-04 17:11:56 +00:00
sam-keen
abe2ecaafc Added key to a non-shorthand react fragment 2022-03-04 17:11:56 +00:00
sam-keen
afeabc1ba2 Kebab cased component file names 2022-03-04 17:11:56 +00:00
sam-keen
defe970784 Removed prism theme 2022-03-04 17:11:56 +00:00