-
Notifications
You must be signed in to change notification settings - Fork 19
Add DocsPopover with page-specific links to docs #2194
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@charliepark the icon next to a document name is slightly misplaced, it should be pushed down a pixel or two :) |
|
I noticed that the popover scrolls with the page, rather than staying locked to the trigger. You can see this in action here: http://localhost:4000/projects/mock-project/disks I'll need to look into this tomorrow morning; I suspect there's an option we can adjust in the floating-ui configs. |
fce5bfb to
30770d6
Compare
david-crespo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THINK WE GOT IT
|
Animation works! 2024-04-30-docs-popover-anim.mp4 |
oxidecomputer/console@e7b243b...31d1884 * [31d18845](oxidecomputer/console@31d18845) oxidecomputer/console#2194 * [86c44035](oxidecomputer/console@86c44035) oxidecomputer/console#2199 * [d9adfce3](oxidecomputer/console@d9adfce3) fix npm run start:mock-api by switching to tsx * [042d5ef3](oxidecomputer/console@042d5ef3) oxidecomputer/console#2209 * [e45f2d9a](oxidecomputer/console@e45f2d9a) oxidecomputer/console#2207 * [e8e4f576](oxidecomputer/console@e8e4f576) react 18.3.1 (fix test warnings due to act export)
oxidecomputer/console@e7b243b...31d1884 * [31d18845](oxidecomputer/console@31d18845) oxidecomputer/console#2194 * [86c44035](oxidecomputer/console@86c44035) oxidecomputer/console#2199 * [d9adfce3](oxidecomputer/console@d9adfce3) fix npm run start:mock-api by switching to tsx * [042d5ef3](oxidecomputer/console@042d5ef3) oxidecomputer/console#2209 * [e45f2d9a](oxidecomputer/console@e45f2d9a) oxidecomputer/console#2207 * [e8e4f576](oxidecomputer/console@e8e4f576) react 18.3.1 (fix test warnings due to act export)



Fixes #2114
Fixes #2210
This PR introduces new page-specific links to the Oxide Docs.
Here you can see the trigger for the popover in the upper-right corner …


And the popover when it shows up:

