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
refactor(lld): nfts gallery medias in newArch #6784
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 5 Ignored Deployments
|
7159257
to
c107ebc
Compare
Could you use a Feature Flag to make this migration, please? As we did for the Market page on LLM we need to be able to roll back to the previous architecture without the need to do a new release. You can use the Router to display the correct page whether the FF is activated or not. Plus we need to avoid references to the newArch in the old one. |
import { useNftCollectionMetadata } from "@ledgerhq/live-nft-react"; | ||
import { Account, ProtoNFT } from "@ledgerhq/types-live"; | ||
import NFTCollectionContextMenu from "~/renderer/components/ContextMenu/NFTCollectionContextMenu"; | ||
import Skeleton from "~/renderer/components/Nft/Skeleton"; | ||
import { Skeleton } from "LLD/Collectibles/components"; |
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.
what's the difference between LLD
and ~
?
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.
LLD is the alias for ~/newArch/
@@ -0,0 +1,6 @@ | |||
export { default as Skeleton } from "./Skeleton"; |
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.
Why not just use named exports in the files themsevles ?
And do export { Skeleton } from "./Skeleton"
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.
Done β
c107ebc
to
fae6115
Compare
β¦o refactor/medias_nft_gallery
a22793a
to
b3d56f7
Compare
β Checklist
npx changeset
was attached.π Description
Refactor of nfts gallery medias inside newArch to prepare the integration of ordinals and improve readability
Change from class components to RFC.
Creation of the folder Collectibles where all collectibles will be centralised
Creation of a FF to hide the implementation of newArch
For the moment none of the components added in NewArch are in use
β Context
π§ Checklist for the PR Reviewers