-
Notifications
You must be signed in to change notification settings - Fork 5.5k
feat: Perps Tab View - static #39199
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
b1ee90a
chore: setup perps codeownership
gambinish 0e97686
chore: Fix formatting
gambinish 10c07d9
fix: whitespace diff
gambinish dfa3f85
fix: jsdoc must have whitespace after description
gambinish cd506ea
chore: update docs to be extension specific
gambinish b6908b0
chore: add docs path
gambinish 159e977
Merge branch 'perps/codeowners' into perps/docs
gambinish bf8645e
feat: init perpsEnabled feature flag
gambinish 2e61495
chore: Perps tab should appear after Tokens tab
gambinish d3be22c
fix: lint
gambinish 08216b2
chore: Add perps mock data
gambinish 868037e
Merge branch 'perps/feature-flag' into perps/mocks
gambinish 10b21f2
chore: Create mocked PerpsTab components
gambinish 11b48f4
feat: Add Asset logo
gambinish f0f556c
feat: Add mocked control bar component
gambinish 6c4b806
chore: Add cta components to perps tab
gambinish 0ce272c
chore: Merge main, address conflicts
gambinish cf81e24
chore: Remove docs
gambinish 61974dd
refactor: We should use Box and Text instead of div and span
gambinish 7d98570
refactor: PerpsTabControlBar to use component library design system
gambinish e880324
chore: Update deprecated code in favor of latest design system patterns
gambinish 0f02a52
chore: consolidate utils and constants
gambinish 04fc26c
fix: lint
gambinish 19a93ba
Merge branch 'main' into perps/mocks
gambinish 29e5058
chore: Padding tweak
gambinish 7a05479
Merge branch 'perps/mocks' of github.com:MetaMask/metamask-extension …
gambinish c3d20e2
fix: misaligned start trade cta
gambinish 94f9dcf
fix: bugbot
gambinish 632a2ed
fix: Localization tweak
gambinish 7abcd5b
fix: no console.log in production code
gambinish 190c3ab
chore: Add unit tests
gambinish 4921275
fix: Lint
gambinish e08bd44
refactor: scss to tailwind styles
gambinish 5737a56
chore: Update unit tests
gambinish 1d41b05
chore: Code review, update missing i18n strings, string sanitization
gambinish c56a94b
chore: use existing useFormatters hook for number formatting consistency
gambinish 488d672
fix: lint
gambinish 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
fix: Lint
- Loading branch information
commit 4921275cebf3d0b51cd53c814827d8e9e197a147
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -132,4 +132,3 @@ describe('OrderCard', () => { | |
| expect(screen.getByTestId('perps-token-logo-SOL')).toBeInTheDocument(); | ||
| }); | ||
| }); | ||
|
|
||
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 |
|---|---|---|
|
|
@@ -137,4 +137,3 @@ describe('PerpsTabView', () => { | |
| }); | ||
| }); | ||
| }); | ||
|
|
||
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 |
|---|---|---|
|
|
@@ -142,4 +142,3 @@ describe('PositionCard', () => { | |
| expect(screen.getByText('+$0.00')).toBeInTheDocument(); | ||
| }); | ||
| }); | ||
|
|
||
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 |
|---|---|---|
|
|
@@ -69,4 +69,3 @@ describe('StartTradeCta', () => { | |
| expect(onPress).toHaveBeenCalledTimes(3); | ||
| }); | ||
| }); | ||
|
|
||
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 |
|---|---|---|
|
|
@@ -176,4 +176,3 @@ describe('Perps Utils', () => { | |
| }); | ||
| }); | ||
| }); | ||
|
|
||
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.
Uh oh!
There was an error while loading. Please reload this page.