Skip to content

nit: add themeing to AI Bar#9210

Merged
royendo merged 1 commit intomainfrom
fix-embed-themes
Apr 10, 2026
Merged

nit: add themeing to AI Bar#9210
royendo merged 1 commit intomainfrom
fix-embed-themes

Conversation

@royendo
Copy link
Copy Markdown
Contributor

@royendo royendo commented Apr 9, 2026

Are we removing this theme bar anytime soon? it doesnt get themes applied, looks weird

Screenshot 2026-04-09 at 17 49 01

new: (mind the colors)

Screenshot 2026-04-10 at 9 05 55

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@royendo royendo requested a review from Di7design April 9, 2026 22:16
Copy link
Copy Markdown

Where will the AI button be placed if we remove this bar? Also, where is the Rill watermark?

@royendo
Copy link
Copy Markdown
Contributor Author

royendo commented Apr 9, 2026

True, so we'll keep it! then need APP to approve PR

@Di7design This is the Embedded, we haven't merged the Rill embed logo. this is a bug fix PR :)

@royendo royendo requested a review from AdityaHegde April 9, 2026 23:01
@royendo
Copy link
Copy Markdown
Contributor Author

royendo commented Apr 9, 2026

@AdityaHegde not sure what best practice is for missing theming. LMK if this is wrong

Copy link
Copy Markdown
Collaborator

@AdityaHegde AdityaHegde left a comment

Choose a reason for hiding this comment

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

Yes this is how we use it outside of dashboard. Just make sure it works without issue when there is no active dashboard.

>
<EmbedHeader {activeResource} {navigationEnabled} />
</div>
<ThemeProvider theme={$activeDashboardTheme} applyLayout={false}>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What happens when there is no active dashboard?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Is there ever an embed state without an active dashboard?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ah, when you embed the home page; its cleared

So it's safe — when there's no active dashboard, the ThemeProvider just passes through with default/unthemed styling. Same behavior as DashboardChat.svelte which uses the same pattern.

@royendo royendo merged commit 3227c82 into main Apr 10, 2026
17 of 21 checks passed
@royendo royendo deleted the fix-embed-themes branch April 10, 2026 13:37
royendo added a commit that referenced this pull request Apr 10, 2026
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.

3 participants