Skip to content

Export OverlayInsetProvider for apps without a GrytProvider (GRYT-1784) - #293

Merged
grytchat merged 2 commits into
mainfrom
claude/GRYT-1784-inset-provider
Oct 16, 2026
Merged

grytchat merged 2 commits into
mainfrom
claude/GRYT-1784-inset-provider

Conversation

@grytchat

Copy link
Copy Markdown
Contributor

Follow-up to #292, before it's released. The Gryt client themes itself and never mounts GrytProvider, so overlayInsetTop had nowhere to go there. Wrapping the app in GrytProvider would add a wrapper div at the root and change every tooltip's hover delay.

  • OverlayInsetProvider({ top }) sets the inset and nothing else. It's exported from the root and from @gryt/ui/gryt-provider, which entries.test.ts requires.
  • overlayInset.ts becomes .tsx with "use client", as the entries test also requires of an interactive module.
  • The unreleased overlay-inset changeset gets one more sentence, so this ships in the same patch as Keep popups out of a title bar the app draws (GRYT-1784) #292.

tsc, eslint and vitest (139) pass.

Vikunja: GRYT-1784

🤖 Generated with Claude Code

grytchat and others added 2 commits October 16, 2026 13:42
The client themes itself and never mounts GrytProvider, so it had no way
to pass overlayInsetTop. OverlayInsetProvider sets the inset alone, with
no wrapper element and no tooltip provider of its own. It's on the root
and the gryt-provider subpath, and the changeset says so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A component beside plain exports trips react-refresh's warning twice, and
the repo's lint caps warnings at 114. The context and hook go back to
overlayInset.ts; the provider lives in OverlayInsetProvider.tsx.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@grytchat
grytchat merged commit 52febed into main Oct 16, 2026
5 checks passed
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.

1 participant