sam-keen
775b4a7de9
Added display strings for tx order type
2022-03-15 14:49:10 +00:00
Sam Keen
c2e4f1d007
Merge pull request #58 from vegaprotocol/feat/41-blocks-styling
...
Feat/41 blocks styling
2022-03-15 13:27:13 +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
Bartłomiej Głownia
8a829964be
Feature/38 data grid component ( #77 )
...
* Add ag-grid
* Add lazy loaded ag-grid component
* Add theme context, move VegaWallet to separate lib
* Fix trading app cypress configuration
* Lazy load ag-grid theme css files
* Encapsulate theme switch hook
2022-03-14 14:18:11 +01:00
sam-keen
8f22cbc0c9
'jump to block' in same section tag as other route components
2022-03-14 09:31:10 +00:00
Matthew Russell
deb4570ebe
fix dark theme for trading grid
2022-03-10 21:19:44 -08:00
Matthew Russell
634075e015
remove unused hook from index page
2022-03-10 21:09:34 -08:00
Matthew Russell
dbe9e9504f
fix navbar styles
2022-03-10 21:03:02 -08:00
Matthew Russell
141ef8224b
tidy up _app move logic to hooks and add component files for vega connect button and app loader
2022-03-10 20:51:05 -08:00
Matthew Russell
a47e4526bb
fix vega connect button alignment
2022-03-10 20:51:05 -08:00
Matthew Russell
1859fef75c
fix invalid syntax
2022-03-10 20:51:05 -08:00
Matthew Russell
fdc5e68158
tidy up storage keys in wallet provider
2022-03-10 20:51:05 -08:00
Matthew Russell
847d51e060
use components from ui-toolkit, add form-group, adjust input widths
2022-03-10 20:51:05 -08:00
Matthew Russell
9bffb15c2a
use compoments from ui-toolkit, minor style changes
2022-03-10 20:51:05 -08:00
Matthew Russell
77214d5427
further styling
2022-03-10 20:51:05 -08:00
Matthew Russell
0b3bf269b6
tidy styles and tailwind config
2022-03-10 20:51:05 -08:00
Matthew Russell
473f74adca
fix styles after rebase
2022-03-10 20:51:05 -08:00
Matthew Russell
d1f44589cc
add nav item for home and use pubkey on portfolio page
2022-03-10 20:51:05 -08:00
Matthew Russell
3f9f97b1fa
fix navbar and default select value
2022-03-10 20:51:05 -08:00
Matthew Russell
ac4f833360
make manager component not take children
2022-03-10 20:51:05 -08:00
Matthew Russell
e92e708cf1
add vega wallet manager component and re add current single pubkey to provider state
2022-03-10 20:51:05 -08:00
Matthew Russell
84af6177ad
update eager connect hook and make app concerned with selected pubkey, refactor token to be stored as object
2022-03-10 20:51:05 -08:00
Matthew Russell
195fff27ab
remove react helper/ui-toolkit demo components
2022-03-10 20:51:05 -08:00
Matthew Russell
bb485d5783
add useEagerConnect hook
2022-03-10 20:51:05 -08:00
Matthew Russell
59d0beebe2
add current key selector, fix revoke token/disconnect
2022-03-10 20:51:05 -08:00
Matthew Russell
fba3101753
refactor so that consuming app chooses to render modal and what connectors to use
2022-03-10 20:51:05 -08:00
Matthew Russell
ff24a4a3ba
add dialog to ui-toolkit, add functionality to provider to render connect dialog and connectors ui
2022-03-10 20:51:05 -08: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
Joe
1fa63d2260
Remove Cypress action
2022-03-10 12:05:41 +00:00
Dexter
6961c7107c
a bunch of different env
2022-03-10 12:05:41 +00:00
Dexter
cbef551312
fix environement config
2022-03-10 12:05:41 +00:00
Bartłomiej Głownia
da37ecf72d
Improve market page and tabs look and feel
2022-03-09 16:09:17 -08:00
Bartłomiej Głownia
ebbd50edf3
Setup dark and light theme in trading app
2022-03-09 16:09:17 -08:00
Bartłomiej Głownia
e8a795461d
Add theme switcher component
2022-03-09 16:09:17 -08:00
Bartłomiej Głownia
5cf4cafe22
Merge pull request #61 from vegaprotocol/feature/base-level-components
...
Feature/base level components
2022-03-08 17:56:16 +01:00
Bartłomiej Głownia
9429f33730
Add filename-case eslint rule
2022-03-08 15:51:18 +01: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
Matthew Russell
351cd77f84
move trading views to react helpers
2022-03-02 12:21:35 -08:00
Matthew Russell
eed2f08bc9
use already installed lodash.debounce, destructuring
2022-03-02 12:21:35 -08:00
Matthew Russell
026dd0f2c3
move View type to trading-compoments, tidy comments
2022-03-02 12:21:35 -08:00
Matthew Russell
da80f8848c
fix render loop
2022-03-02 12:21:35 -08:00
Matthew Russell
a66ac23122
use radix for tab functionality
2022-03-02 12:21:35 -08:00
Matthew Russell
ed095d002d
split out components into seprate files
2022-03-02 12:21:35 -08:00
Matthew Russell
82cdd245c3
use first tab as default, use state for tabs and an effect to update
2022-03-02 12:21:35 -08:00
Matthew Russell
5c0d21578f
use page query container for market list page, add styles to center loading and error message
2022-03-02 12:21:35 -08:00
Matthew Russell
72db4029ea
add page query container component
2022-03-02 12:21:35 -08:00
Matthew Russell
ca4bbbac85
adjust text size for desktop view
2022-03-02 12:21:35 -08:00
Matthew Russell
ed185e3bea
add vega icon
2022-03-02 12:21:35 -08:00
Matthew Russell
1bb24bbaed
fix typo in market list links
2022-03-02 12:21:35 -08:00
Matthew Russell
375697a18a
use bg colors from theme
2022-03-02 12:21:35 -08:00
Matthew Russell
62187b38dd
add hook to get window size
2022-03-02 12:21:35 -08:00
Matthew Russell
99855e6d65
add basic mobile version
2022-03-02 12:21:35 -08:00
Matthew Russell
9324fb7613
adjust padding of tab buttons
2022-03-02 12:21:35 -08:00
Matthew Russell
623c75aebb
adjust grid, use market name
2022-03-02 12:21:35 -08:00
Matthew Russell
15c5a15a28
add aria labels for tabs
2022-03-02 12:21:35 -08:00
Matthew Russell
54bbe421bc
make tab content scrollable
2022-03-02 12:21:35 -08:00
Matthew Russell
261f033d9a
make tabs use url query string
2022-03-02 12:21:35 -08:00
Matthew Russell
e76f633493
tabs implementation for trading interface
2022-03-02 12:21:35 -08:00
Matthew Russell
a7256e04b3
skip query if market not defined
2022-03-02 12:21:35 -08:00
Matthew Russell
d1bf044d3d
add pages extends so generated query files are ignored by nextjs
2022-03-02 12:21:35 -08:00
Matthew Russell
63c1af9760
add apollo setup for trading app
2022-03-02 12:21:35 -08:00
Joe
6a8778becd
Fix for .env not picked up and Cypress update
2022-03-02 16:25:48 +00:00
jtsang586
b246a92233
BDD set up
2022-03-02 16:25:48 +00:00
Matthew Russell
6ee4a4da72
make navbar use tailwind, remove nx html
2022-02-23 18:08:31 -08:00
Bartłomiej Głownia
290f5c68ad
Extract tailwindcss config to libs
2022-02-23 16:29:07 -08:00
Bartłomiej Głownia
a9a780100a
Setup tailwind.css in apps/trading
2022-02-23 16:29:07 -08: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
Dexter
cf79f03876
npm nx-cra
2022-02-23 08:53:57 +00:00
Dexter
b41b97556f
add block explorer
2022-02-23 08:53:57 +00:00
Matthew Russell
726bcaf579
add navlink
2022-02-21 07:36:06 -08:00
Matthew Russell
8ea74311be
add basic navbar component
2022-02-21 07:36:06 -08:00
Matthew Russell
c312b00bb9
add markets and portfolio pages
2022-02-21 07:36:06 -08:00
Bartłomiej Głownia
8a09f57bd4
Fix build and lint errors
2022-02-14 17:16:21 +01:00
Bartłomiej Głownia
355de1a32f
Create a Mono-repo for DeFiUI + ui toolkit using nx
2022-02-11 15:02:11 +01:00