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

Generate all enhanced leaf texts on route change, store with jotai atom #10

Merged

Conversation

ksuess
Copy link
Member

@ksuess ksuess commented Oct 21, 2024

New concept: Instead of generating the tooltip enhanced markup in each Slate leaf,
we generate all tooltip enhanced leaf texts on route change, store them with jotai atom and use the appropriate ones in the leafs.

New option 'show tooltips only on first occurrences on a page'

Copy link
Collaborator

@mauritsvanrees mauritsvanrees left a comment

Choose a reason for hiding this comment

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

This works. Thanks!

@ksuess ksuess merged commit 83a8f8f into main Oct 25, 2024
2 checks passed
@ksuess ksuess deleted the calculate-enhanced-text-on-route-change---store-with-jotai branch October 25, 2024 07:39
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.

Feature request: show popup only for first match on page
2 participants