Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd Back button when navigating between notes #2409
Comments
This comment has been minimized.
This comment has been minimized.
|
Hmm, what's the history limit? After having Joplin open for a few days, the back history will be in the hundreds/thousands. What should happen to the sidebar? Should the notebook the note was in expanded? Wouldn't we need a forward button as well? (when moving away from the note the folders have to be collapsed, otherwise you'll end up with a huge tree.) |
This comment has been minimized.
This comment has been minimized.
|
Would you also want a "forward" button? |
This comment has been minimized.
This comment has been minimized.
|
It depends. I just think that the specs need an overhaul. As mentioned in my previous comment, there are a few items that are not clear. e.g. we can't just let the history keep growing ad infinitum.... |
This comment has been minimized.
This comment has been minimized.
|
@tessus, I think that if there was a forward and backward button, the history limit should only exist during a session and then be cleared once the user is done and has exited the app. That's how buffers work in Vim. Of course, maybe add the option to save a possible note group that opens automatically if the user needs to frequently edit specific notes. Just spitballing ideas here. I hope these make sense. |
This comment has been minimized.
This comment has been minimized.
That would indeed make sense and would probably be expected by users. |
This comment has been minimized.
This comment has been minimized.
|
The history should indeed be in memory and not persisted to disk. |
This comment has been minimized.
This comment has been minimized.
|
Would this fully replace the current implementation when going between linked notes to include when the user opens multiple notes in a row or be an extension of that? |
This comment has been minimized.
This comment has been minimized.
|
Good idea! Not only a button, but additionally shortcuts would be nice, like ALT+left and ALT+right. See also feature request #716 |
This comment has been minimized.
This comment has been minimized.
|
For shortcuts, let's keep that for a separate issue as this one is a "good first issue" so it needs to be kept relatively simple. |
This comment has been minimized.
This comment has been minimized.
Yes, I would thought that was implied? Like there wouldn't be two back buttons - one for the linked note handling, and one for regular navigation, it's just one back button, which handles both behaviours. If the description needs to be clarified please let me know what should be changed. |
This comment has been minimized.
This comment has been minimized.
This is exactly my point. I start the app and it runs until a new update is available. Thus usually a few weeks. So if you created a history worth a few weeks it would be a total overkill and memory hog. This is why I mentioned a limit on the history. Pick a number or a timeframe and use a FIFO queue. When it comes to persistence I think this is debatable. I really hate it when I restart the app that all notes that were selected in the different folders and their positions are gone. |
This comment has been minimized.
This comment has been minimized.
|
Is it possible to access that history in the menu, like for instance the list of the last used documents in Libre Office? I know this is gonna extend the feature, but think of that possibility, before implementing the back button. |
There is already a button to go back to the previous note when clicking on a note link:
We'd like this behaviour when navigating between notes too, so for example, if I open "note 1", then "note 2", clicking on the Back button will go back to "note 1". If there is no note to go back to, the button should be grayed out.
There should also be a "forward" button.
The history would be in memory only (doesn't need to be persisted to disk).