-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
feat(examples): add demo2 example #500
Conversation
Codecov Report
@@ Coverage Diff @@
## main #500 +/- ##
=======================================
Coverage 90.00% 90.00%
=======================================
Files 40 40
Lines 11190 11190
=======================================
Hits 10072 10072
Misses 1118 1118 |
04c07c7
to
f319f69
Compare
8cea883
to
e4c3732
Compare
I like how the |
Feedback incorporated in d8b3f47 |
cccf2ad
to
47ad830
Compare
Ping @sayanarijit @mindoodoo for review. |
Just updated the actual preview image (lots of work went into making the last tab nicer bouncing ideas off @kdheepak the other day. Aiming for a bit more of a modern feel rather than just pure boxes and colored text. I particularly was fond of the way the scrollbars turned out. There's probably some rough edges in this that are not production grade, so I'd suggest we keep the old demo around as well. This is a "What's possible" type demo that hopefully inspires some more awesome looking Ratatui Apps. |
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.
I'm just reading through this PR from top to bottom for the first time and figured I'd leave some review notes.
Pinging @nawok for thoughts on the logo in this |
Required a rebase to fixup against the barchart fix. So I squashed it all. |
Rebase broke things - undid that. Will fix this up tomorrow. |
I wrote up a much longer reply to this, but accidentally closed the tab without sending. |
outdated images![demo2-about](https://github.com/ratatui-org/ratatui/assets/381361/ca1f07dc-2e9f-47ca-9277-368782d8b2ff) ![demo2-recipe](https://github.com/ratatui-org/ratatui/assets/381361/4218e8b9-7b79-4d02-a024-7f8afc61f62c) ![demo2-email](https://github.com/ratatui-org/ratatui/assets/381361/e503ca53-e445-43a1-99e6-a917dbf19352) ![demo2-trace](https://github.com/ratatui-org/ratatui/assets/381361/cfc06085-f1d5-4b18-8258-b8ab8ea9546f) ![demo2-weather](https://github.com/ratatui-org/ratatui/assets/381361/aa9e2559-3576-48d6-a4c7-89c8eaef3200) |
#500 (review) - add comments - remove dead code (in colors and weather) - make RGB swatch into a widget - simplify the RGB logic in the swatch / weather gauge - move layout() helper function to root module - remove unused keyboard bindings - remove unused imports in theme - remove unused lipsum crate - turn on doc scraping
This is a more modern styled example that avoids the standard borders and uses a more modern color scheme. The example is sized to fit a social preview image and to use up less vertical space in other documentation.
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.
🧀
This is example is aimed at creating a github social preview image and
eventually replacing the current main demo.
outdated images
https://github.com/ratatui-org/ratatui/assets/381361/8255624d-9237-44da-8655-a489aaf5e1e5