1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

159 Commits

Author SHA1 Message Date
ClaudiaHolhos
a23dcc5d56 stories fixes 2022-06-23 15:03:24 +03:00
Enzo Vezzaro
213454bc81 fix CI (updated main) 2022-06-22 10:20:30 -04:00
EnzoVezzaro
f460ba7e9d
Merge branch 'main' into feature/1400-shared-components-stories 2022-06-22 10:10:48 -04:00
ClaudiaHolhos
7a7e493f6e fixes 2022-06-22 16:41:16 +03:00
Enzo Vezzaro
be44ee4f2b clean up 2022-06-22 09:37:32 -04:00
Jamie Hewitt
f20a6a5a48
Opening blog post link in new tab (#1526)
* Opening link in new tab

* Adding styling to link

* Updating button font size
2022-06-20 17:46:13 +03:00
ClaudiaHolhos
aaf3c2b8ae price components fixes 2022-06-20 16:41:56 +03:00
ClaudiaHolhos
af31b25ef2 remove locale, currency and prices as props, use providers for stories 2022-06-20 16:36:55 +03:00
Enzo Vezzaro
b0e57c66df added token and refactor TokenApprove (es ButtonApprove) 2022-06-20 07:22:29 -04:00
ClaudiaHolhos
37d1c0cf82 changes reverted for token and asset list components 2022-06-17 14:53:55 +03:00
ClaudiaHolhos
8f2b5839de more changes reverted 2022-06-17 13:06:18 +03:00
ClaudiaHolhos
87c7d239ad revert prices, locale and currency changes for price components 2022-06-17 12:37:54 +03:00
ClaudiaHolhos
5231f43648 debug output stories, main merged 2022-06-16 17:30:32 +03:00
mihaisc
33edc3f5f4
Update file (#1518)
* update version and file

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* update label and description

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove dot

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* remove helper props so we don't add them on chain

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* bump ocean.js to v1.1.2

* build fix

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-06-16 11:10:08 +01:00
ClaudiaHolhos
e71695fed5 Merge remote-tracking branch 'origin/main' into feature/1400-shared-components-stories 2022-06-16 12:38:23 +03:00
d523c7f0f3
Retry failed transactions during publish (#1511)
* allow multiple runs of handleSubmit

* collect what we need in local state for reuse after method has run
* run each step conditionally

* split up handleSubmit

* switch submit button text

* empty values.feedback fix

* error copy

* tiny logic fix for consistency

* code comments

* submit button fixes

* add loader during submission
* add new white loader style
* button style override fixes
2022-06-15 12:35:37 +01:00
Enzo Vezzaro
b42f44dda0 added stories for Token and SuccessConfetti 2022-06-10 07:08:50 -04:00
ClaudiaHolhos
dfa3c5d6cc page stories 2022-06-10 12:23:20 +03:00
Enzo Vezzaro
ed9177d1d9 added mocked form to datatoken (WIP) 2022-06-09 12:29:20 -04:00
ClaudiaHolhos
e206cd7f70 markdown and network name stories 2022-06-09 17:37:08 +03:00
ClaudiaHolhos
faf87d65a0 story fix 2022-06-08 17:41:13 +03:00
ClaudiaHolhos
186cf92908 Merge remote-tracking branch 'origin/feature/1400-shared-components-stories' into feature/1400-shared-components-stories 2022-06-08 16:18:46 +03:00
ClaudiaHolhos
8fc7a19a55 currency, prices props fixes 2022-06-08 16:18:37 +03:00
EnzoVezzaro
d3ddc0e73e
Merge branch 'main' into feature/1400-shared-components-stories 2022-06-08 09:08:11 -04:00
Enzo Vezzaro
fa6534a4bb adding missing args 2022-06-08 08:41:42 -04:00
mihaisc
f901355e98
fix profile (#1499)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-08 14:32:13 +02:00
mihaisc
6dfeead4fd
Release (#1492)
* update contracts

* add version selector

* show banner on all pages

* show banner on all pages

* Announcement/warning messages cleanup

* new main announcement message
* contextual compute-to-data warnings in publish form & asset action

* copy update

* change hardcoded URLs

* change localStorage key

* to prevent user preferences clashes when switching between v3 & v4

* footer stats note changes

* move copy into content file
* mention external markets

* footer stats note copy changes

* modified pool widget footer

* take out pool reserve display
* style & spacing updates for fees

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-06-08 11:46:46 +03:00
mihaisc
857409d5ad
remove display of dt in setup (#1488)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-07 11:54:10 +03:00
ClaudiaHolhos
3a3feda675 some more fixes regarding currency and prices use 2022-06-06 14:25:17 +03:00
ClaudiaHolhos
2c1df58efc Merge remote-tracking branch 'origin/feature/1400-shared-components-stories' into feature/1400-shared-components-stories 2022-06-06 12:35:11 +03:00
ClaudiaHolhos
64299b9eeb use prices and currency with hooks 2022-06-06 12:34:47 +03:00
Enzo Vezzaro
0e8e763649 change dummy address 2022-06-03 09:43:29 -04:00
ClaudiaHolhos
6cbdb0d722 use locale value as Conversion prop 2022-06-03 16:29:36 +03:00
Enzo Vezzaro
20546dea3a clear testing-library/no-unnecessary-act console.error eslint 2022-06-03 06:33:09 -04:00
Enzo Vezzaro
e6b03408be fix locale path 2022-06-02 11:12:02 -04:00
Enzo Vezzaro
a06cc83061 added interface and get locale from mock data 2022-06-02 10:48:44 -04:00
Enzo Vezzaro
fd0f32b5b4 added assetTeaser, assetList, assetComputeList, as well as some mock data for storybook 2022-06-02 10:32:50 -04:00
ClaudiaHolhos
91733a1224 Asset and Box selection, Datatoken and Price stories 2022-06-02 16:44:52 +03:00
Jamie Hewitt
ea897c8e7a
Fix edit form validation (#1371)
* Fixing logic for showing error messages

* Removing unused code

* Refactoring

* fixing sample file validation

* Removing console logs

* Minor formatting
2022-05-31 11:18:10 +01:00
ClaudiaHolhos
3e8c6f40a9 fixes 2022-05-31 11:48:42 +03:00
Enzo Vezzaro
caf3ed26c6 added AnnouncementBanner story 2022-05-30 11:56:34 -04:00
ClaudiaHolhos
ed4ba03e1f networkId fix, FileIcon stories added 2022-05-30 17:26:00 +03:00
Enzo Vezzaro
166709e314 fix Addtoken parameter 2022-05-30 10:08:19 -04:00
ClaudiaHolhos
ec84d6f69a AssetType, ButtonBuy and ExplorerLink stories 2022-05-30 16:59:26 +03:00
Enzo Vezzaro
f4fc47c6d0 added AddToken story (needs improvements) 2022-05-30 09:44:23 -04:00
Enzo Vezzaro
dde191630d added AccountTeaser and AccountList stories 2022-05-30 08:20:43 -04:00
claudiaHash
6d2dea8c9d
Atomic components stories (#1422) 2022-05-23 12:29:37 +01:00
EnzoVezzaro
593039f894
Fix svgr in storybook & jest (#1428)
* fix svg loader

* added Logo component to be able to test storybook

* added svg mock for svgr as suggested (still not working)

* package cleanup

* make svg moduleNameMapper match first

* cleanup

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-05-16 17:11:43 +01:00
5f3ee32ca2
Test setup tweaks (#1415)
* unused package cleanup

* make storybook use webpack 5

* see https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack-5

* bump react, cleanup

* button story tweaks

* add Alert stories

* bump Jest to v28.1.0

* try original storyshots initialization

* split up build & test CI jobs

* stop testing Node.js v14

* set jest coverage flag

* downgrade paambaati/codeclimate-action again

* move  jest config files, remove coverageReporter override

* collect coverage from `src/` only

* another paambaati/codeclimate-action bump test

* create additional button markup test

* downgrade paambaati/codeclimate-action again

* more downgrade

* render default button without optional style prop

* ignore some folders for Jest

* full coverage for Alert

* more package updates

* add eslint-plugin-testing-library & eslint-plugin-jest-dom

* bump ESLint packages, follow new rules

* start storybook in quiet mode

* update docs

* test storybook build as part of CI

* more testing docs clarification

* add jest:watch command

* add body background colors switch in toolbar

* TypeScript voodoo

* test codeclimate-action@v2.7.3 for default coverageCommand

* downgrade codeclimate-action and running in debug mode

* make coverage artifacts OS agnostic

* subgraph typings as artifact for coverage job

* disable coverage sending job for now

Co-authored-by: Enzo Vezzaro <enzo-vezzaro@live.it>
2022-05-12 11:35:07 +01:00
EnzoVezzaro
89f2521025
Storybook and unit testing setup (#1354)
* install and config Storybook

* create basic component for initial setup

* added testing-library / jest for testing

* restore coverage for testing

* downgrade codeclimate-actions to fix viable formatter issue

* clean up - remove unnecessary components in stories

* update readme with storybook and testing

* remove unnecessary file extensions on stories config

* remove babel and moved jest-dom to devDependencies

* delete introduction stories

* change test to .tsx

* change testing description on docs

* added interface to button story

* added build phase and update test phase

* restore build in ci

* added storyshots (automate testing) to Storybook

* simplify and update codeclimate-action

* restore workable version of codeclimate-action

* test unified test action for CI

* Revert "test unified test action for CI"

This reverts commit 039cbf3485a98eb4e908aa4168ba48c593034910.

* test documented solutions for CI

* fix error on coverage CI

* added codeCoverage on jest setup

* upload coverage report from jest

* added download artifact to coverage CI

* added upload artifact to coverage CI

* remove collectCoverageFrom

* moved test step on CI

* remove coverageLocations to allow default

* load Ocean typography into storybook

* skip all PRs coming from dependabot

* improve docs (Storybook)

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-05-09 14:33:44 +01:00