Skip to content
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

Display Navigation History #3042

Closed
kelson42 opened this issue Sep 4, 2022 · 5 comments · Fixed by #3239
Closed

Display Navigation History #3042

kelson42 opened this issue Sep 4, 2022 · 5 comments · Fixed by #3239
Assignees
Milestone

Comments

@kelson42
Copy link
Collaborator

kelson42 commented Sep 4, 2022

Kiwix has a "back" menu option which is a type of history, but when you're researching a subject, jumping between several articles, it can be difficult
to refer back to article#3 and then article#7 and then article#4 just by the
"back" and "forward" menu options.

It would be great to have some kind of simple history viewer by implementing contextual menus on back and forward buttons. By long clicking on them you would get a list of the last/further 4-5 visited pages. This list should be scrollable to allow to store the whole visit history if necessary.

In the preference panel, an option should allow to clear the history.

From https://sourceforge.net/p/kiwix/feature-requests/679/

@kelson42 kelson42 changed the title Visualize History Visualize Navigation History Dec 29, 2022
@kelson42 kelson42 changed the title Visualize Navigation History Display Navigation History Dec 29, 2022
@rishujam
Copy link

For both #398 and this. I think we need a backstack manager for both of these issues right?

@kelson42
Copy link
Collaborator Author

kelson42 commented Jan 25, 2023

@rishujam We can not just rely on the webview history?

@rishujam
Copy link

@rishujam We can not just rely on the webview history.

I guess webView history will not be enough we cannot determine which URLs will come in the back and which in the forward. If it is possible please help me a little

@kelson42 kelson42 added this to the 3.7.0 milestone Feb 17, 2023
@MohitMaliFtechiz
Copy link
Collaborator

MohitMaliFtechiz commented Feb 20, 2023

@kelson42 , I want to clear some points.

  • Should we use BottomSheet (showing below in image) for showing history of book, when we long click on forward/backward images.
  • Will we save the book history into database? (because you request a option in preference screen to clear the history) or we should save in a list for runtime (if we switch to new book or close the application the history will cleared automatically).
  • We will display forward and backward history separately? (if user click on forward, then we will show only forward history if any, otherwise it will show a no history found text).

bottom-sheets-storage

@kelson42
Copy link
Collaborator Author

@kelson42 , I want to clear some points.

* Should we use `BottomSheet` (showing below in image) for showing history of book, when we long click on forward/backward images.

I don't understand what you mean. IMO it should popup when long clicking on history back/forward buttons

* Will we save the book history into database? (because you request a option in preference screen to clear the history) or we should save in a list for runtime (if we switch to new book or close the application the history will cleared automatically).

For the moment I would like that we only deal with the html rendering history. There should be a function already available to clean it. We should not store the history ourself.

* We will display forward and backward history separately? (if user click on forward, then we will show only forward history if any, otherwise it will show a no history found text).

yes

bottom-sheets-storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants