-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
[SheetsSheet] sorting list of sheets jumps away from SheetsSheet #518
Comments
Hi @geekscrapy! Believe it or not, there is no bug. ^^;
Since the top sheet is the sheet at the top of the stack, that is the visible sheet. When you are viewing the Sheets Stack, that is always going to be the When you sort, occassionally you will bump another row to the top of the stack, and then you will jump to that row. I should make a page in the docs about this. I just noticed that it is not really spoken about in @jsvine's tutorial. If you want to play with a Sheets Sheet like a regular sheet, you can "freeze" it with Something we may consider @saulpw, is giving that sheet the name |
If it's not becoming part of the documentation, I think there will be more issues with the same topic being opened over time ;-) |
Want to add it to our documentation @klartext? =) https://github.com/saulpw/visidata/blob/develop/docs/sheets.md |
Or make an issue here to add it to this section? https://github.com/jsvine/intro-to-visidata/blob/master/docs/basics/understanding-sheets.rst |
I let that task be reserved to the experts ;-) |
But I found some broken links in some of the docs and could report them. |
Thanks for the reminder on this. I've added a note my tutorial re. sorting the Sheets Sheet, at the end of this subsection: https://jsvine.github.io/intro-to-visidata/basics/understanding-sheets/#how-to-use-the-sheets-sheet I wonder though: What would the VisiData maintainers think about disabling sorting on the Sheets Sheet (rather than modifying the Sheet Sheet's behavior). Perhaps I'm thinking narrow-mindedly, but I can't see much of a use-case for sorting that metasheet, given the almost-always-unintended consequences. |
That's a really good point. But maybe we could just override it, so that it only sorted the rest of the elements. The thing is, do we want to do this for slide too? any others? |
Ah, very interesting re. slide. My two cents on that (and potentially relevant to other commands):
|
We can do either. For the sort, I think we'd have to do |
The reason I tried to sort the sheets-sheet is to have a certain order of the documents. |
Please note that this should be fixed in v2.1 and work "as expected" (instead of counterintuitively "by design"). |
Thank you! |
I've found the the sorting keys do not work as expected on the Shift+S (sheetsIndex) sheet.
I was expecting to be able to sort by name (as the default selected column) however [ opens a sheet. In my case it's the same sheet all the time irrelevant of the order.
I've also found that this isn't consistent. Sometimes [ does sort as expected, and ] opens a sheet.
To be honest I'm unsure what is going to happen each time when I hit [ or ] on that sheet
To replicate, open a couple of sheets/files, hit Shift+S, and click [ or ] to test
The text was updated successfully, but these errors were encountered: