Commit Graph

359 Commits

Author SHA1 Message Date
Bartłomiej Głownia
8424dc718d
[#128] Use native ag-grid sort instead on useMemo (#178)
* [#128] Use native ag-grid sort instead on useMemo

* [#128] Add secondary sort on positions table - order by instrument name, market id
2022-03-31 09:14:16 -07:00
Sam Keen
ed6c22d7d0
Merge pull request #167 from vegaprotocol/feat/160-explorer-theme-switcher
Feat/160 explorer theme switcher
2022-03-31 14:57:03 +01:00
sam-keen
b6df83ede8 Resolved merge conflicts with master, reduced warnings 2022-03-31 14:20:36 +01: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
fdf76aa88b
Merge pull request #165 from vegaprotocol/task/164-colocate-queries
Task/164 colocate queries
2022-03-30 14:36:27 +02: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
4f15851103 update order-list lib so it behaves the same as positions and requires a partyId 2022-03-29 17:19:41 -07:00
Matthew Russell
858bd372d2 prevent positions table if not party id provided, handle no data in async renderer 2022-03-29 17:01:34 -07:00
Matthew Russell
3394050f76 update types in submit button to use global types 2022-03-29 16:21:57 -07:00
Matthew Russell
d3d28947ea tidy up deal ticket query and market page query 2022-03-29 16:19:23 -07: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
Bartłomiej Głownia
65bb99ea72
Merge pull request #157 from vegaprotocol/feature/128-positions-table
Feature/128 positions table
2022-03-29 19:41:19 +02:00
Bartłomiej Głownia
9c42f54331 [#128] Fix type issues 2022-03-29 19:31:00 +02: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
Bartłomiej Głownia
444f1b6584 [#128] Capitalize types in position queries 2022-03-29 19:13:01 +02:00
Bartłomiej Głownia
fe29e86c74 [#128] Add market data details to positions query 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
043c733185 [#108] Add more positions-table unit tests 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
a68bce9ed1 [#108] replace assign-deep with loadash/merge 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
7e74615bf6 [#128] fix MarketData cache issue, add default cachePolicy to data provider 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
7ba74eeafd [#128] generic data provider improvments 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
6e6a79d8e3 Wrap Web3Container with act 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
e3a1142579 [#128] Add variales handling in data provider 2022-03-29 19:13:00 +02:00
Bartłomiej Głownia
aec5d54820 [#128] add <Positions/> component to trade-grid, add useDataProvider hook 2022-03-29 19:12:45 +02:00
Bartłomiej Głownia
7f1632d44d [#128] add <PositionsTable/> component 2022-03-29 18:57:13 +02:00
Bartłomiej Głownia
936ed3f9e7 [#128] Add positions data provider 2022-03-29 18:57:13 +02:00
Bartłomiej Głownia
95f66ccd9b [#128] Make market data provider generic 2022-03-29 18:57:10 +02:00
Bartłomiej Głownia
30c990bb3e #128 Add positions library 2022-03-29 18:55:41 +02: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
Sam Keen
47e703c558
Merge pull request #149 from vegaprotocol/feat/113-stats-use-theme-switch-hook-and-ui
Feat/113 stats use theme switch hook and UI
2022-03-29 12:49:05 +01:00
Matthew Russell
d4652b3dd8
Task/Strict mode enabled for trading app (#150)
* enable strict mode and fix resulting type errors

* fix print affected command

* remove assign-deep and use lodash/merge, fix some type errors after enabling strict mode
2022-03-28 12:34:45 -07: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
Bartłomiej Głownia
73e778de34
Merge pull request #114 from vegaprotocol/feature/29-market-list-table-improvments
Feature/29 market list table improvments
2022-03-28 09:20:57 +02:00
Sam Keen
c850d94185
Merge pull request #117 from vegaprotocol/feat/75-link-like-button
UI toolkit - create a 'link-like' button and use in block explorer
2022-03-25 17:04:00 +00:00
sam-keen
bf2ff8af53 Merge remote-tracking branch 'origin/master' into feat/75-link-like-button 2022-03-25 16:50:01 +00:00
sam-keen
1d2db41e92 Added new shared theme switcher into stats project 2022-03-25 16:47:28 +00:00
sam-keen
e308a923c2 Moved the theme switcher hook into a shared lib 2022-03-25 16:45:12 +00:00
Matthew Russell
c247d0ba6d
Fix/Typos in Infura env var 2022-03-25 08:54:31 -07:00
Bartłomiej Głownia
ddb0681fb5
Merge branch 'master' into feature/29-market-list-table-improvments 2022-03-25 15:31:49 +01:00