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

feat(TreeView): TreeView and TreeItem components #787

Merged
merged 36 commits into from
Feb 28, 2024
Merged

Conversation

acoopa
Copy link
Contributor

@acoopa acoopa commented Jun 21, 2022

Issue: #180

What I did

Created a TreeView component.

Screenshots:

image
image
image

Checklist

  • changeset has been added
  • Pull request description is descriptive
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works

How to test

Requirements and testing notes found in Notion: https://laura-silva.notion.site/TreeView-1fa9fc9d40654f7dba969a7fbaa492c6

@changeset-bot
Copy link

changeset-bot bot commented Jun 21, 2022

🦋 Changeset detected

Latest commit: 8a1fadc

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

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

@codecov-commenter
Copy link

codecov-commenter commented Jun 21, 2022

Codecov Report

Merging #787 (20ebc50) into dev (732f5c9) will decrease coverage by 0.34%.
The diff coverage is 55.10%.

@@            Coverage Diff             @@
##              dev     #787      +/-   ##
==========================================
- Coverage   86.58%   86.24%   -0.35%     
==========================================
  Files         175      178       +3     
  Lines        4474     4523      +49     
  Branches     1519     1532      +13     
==========================================
+ Hits         3874     3901      +27     
- Misses        296      309      +13     
- Partials      304      313       +9     
Impacted Files Coverage Δ
...t-magma-dom/src/components/TreeView/useTreeView.ts 0.00% <0.00%> (ø)
...act-magma-dom/src/components/TreeView/TreeItem.tsx 50.00% <50.00%> (ø)
...act-magma-dom/src/components/TreeView/TreeView.tsx 80.00% <80.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a12fa9c...20ebc50. Read the comment docs.

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2022

@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2022

Copy link
Collaborator

@silvalaura silvalaura left a comment

Choose a reason for hiding this comment

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

Looking great so far, nice work! 👏

A couple other notes:

  • I noticed that the expand buttons don't look clickable (the cursor doesn't change to the pointer). Also, the accessibility check on storybook calls out Buttons must have discernible text so I think they are just missing the aria label attribute
  • We try not to commit the package-lock unless something has changed in our packages

packages/react-magma-dom/src/components/TreeView/index.ts Outdated Show resolved Hide resolved
@silvalaura silvalaura added the draft Pull requests that are drafts and not ready for review label Jul 25, 2022
@silvalaura silvalaura linked an issue Mar 6, 2023 that may be closed by this pull request
Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

@silvalaura silvalaura marked this pull request as ready for review February 28, 2024 15:50
@silvalaura silvalaura requested a review from a team as a code owner February 28, 2024 15:51
Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

@silvalaura
Copy link
Collaborator

Although there are some outstanding TODOs, there will be a followup PR to clean that up.

@silvalaura silvalaura merged commit ab6ffd4 into dev Feb 28, 2024
3 checks passed
@silvalaura silvalaura deleted the feat/tree-view branch February 28, 2024 16:23
Copy link
Contributor

Copy link
Contributor

silvalaura added a commit that referenced this pull request Jun 5, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
silvalaura added a commit that referenced this pull request Jun 5, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
silvalaura added a commit that referenced this pull request Aug 15, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
silvalaura added a commit that referenced this pull request Sep 18, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
silvalaura added a commit that referenced this pull request Sep 18, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
silvalaura added a commit that referenced this pull request Sep 18, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
silvalaura added a commit that referenced this pull request Sep 18, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
silvalaura added a commit that referenced this pull request Sep 18, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
silvalaura added a commit that referenced this pull request Sep 18, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
silvalaura added a commit that referenced this pull request Dec 16, 2024
Co-authored-by: Collange, Etienne <[email protected]>
Co-authored-by: Laura Silva <[email protected]>
Co-authored-by: orion-cengage <[email protected]>
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.

Tree View Component #1
5 participants