sam-keen
6806aff6b6
frontend-monorepo-134 Ensure displayed ids are using mono font
2022-03-24 16:44:23 +00:00
sam-keen
e2a61d26ad
Proper way to get environment variables, and hoisted obtaining the env vars to the consumer of the stats manager
2022-03-24 14:58:24 +00:00
sam-keen
5d6147ec7e
frontend-monorepo-127 Generalize stats page to work for all environments
2022-03-24 12:04:01 +00:00
Sam Keen
05d53bbf4c
106 - migrate mainnet stats to monorepo ( #107 )
...
* Initial commit of generated mainnet-stats directory
* Migration partly complete
* Migration complete
* Vega logo now in ui toolkit
* Specified a port that stops conflicts with other e2e tests
* Extra config for swapping to port that stops conflicts with other e2e tests. Also file name case change
* Adding the Cypress project ID to allow recording
* fix test
* Mainnet stats manager moved into library
* Mainnet stats project now importing manager element from lib
* Block Explorer has mainnet stats on home route
* Styling tweak to stop mainnet stats tables trying to match heights
* Spacing alignment tweaks
* Changing header text and tests to align with other branches
* Correct header test for mainnet-stats app
* Correct h3 test for mainnet-stats app
* Fix linting issue
* fix casing issue for CI
* Corrected mistake in merge
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
2022-03-23 17:40:15 +00:00
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
sam-keen
bbdc1c6e08
Used link-like button in block explorer
2022-03-22 15:39:56 +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
sam-keen
e981b8c7fa
Moved to use syntax-highlighter instead of prism
2022-03-04 17:11:56 +00:00
sam-keen
346135c6d4
Added a couple of links to nav around more happily
2022-03-04 17:11:56 +00:00
sam-keen
c797a11ceb
Put pending under txs route
2022-03-04 17:11:56 +00:00
Sam Keen
65ffa8519c
Update apps/explorer/src/app/hooks/use-fetch.tsx
...
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-03-04 17:11:56 +00:00
Sam Keen
329098bf02
Update apps/explorer/src/app/hooks/use-fetch.tsx
...
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-03-04 17:11:56 +00:00
Sam Keen
4734131780
Update apps/explorer/src/app/components/txs/txs-per-block/index.tsx
...
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-03-04 17:11:56 +00:00
sam-keen
d3b81babb9
Added validator link to block id route
2022-03-04 17:11:56 +00:00
sam-keen
3f47eed917
Added Table presentational component for a little cleanup
2022-03-04 17:11:56 +00:00
sam-keen
1b6c42c031
Updated block id page to use project components
2022-03-04 17:11:56 +00:00
sam-keen
2ef05b3f35
Transactions route set up and a component to show the transactions per block
2022-03-04 17:11:56 +00:00
sam-keen
ac961b6058
Created a new route for pending transactions to live for now
2022-03-04 17:11:56 +00:00
sam-keen
4981b9fc4d
Test of running nx in yarn from pre-commit
2022-03-04 17:11:56 +00:00
sam-keen
f88661e422
Created unstyled block explorer blocks page, with new refresh method from useFetch, and a 'navigate to' component
2022-03-04 17:11:56 +00:00
sam-keen
e467344a4d
setup a basic transactions home component to work on
2022-03-04 17:11:56 +00:00
sam-keen
67dc1bfbf1
Created unstyled block explorer transaction and added Prism for code blocks being displayed
2022-03-04 17:11:56 +00:00
Dexter
8a9b74fd89
highlight governance proposals
2022-02-23 08:53:57 +00:00
Dexter
e26caef368
json for genesis, assets, new component for syntax highlighting
2022-02-23 08:53:57 +00:00
Dexter
04df5aeed6
render makets list with json fomratter
2022-02-23 08:53:57 +00:00
Dexter
444941e169
json blocks
2022-02-23 08:53:57 +00:00
Dexter
98426f94f8
fix blocks page
2022-02-23 08:53:57 +00:00
Dexter
61f9933214
uuid fix
2022-02-23 08:53:57 +00:00
Matthew Russell
bebc767c4c
add use of useRoutes with nested children rotues and outlets
2022-02-23 08:53:57 +00:00
Matthew Russell
c2aaed0b9a
rename case of app
2022-02-23 08:53:57 +00:00
Dexter
7d5ee75610
add apollo target nx script and run
2022-02-23 08:53:57 +00:00
Dexter
4bb61ad74c
generate guess types
2022-02-23 08:53:57 +00:00
Dexter
2014831650
add debounced search functionality
2022-02-23 08:53:57 +00:00
Dexter
89ba2ee6d4
use environement variables for config
2022-02-23 08:53:57 +00:00
Dexter
d35b8dc2a4
remove old explorer logic
2022-02-23 08:53:57 +00:00
Dexter
ecbb521191
make font work properly
2022-02-23 08:53:57 +00:00
Dexter
70879a3832
make precommit exectuable
2022-02-23 08:53:57 +00:00
Dexter
fb122a90b8
clean up
2022-02-23 08:53:57 +00:00
Dexter
816a3df352
reogranizing
2022-02-23 08:53:57 +00:00
Dexter
159cdb6023
migrate stuff into new NX
2022-02-23 08:53:57 +00:00