The sidebar and guide sheets #1733
Replies: 8 comments 17 replies
-
@saulpw this is very exciting. I am looking forward to trying the Guides, adding some gaming could be fun. I hope this helps make the VisiData more accessible for people. It doesn't look like you've published your changes yet. |
Beta Was this translation helpful? Give feedback.
-
@saulpw I just realized you added the guides as experimental. I missed that. How do we use this? Do we just copy this to our plugin directory? Or can you just import directly from your .visidatarc? It does not look like it. |
Beta Was this translation helpful? Give feedback.
-
Just updated, and love the sidebar, or at least the concept! A dump of my thoughts after using it for a few sessions.
|
Beta Was this translation helpful? Give feedback.
-
I love the idea of a sidebar. In experimentation mode I'm likely to overuse it or do weird stuff just to get a feel for it. One of the first things that occurred to me (recapping a separate discussion) is to have sidebar content that varies based on the sheet. If I open a Cloud Custodian output directory in VisiData for example, it feels neat to show some summary information for the policy that produced the output. Hacky sample up here - handwaving past the clunky implementation I think the idea feels useful. Dynamic content aside, sidebars for more static guides also seem super useful (both for vanilla vd and also for plugin authors/users!) |
Beta Was this translation helpful? Give feedback.
-
I really like the new status sidebar which shows all the status messages and automatically hides when I interact. The help sidebar is cool, but I'm not so sure about it being on all the time. The guide sheet on first startup looks great. And I like the gamification. |
Beta Was this translation helpful? Give feedback.
-
I'm looking forward to seeing how the guide will work and how it could help with a guided tour or a self-directed journey. Like could Jeremy's tutorial be converted to a guide, helping with loading the sample data, and helping go through the steps that Jeremy has in his tutorial. Or could someone share their VisiData solution to the I'm excited to see @ajkerrigan and @geekscrapy suggestions and experiments. It does feel like there is a lot of potential for what could be put in the sidebar. I like the idea of showing the top-N commands. Currently the history file doesn't save keystrokes or menu items, but it does for In some ways I think these might be useful as plugins, as long as VisiData provides some very powerful formatting tools, like markdown/Python-fstring, users would have flexibility to add what they want. So far I'm a big fan of the sidebar, I've already mentioned that it needs more visual indicators. One thing I keep wondering is if it makes sense for the sidebar to not be a popup/overlay, but actually a separate tile within Visidata. Think i3wm or any tiling window manager, where the windows are within their own non-overlapping tiles in a grid. One nice thing about it not being constrained, is that it can show data of different sizes without using more space than needed. But it can hide data, that requires you to turn off the sidebar to view. Or maybe it would be possible to move the sidebar somehow. Using guides: It looks like you can load the guide by adding this to your But it currently only has the top-level guide, which you can see via the |
Beta Was this translation helpful? Give feedback.
-
@saulpw the sidebar functionality is enough that the ideas you talked about in the first message could be done. I was wondering what you think will be the next steps for this. Would it be possible to do an interactive version of Jeremy’s tutorial for a given dataset? Or a Hannukah of Data solution? |
Beta Was this translation helpful? Give feedback.
-
I know this is late to the party, but . . I just installed visidata 3.0.2 (upgrading from 2. whatever) and I will chime in that I really dislike the new status bar. It obscures my work, and despite setting In fact, changing the value of I may have to roll back to 2.x as I find the experience using this version to be deeply unpleasant. If I could keep that status bar from popping up at all I'm sure it would be great, though. |
Beta Was this translation helpful? Give feedback.
-
So I've been experimenting with a few things recently, as we consider how VisiData 3.0 is going to evolve. I've been trying out some ideas on
develop
, and the implementations are imperfect but tolerable (for me at least), and there are some pretty interesting developments. I want to share them early, with those of you who understand the depths of VisiData (@frosencrantz @geekscrapy @ajkerrigan to name a few), and get your perceptions and feedback.I do want to apologize in advance if you get caught by something changing or breaking. If you use VisiData and don't want to see every bump along the way to our next version, you probably want to stick to a released version (latest is v2.11) for the time being.
Status messages on sidebar
You may have noticed that the status messages have moved to the sidebar, and in fact the sidebar is quickly becoming a baseline feature.
I'm not sure if I totally like having the status messages on the sidebar, but I think it's better (and more eye-catching) than the single line status messages we're used to. For a brief moment there was a separate status message panel, but it was too 'busy' and instead we're going to double down on the sidebar. I'd love to hear your thoughts on this.
Sidebar can be colorized
I added the ability to colorize text in with
colorbox()
(likeclipbox()
) with e.g.[:bold blue on 246]
or[:warning]
, the latter of which will use the value ofoptions.color_warning
. And then you revert to the base settings of the sidebar with[:]
. So like[:bold]my bolded text[:]
. [Edit: Basic markdown also works now].Guide Sheets
But the thing that I think will be most helpful for people, are Guides. A "Guide" is a sheet that explains how to use a small part of VisiData.
As it stands now, any sheet with a
.help
property will show that text in the sidebar. This help text can be a basic overview of the feature and what's required to get it working, and what options are available for tweaking. The idea is thatb
will toggle the sidebar, andShift+B
will push a sheet with the sidebar in it (so you can read it in its entirety if the sidebar is too small).So now some Sheets, like the DirSheet or the SubredditSheet (which I just dusted off and pulled in tonight), with the simple addition of help text, can be their own Guides. Derived sheets like FreqTableSheet would need a special FreqTableGuide, whose
.help
would explain in the sidebar how to set up a frequency table, and likely include some sample data that you could practice with.In the new
visidata.experimental
module (for functional but half-baked features which are not automatically imported), we also have started a GuidesGuide, a toplevel outline of the ~30 Guides we'd want to have for a decent comprehensive tutorial.So the current vision is for
vd
without any arguments to launch the GuidesGuide, which should be a reasonable starting point to learn about VisiData, and you can read as much or as little as you want, and then the rest you can learn as you go.Oh and the
points
columns are tentatively there to track your progress in the tutorial data hunt. Use the commands, find the cell, collect all the points. I think it would be fun anyway :)Comments, ideas, suggestions?
I'd like to involve y'all earlier in the design process, which is why I posted here in Discussions. Feel free to comment here, or sync chat with me on Discord or IRC.
And I'll send a foil VisiData sticker to anyone who takes the initiative to write a Guide!
Beta Was this translation helpful? Give feedback.
All reactions