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

Move TabHeader and TabPanel components to a common location #5983

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

acelaya
Copy link
Contributor

@acelaya acelaya commented Nov 29, 2023

TabHeader and TabPanel components are currently used in two different places, so this PR extracts them from ShareDialog into a common location.

As part of hypothesis/frontend-shared#1351, it's likely that these components end up in frontend-shared library.

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5f0e7b7) 99.44% compared to head (8d349f4) 99.44%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5983   +/-   ##
=======================================
  Coverage   99.44%   99.44%           
=======================================
  Files         258      258           
  Lines        9891     9891           
  Branches     2361     2361           
=======================================
  Hits         9836     9836           
  Misses         55       55           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@robertknight robertknight left a comment

Choose a reason for hiding this comment

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

LGTM except for a note about avoiding confusion with the naming of the Tabs directory, which isn't the name of an actual component.

src/sidebar/components/HelpPanel.tsx Outdated Show resolved Hide resolved
@acelaya
Copy link
Contributor Author

acelaya commented Nov 29, 2023

LGTM except for a note about avoiding confusion with the naming of the Tabs directory, which isn't the name of an actual component.

I renamed the directory to tabs in lowercase.

@acelaya acelaya merged commit 247f7ef into main Nov 29, 2023
4 checks passed
@acelaya acelaya deleted the shared-tab-components branch November 29, 2023 13:30
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.

2 participants