Elmar
a170663564
Upgrade React Router Dom v6 ( #247 )
2022-04-11 18:10:36 +01:00
Joe Tsang
446f7b13d8
Additional tests in mobile resolution ( #225 )
...
* Additional tests in mobile resolution
* Update toggle variable name
2022-04-11 18:09:54 +01:00
Edd
5ec6759ca1
Merge pull request #237 from vegaprotocol/feat/232-collapse-block-with-no-txs
...
Feat / 232 collapse block with no txs
2022-04-11 13:44:34 +01:00
Dexter
9fcd79a1a3
resolve circular dependency
2022-04-11 10:04:21 +01:00
sam-keen
68761a270b
collapse block with no txs
2022-04-08 13:46:59 +01:00
Joe Tsang
5cd35704ff
Tests for next/previous block feature ( #209 )
2022-04-06 16:03:22 +01:00
Bartłomiej Głownia
6cbc701384
[ #168 ] Use static resources from static.vega.xyz ( #205 )
2022-04-06 11:36:36 +01:00
Sam Keen
f9d7b33d3b
frontend-monorepo-196 Remove whitespace at bottom of page ( #197 )
2022-04-04 10:17:29 +01:00
Sam Keen
1f14b4fbe1
Feat/48-mobile-experience ( #194 )
...
* Mobile nav
* Made the logo into a link to the home route
* Bit of padding on transaction table cells to avoid smooshing
2022-04-01 15:20:23 +01:00
Dexter
8284537273
lint warnings
2022-04-01 10:51:56 +01:00
Bartłomiej Głownia
6439fe79da
Merge pull request #170 from vegaprotocol/feature/168-alphaLyrae-font
...
[#168 ] Add static app to host AlphaLyrae font
2022-04-01 09:10:11 +02:00
Matthew Russell
15551b65e5
Feat/83 switching vega key ( #156 )
...
* add manage dialog to wallet lib, add it to trading app
* add test for wallet button
* add tests for manage dialog
* move tooltip to ui-toolkit, add copy with tooltip component for manage dialog
* add better labelling
* add tooltip story
* add story for copy-with-tooltip
* add tests for tooltip and copy-with-tooltip
* move useFakeTimers call to beforeAll
* adjust design of manage dialog
* fix linting issues
2022-03-31 10:16:30 -07:00
Joe Tsang
e5b2c360ce
Task/Env file for connecting to local capsule ( #179 )
2022-03-31 10:15:47 -07:00
Sam Keen
4a7729cbad
Task/181 Remove bottom app border ( #182 )
2022-03-31 10:06:19 -07:00
Sam Keen
706ed351b3
Task/184 Bottom margin for next/prev block links ( #186 )
2022-03-31 10:05:44 -07:00
sam-keen
b6df83ede8
Resolved merge conflicts with master, reduced warnings
2022-03-31 14:20:36 +01:00
Bartłomiej Głownia
ad9344dd15
[ #168 ] Add static app to host AlphaLyrae font
2022-03-31 09:11:29 +02:00
Matthew Russell
4899d1bce8
Task/Mark translations ( #174 )
...
* add dummy i18n translate function to market text that will need translation in future
* add i18n function to aria-labels
2022-03-30 18:08:25 -07:00
Dexter Edwards
83104cf1d6
Task/Remove env.local from block explorer( #169 )
2022-03-30 17:55:36 -07:00
sam-keen
80902e3c30
Added custom module for classes that aren't in Tailwind - allows us to use contextual alternates for Alpha Lyrae
2022-03-30 16:56:48 +01:00
Bartłomiej Głownia
7af0efa8d8
Enable @typescript-eslint/consistent-type-imports eslint rule
2022-03-30 13:05:41 +02:00
sam-keen
2857e8081e
Added 'Highlighted Link' component for shared styling for links in light and dark themes
2022-03-30 11:39:32 +01:00
sam-keen
ee66bea4f4
Added extra 'Table' component without tbody and used for transactions
2022-03-30 10:54:16 +01:00
sam-keen
74377a4697
Fixed classes for app alignment and bg colour
2022-03-30 10:54:15 +01:00
sam-keen
6c274e5375
New 'Truncated Link' component for shared styling
2022-03-30 10:54:14 +01:00
sam-keen
75017feada
Added some light theme styling
2022-03-30 10:54:13 +01:00
sam-keen
95e846d6af
Added theme switcher and tweaked header to accommodate
2022-03-30 10:54:13 +01:00
sam-keen
6b5fc8ebeb
Removed scss and converted to tailwind
2022-03-30 10:54:12 +01:00
Matthew Russell
fdfcc4e5db
delete global types from explorer app
2022-03-29 16:10:38 -07:00
Matthew Russell
edce1c7869
rename graphql dir to types
2022-03-29 16:03:27 -07:00
Matthew Russell
3f62c79f8d
colocate querys with libs
2022-03-29 15:52:51 -07:00
Sam Keen
7e3e098ae4
Feat/76 Use UI toolkit components for 'jump to block' ( #147 )
...
* frontend-monorepo-76 Use UI toolkit components for 'jump to block'
* frontend-monorepo-76 Use UI toolkit components for 'go to party'
* Added reusable component for 'jump to block' and 'go to party'
2022-03-29 19:08:33 +01:00
Dexter Edwards
e4578a198f
Chore/sentry ( #163 )
...
* begin adding sentry
* add sentry webpack config
* rename environment variable
* make sourcemaps work for sentry
* set environmenet based on vega environment
* rename envs
* remove throw error button
2022-03-29 18:29:29 +01:00
Dexter Edwards
c5788fa1cf
Feat/122 next previous buttons ( #131 )
...
* fix use fetch hook
* add next/previous buttons
* disable the button if the block is 1
* prevent slow fetches from overriding data
* move splash loader into UI toolkit
* remove splash loader
* remove splash
* remove pointless component
* add tests for blocks page
* fix jump to party
* merge updates
* address PR comments
2022-03-29 14:30:23 +01:00
Edd
859dc60133
Fix/typo in block explorer label ( #142 )
...
Transaction is usually `txn` not `tnx`.
- Update label
2022-03-28 08:28:09 -07:00
sam-keen
bf2ff8af53
Merge remote-tracking branch 'origin/master' into feat/75-link-like-button
2022-03-25 16:50:01 +00:00
Edd
23a3c8fdd3
Merge pull request #132 from vegaprotocol/feat/127-generalised-stats-page
...
frontend-monorepo-127 Generalize stats page to work for all environments
2022-03-25 11:43:35 +00:00
Edd
ab1d9680c0
Merge pull request #135 from vegaprotocol/feat/134-ids-using-mono-font
...
frontend-monorepo-134 Ensure displayed ids are using mono font
2022-03-25 11:30:38 +00:00
sam-keen
9b4a41be07
Merge remote-tracking branch 'origin/master' into feat/75-link-like-button
2022-03-25 11:12:01 +00:00
sam-keen
9d77ab15dc
frontend-monorepo-137 Remove top white border
2022-03-24 16:56:37 +00:00
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