Skip to content
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

Implement new main page #462

Merged
merged 36 commits into from
Aug 17, 2023
Merged

Implement new main page #462

merged 36 commits into from
Aug 17, 2023

Conversation

torztomasz
Copy link
Contributor

@torztomasz torztomasz commented Aug 11, 2023

Resolves L2B-1975

@torztomasz torztomasz marked this pull request as draft August 11, 2023 12:49
@torztomasz torztomasz marked this pull request as ready for review August 16, 2023 20:05
entryShortNamePlural: 'transactions',
entryLongNamePlural: 'forced transactions',
path: '/forced-transactions',
}

export const OFFER_TABLE_PROPS = {
title: 'Available forced trade offers',
title: 'Available offers',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming offers "forced trade offers" was something specifically requested by SW long ago. I'd only make this change if they approved it this way.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They've accepted it 👍

}

export function PerpetualL2TransactionsTable(
props: PerpetualL2TransactionsTableProps
) {
const columns: Column[] = [
{ header: 'Age' },
{ header: `ID` },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could have an eslint rule for no unnecessary backticks? Not sure if a rule like this exists

@@ -0,0 +1,26 @@
import React from 'react'

export function BreakpointIndicator() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is the best place to put this component

@@ -59,6 +57,7 @@
"postcss": "^8.4.14",
"prettier": "^2.8.4",
"prettier-plugin-tailwindcss": "^0.2.2",
"tailwindcss": "^3.0.24"
"@tailwindcss/container-queries": "^0.1.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really cool that this is so widely supported https://caniuse.com/css-container-queries. Didn't even know this existed!

@torztomasz torztomasz added this pull request to the merge queue Aug 17, 2023
Merged via the queue into master with commit eee09d1 Aug 17, 2023
4 checks passed
@torztomasz torztomasz deleted the implement-new-main-page branch August 17, 2023 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants