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

Use iTwinUI Tab instead of our current one #1190

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

MBudreviciusBentley
Copy link
Contributor

@MBudreviciusBentley MBudreviciusBentley commented Jan 27, 2025

Changes

Rewrite our current TabBar/Tabs implementation to use iTwin elements.

Some of the visual changes:
image

Testing

Tests + manually playing around with tabs.

@GerardasB GerardasB added the minor Changes in this PR requires creating a minor release label Jan 27, 2025
@MBudreviciusBentley
Copy link
Contributor Author

Investigate: Tabs height is a bit bigger than the div itself.
image

@MBudreviciusBentley MBudreviciusBentley marked this pull request as ready for review February 10, 2025 10:29
@MBudreviciusBentley MBudreviciusBentley requested a review from a team as a code owner February 10, 2025 10:29
Copy link
Collaborator

@GerardasB GerardasB left a comment

Choose a reason for hiding this comment

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

Some issues while playing around with the storybook:

  • Widget tabs are bigger in height than the title bar area
  • Double borders between tabs (and on first tab)
  • Tab labels (and borders) are wrapping outside of tab area
  • Dragging a single tab should not undock a whole stacked widget w/ multiple tabs
  • No longer possible to drop widget on title bar tab target

@FlyersPh9 FlyersPh9 changed the title Use iTwin Tab instead of our current one Use iTwinUI Tab instead of our current one Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Changes in this PR requires creating a minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants