-
-
Notifications
You must be signed in to change notification settings - Fork 21
docs: Rework example selection UI and add searching utilities. #1230
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
pkg.pr.new packages
benchmark commit |
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.
Great change!
Some examples are missing thumbnails though -- the three new ones: Gravity, Oklab and Stable Fluids, and one old one: TGSL parsing test.
-> release branch |
apps/typegpu-docs/src/content/examples/simulation/boids/meta.json
Outdated
Show resolved
Hide resolved
apps/typegpu-docs/src/content/examples/tests/tgsl-parsing-test/meta.json
Outdated
Show resolved
Hide resolved
94ca948
to
463a839
Compare
I think we should create |
I think it might be cleaner to get rid of the example categories on the user side and to turn them into tags (we can keep the internals for sorting purposes), what do you think? |
Hmm, maybe "Cellular Liquid (coarse)" instead of "Fluid (with atomics)" and "Cellular Liquid (granular)" instead of "Fluid (double-buffering)"? |
(also I wish I could see the changes myself, but there's a missing image, probably due to Git LFS) |
I think for someone not looking for anything in particular the categories can be nice - we still search by them under the hood. I would also like to avoid crowding the tags. |
Should be solved @iwoplaza 🫡 |
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.
Awesome! 🎨
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.
Hurrayy! It looks so good 😭 (also fix the padding at the bottom)
126a25d
to
c734609
Compare
c734609
to
cc221d8
Compare
closes #1243
The "welcome" section now hides when scrolling :D
Screen.Recording.2025-05-12.at.12.30.13.mov