-
Notifications
You must be signed in to change notification settings - Fork 8
Feat/goodreserve widget #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Ryjen1
wants to merge
31
commits into
GoodDollar:copilot/build-goodreserve-widget
Choose a base branch
from
Ryjen1:feat/goodreserve-widget
base: copilot/build-goodreserve-widget
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0e6c5c1
fix(goodreserve-widget): align success screen and sizing with Figma
Ryjen1 078f35c
fix(goodreserve-widget): make the amount input editable on web
Ryjen1 3ce87bc
fix(goodreserve-widget): make swap math and execution safe
Ryjen1 f6e649b
refactor(goodreserve-widget): harden adapter state machine and chain …
Ryjen1 540f76f
fix(goodreserve-widget): apply amount input textAlign via DOM style
Ryjen1 4609f28
feat(goodreserve-widget): align layout and colors to the Figma reference
Ryjen1 81b3b49
fix(goodreserve-widget): correct success amount, explorer link, and q…
Ryjen1 624120c
fix(goodreserve-widget): harden adapter state, callbacks, and add sta…
Ryjen1 ffc2a65
fix(goodreserve-widget): resolve idle status, quote freshness, and er…
Ryjen1 7d405dc
refactor(goodreserve-widget): move styling onto the theming contract
Ryjen1 c92ecbc
fix(goodreserve-widget): finish theming migration and fix sub-theme c…
Ryjen1 cd05c0b
feat(goodreserve-widget): integrate the real GoodReserve SDK behind a…
Ryjen1 d62cbcc
fix(goodreserve-widget): correct price label, explorer URL, and themi…
Ryjen1 55e05a1
test(storybook): raise test-runner timeout to avoid cold-start flakes
Ryjen1 1fa9eaf
chore: update test screenshots from latest test execution
Ryjen1 599d8ee
chore(goodreserve-widget): link SDK seam to PR #35, align XDC, drop t…
Ryjen1 a8a4d9f
fix(storybook): restore quote-ready-xdc story export
Ryjen1 54c18dd
fix(goodreserve-widget): revert XDC explorer to xdcscan.com
Ryjen1 d546849
fix(goodreserve-widget): integrate real SDK, decompose view, fix tests
Ryjen1 4762bf7
fix(goodreserve-widget): source chain ids from SDK, use SDK chain val…
Ryjen1 75271b7
chore: update test screenshots
Ryjen1 7f6ad6f
Revert "chore: update test screenshots"
Ryjen1 1944654
feat: extract drawers, fix transaction success flow, add live wallet …
Ryjen1 f57c6af
fix adapter file to show success immediately when we get the hash
Ryjen1 3d70c37
fix: address review feedback - wait for receipt before success, gate …
Ryjen1 1b7a857
fix: update Drawer story test to search in document body for portal-r…
Ryjen1 bdb48b7
fix: update Drawer test to search in document body for portal content
Ryjen1 aa25ab1
fix: address review feedback - design tokens, hook decomposition, pre…
Ryjen1 31080a6
fix: refactor CTA button state using lookup table pattern
Ryjen1 6e5d208
fix: correct decimals fallback — G$=18 on all reserve chains, stable=…
Ryjen1 02db07c
fix: update E2E tests, align story selectors, and regenerate snapshots
Ryjen1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import type { TestRunnerConfig } from '@storybook/test-runner' | ||
|
|
||
| const config: TestRunnerConfig = { | ||
| setup() { | ||
| // Increase Jest timeout from the default 15000ms to 60000ms | ||
| // to prevent cold-start compilation timeouts in CI/test runner. | ||
| jest.setTimeout(60000) | ||
| }, | ||
| } | ||
|
|
||
| export default config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. misses injected provider demo, cannot be tested now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-68.2 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/amount-editing.png
Binary file not shown.
Binary file removed
BIN
-68.9 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/confirm-dialog.png
Binary file not shown.
Binary file removed
BIN
-68.3 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/idle-buy.png
Binary file not shown.
Binary file removed
BIN
-66 KB
...s/storybook/src/stories/goodreserve-widget/screenshots/insufficient-balance.png
Binary file not shown.
Binary file removed
BIN
-4.94 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/no-provider.png
Binary file not shown.
Binary file removed
BIN
-64.5 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/quote-error.png
Binary file not shown.
Binary file removed
BIN
-68.2 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/quote-loading.png
Binary file not shown.
Binary file removed
BIN
-69.3 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/quote-ready-buy.png
Binary file not shown.
Binary file removed
BIN
-69.5 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/quote-ready-sell.png
Binary file not shown.
Binary file removed
BIN
-67.2 KB
...les/storybook/src/stories/goodreserve-widget/screenshots/slippage-selection.png
Binary file not shown.
Binary file removed
BIN
-68.5 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/swap-error.png
Binary file not shown.
Binary file removed
BIN
-68.6 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/swap-pending.png
Binary file not shown.
Binary file removed
BIN
-67.7 KB
examples/storybook/src/stories/goodreserve-widget/screenshots/swap-success.png
Binary file not shown.
Binary file removed
BIN
-68.4 KB
...ples/storybook/src/stories/goodreserve-widget/screenshots/unsupported-chain.png
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.