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

[Dashboard] Remove ListItem (1) and fix some UI issues from the aspect-ratio PR #4846

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

kien-ngo
Copy link
Contributor

@kien-ngo kien-ngo commented Sep 29, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on updating various components to replace List and ListItem from @chakra-ui/react with standard HTML <ul> and <li> elements for better semantic HTML structure. It also includes the removal of the ListLabel component in favor of a more detailed inline structure for labels.

Detailed summary

  • Deleted list-label.tsx component.
  • Replaced List and ListItem with <ul> and <li> in EarnReasonSection, ReadyPlayer3Landing, Hackathon, HackathonEarn, AirdropUploadERC20, and AirdropUpload components.
  • Updated CreateListingsForm to render NFT details directly within a Card.
  • Adjusted the ContactUs component to use <Flex> for layout instead of List.
  • Removed List and ListItem imports from various components to clean up unused code.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Sep 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 30, 2024 10:42pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Sep 30, 2024 10:42pm
thirdweb_playground ⬜️ Skipped (Inspect) Sep 30, 2024 10:42pm
wallet-ui ⬜️ Skipped (Inspect) Sep 30, 2024 10:42pm

@vercel vercel bot temporarily deployed to Preview – docs-v2 September 29, 2024 21:34 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 29, 2024 21:34 Inactive
Copy link

changeset-bot bot commented Sep 29, 2024

⚠️ No Changeset found

Latest commit: 5fc07f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel vercel bot temporarily deployed to Preview – wallet-ui September 29, 2024 21:34 Inactive
Copy link

graphite-app bot commented Sep 29, 2024

Your org has enabled the Graphite merge queue for merging into main

Add 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.

@kien-ngo kien-ngo marked this pull request as ready for review September 29, 2024 21:35
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Sep 29, 2024
Copy link
Contributor Author

kien-ngo commented Sep 29, 2024

Copy link

codecov bot commented Sep 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.88%. Comparing base (80729e9) to head (5fc07f7).
Report is 3 commits behind head on main.

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           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 80729e9
packages 43.69% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Copy link
Contributor

github-actions bot commented Sep 29, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.91 KB (0%) 839 ms (0%) 334 ms (+58.98% 🔺) 1.2 s
thirdweb (cjs) 101.54 KB (0%) 2.1 s (0%) 653 ms (+4.22% 🔺) 2.7 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 38 ms (+66.23% 🔺) 134 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 74 ms (+744.27% 🔺) 84 ms
thirdweb/react (minimal + tree-shaking) 16.76 KB (0%) 336 ms (0%) 167 ms (+152.4% 🔺) 502 ms

Copy link
Member

@MananTank MananTank left a 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

Copy link
Member

@jnsdls jnsdls left a 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

@vercel vercel bot temporarily deployed to Preview – docs-v2 September 30, 2024 20:12 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 30, 2024 20:12 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 30, 2024 20:12 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 30, 2024 21:31 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 30, 2024 21:31 Inactive
MananTank pushed a commit that referenced this pull request Sep 30, 2024
…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 -->
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 30, 2024 21:33 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 30, 2024 21:33 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 30, 2024 21:33 Inactive
MananTank pushed a commit that referenced this pull request Sep 30, 2024
…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 -->
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 30, 2024 21:35 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 30, 2024 21:35 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 30, 2024 21:35 Inactive
MananTank pushed a commit that referenced this pull request Sep 30, 2024
…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 -->
…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 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Involves changes to the Dashboard.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants