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

TW-760: [epic] NFT update #934

Merged
merged 97 commits into from
Sep 7, 2023
Merged

TW-760: [epic] NFT update #934

merged 97 commits into from
Sep 7, 2023

Conversation

alex-tsx
Copy link
Collaborator

No description provided.

alex-tsx and others added 30 commits June 23, 2023 13:52
@alex-tsx alex-tsx temporarily deployed to development September 1, 2023 12:05 — with GitHub Actions Inactive
src/app/layouts/PageLayout.tsx Outdated Show resolved Hide resolved
tailwind.config.js Show resolved Hide resolved
src/app/pages/Collectibles/CollectiblePage/index.tsx Outdated Show resolved Hide resolved
src/app/store/collectibles/state.ts Show resolved Hide resolved
src/app/templates/AssetImage.tsx Outdated Show resolved Hide resolved
src/app/templates/OpenInExplorerChip/index.tsx Outdated Show resolved Hide resolved
@alex-tsx alex-tsx temporarily deployed to development September 3, 2023 23:40 — with GitHub Actions Inactive
@alex-tsx alex-tsx requested a review from keshan3262 September 3, 2023 23:40
keshan3262
keshan3262 previously approved these changes Sep 4, 2023
@alex-tsx alex-tsx temporarily deployed to development September 4, 2023 08:09 — with GitHub Actions Inactive
@alex-tsx alex-tsx requested a review from keshan3262 September 4, 2023 08:09
@@ -702,6 +702,9 @@
"send": {
"message": "Send"
},
"floorPrice": { "message": "Floor" },
Copy link
Contributor

Choose a reason for hiding this comment

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

Why inline?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Why not?

Copy link
Contributor

Choose a reason for hiding this comment

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

because it's out of style

src/app/atoms/Checkbox.tsx Outdated Show resolved Hide resolved
src/app/atoms/DropdownWrapper.tsx Show resolved Hide resolved
src/app/atoms/Model3DViewer.tsx Outdated Show resolved Hide resolved
src/app/atoms/Model3DViewer.tsx Show resolved Hide resolved
src/app/pages/Collectibles/CollectiblePage/index.tsx Outdated Show resolved Hide resolved
src/app/templates/SearchField.tsx Outdated Show resolved Hide resolved
titleI18nKey: TID;
}

export const TabsBar = React.forwardRef<HTMLDivElement, Props>(({ activeTabName, tabs, withOutline }, ref) => (
Copy link
Contributor

Choose a reason for hiding this comment

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

the same, I think it's a little bit confusing that 2 components based on one file

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Only the one (TabsBar) is exported.
In this 53-lines-of-code file :)

Copy link
Contributor

Choose a reason for hiding this comment

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

No matter how many exports have the file. when we write a lot of components and a lot of interfaces it makes the file too long and less understandable and readable, so I think we have to split them into small codes

src/lib/balances/index.ts Show resolved Hide resolved

if (target.lt(0.01)) return toLocalFixed(bn.toPrecision(2));

if (target.lt(10_000)) return toLocalFixed(bn, 2);
Copy link
Contributor

Choose a reason for hiding this comment

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

I heard that style of numbers like that 10_000 could lead to bugs in some cases

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, this format is forbidden in TempleWallet Mobile. Not here, though

Copy link
Contributor

Choose a reason for hiding this comment

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

So there are reasons for that..

@alex-tsx alex-tsx temporarily deployed to development September 4, 2023 13:16 — with GitHub Actions Inactive
Copy link

@vladvn1905 vladvn1905 left a comment

Choose a reason for hiding this comment

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

Chrome done

Copy link
Contributor

@IrynaKhyzhynska IrynaKhyzhynska left a comment

Choose a reason for hiding this comment

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

firefox done

@lourenc lourenc merged commit 927691f into development Sep 7, 2023
@IrynaKhyzhynska IrynaKhyzhynska temporarily deployed to development October 3, 2023 13:44 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants