Add tooltips from devenv
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 4k
- Forks
- 339
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 7
Description
devenv has a really nice interactive tooltip feature for code blocks, allowing the reader to click a button at the end of a line to reveal a message with additional context.
This might be nice to have in nix.dev also.
My main concern was how to integrate this feature in a way where non-Javascript web clients can still see that information, but it renders the list of just fine. Here's an example from the eww browser.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files or tests are named. Start by locating nix.dev's code-block rendering entry point, then compare it with the linked devenv tooltip behavior. Done means the added context is available through interactive tooltips while remaining visible to non-JavaScript clients.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100