Skip to content

Conversation

@manuhabitela
Copy link
Collaborator

@manuhabitela manuhabitela commented May 23, 2025

Context

As mentioned in related issue #1299, current right panel subtabs are a tiny bit weird to understand given the inactive tabs are the primary-colored ones.

Proposed solution

Here is some code that implements @lusebille's design.

Related issues

Fixes #1299.

Has this been tested?

No tests were added as those are purely visual changes. I manually verified on Firefox, Chrome, Edge, Safari on macOS and iOS, and Chrome on Android.

  • 👍 yes, I added tests to the test suite
  • 💭 no, because this PR is a draft and still needs work
  • 🙅 no, because this is not relevant here
  • 🙋 no, because I need help

Screenshots / Screencasts

Before:

image

After:

image

image

image

subtabs.mp4

- the current sub tab text is bold, like the current tab
- inactive tabs are grayed out. before, they were green, making it a bit
weird to understand (it's in the primary color, but it's inactive, kind
of opposite directions)
- active tab has bigger bottom border

all these changes make it easier at a glance to understand the current
sub tab

figma design:
https://www.figma.com/design/wcpetFt6aOKzTszcvPPWLQ/-05-24--Grist-Design?node-id=2761-141496&t=RAUSxMNi7Gk7xLJ3-4
@manuhabitela manuhabitela force-pushed the better-subtabs-styles branch from 9c0d303 to 2984727 Compare May 23, 2025 16:29
@manuhabitela manuhabitela marked this pull request as ready for review May 23, 2025 16:42
@georgegevoian georgegevoian added the preview Launch preview deployment of this PR label May 28, 2025
@github-actions
Copy link
Contributor

Deployed commit 2984727cae2e45b55394140e65aad7a4d2fbb76a as https://grist-manuhabitela-grist-core-better-subtabs-styles.fly.dev (until 2025-06-27T15:41:39.461Z)

@georgegevoian georgegevoian removed the preview Launch preview deployment of this PR label May 28, 2025
Copy link
Contributor

@georgegevoian georgegevoian left a comment

Choose a reason for hiding this comment

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

Thanks @manuhabitela.

@georgegevoian georgegevoian merged commit e71cca7 into gristlabs:main May 28, 2025
14 checks passed
@manuhabitela
Copy link
Collaborator Author

Thanks George :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve visuals of sub tabs in creator panel

2 participants