-
Notifications
You must be signed in to change notification settings - Fork 373
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
[Dashboard] Remove ListItem (1) and fix some UI issues from the aspect-ratio PR #4846
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4846 +/- ##
=======================================
Coverage 47.88% 47.88%
=======================================
Files 1054 1054
Lines 57107 57107
Branches 3926 3926
=======================================
Hits 27347 27347
Misses 29072 29072
Partials 688 688
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
apps/dashboard/src/contract-ui/tabs/listings/components/list-form.tsx
Outdated
Show resolved
Hide resolved
apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-upload.tsx
Outdated
Show resolved
Hide resolved
e006a85
to
9c1d319
Compare
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.
The bullet icon is going outside the list container a little bit - Prefer using <UnorderedList />
or <OrderedList />
component ( defined in components/ui/List.tsx ) with <li />
instead
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.
just waiting for manan's feedback to be addressed
9c1d319
to
87a0c75
Compare
…t-ratio PR (#4846) ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on replacing `List` and `ListItem` components with `ul` and `li` elements across various files, enhancing semantic HTML usage. Additionally, it introduces a new layout for displaying NFT information in `CreateListingsForm`. ### Detailed summary - Deleted `list-label.tsx`. - Replaced `List` and `ListItem` with `ul` and `li` in `EarnReasonSection`, `ReadyPlayer3Landing`, `Hackathon`, `HackathonEarn`, `ContactUs`, `AirdropUploadERC20`, and `UploadStep`. - Updated `CreateListingsForm` to use a `Card` for NFT info display instead of `ListLabel`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
f946d23
to
cd10c8a
Compare
…t-ratio PR (#4846) ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on replacing instances of `List` and `ListItem` components with HTML `<ul>` and `<li>` elements across multiple files for consistency and simplicity in the codebase. ### Detailed summary - Removed `List` and `ListItem` components in favor of `<ul>` and `<li>` elements in various components. - Replaced `label` prop structure in `CreateListingsForm` to utilize a `Card` with an `<ul>` for NFT details. - Adjusted layout and styles in several components to accommodate the new list structure. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
cd10c8a
to
a94b665
Compare
…t-ratio PR (#4846) ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on replacing `List` and `ListItem` components with HTML `<ul>` and `<li>` elements across multiple files to improve semantic HTML structure and potentially enhance accessibility. ### Detailed summary - Removed `List` and `ListItem` components in favor of `<ul>` and `<li>` elements in various components. - Updated `label` in `CreateListingsForm` to use a `Card` with structured `<ul>` content. - Adjusted lists in `Hackathon`, `HackathonEarn`, and `ContactUs` pages to use `<ul>` and `<li>`. - Minor styling adjustments for improved layout and alignment. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
a94b665
to
d7d269f
Compare
…t-ratio PR (#4846) Short description of the bug fixed or feature added <!-- start pr-codex --> --- This PR focuses on replacing `List` and `ListItem` components with HTML `<ul>` and `<li>` elements across multiple files to improve semantic HTML structure and potentially enhance accessibility. - Removed `List` and `ListItem` components in favor of `<ul>` and `<li>` elements in various components. - Updated `label` in `CreateListingsForm` to use a `Card` with structured `<ul>` content. - Adjusted lists in `Hackathon`, `HackathonEarn`, and `ContactUs` pages to use `<ul>` and `<li>`. - Minor styling adjustments for improved layout and alignment. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
d7d269f
to
5fc07f7
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on updating various components to replace
List
andListItem
from@chakra-ui/react
with standard HTML<ul>
and<li>
elements for better semantic HTML structure. It also includes the removal of theListLabel
component in favor of a more detailed inline structure for labels.Detailed summary
list-label.tsx
component.List
andListItem
with<ul>
and<li>
inEarnReasonSection
,ReadyPlayer3Landing
,Hackathon
,HackathonEarn
,AirdropUploadERC20
, andAirdropUpload
components.CreateListingsForm
to render NFT details directly within aCard
.ContactUs
component to use<Flex>
for layout instead ofList
.List
andListItem
imports from various components to clean up unused code.