Skip to content

Add current tab history sheet

Rinigus Saar requested to merge rinigus/plasma-angelfish:history_sheet into master

This MR adds history sheet showing current tab previous and future pages, as exposed via WebEngineHistory. To activate the sheet, user has to press and hold back or forward button.

To be able to use UrlDelegate, few changes were done:

  • UrlDelegate checks for regex before applying it. Otherwise, I was getting some errors on url display
  • UrlDelegate does not handle onClick, this is done while using it. Otherwise, we cannot move in local history as we should in historySheet
  • corresponding changes (expanding onClick) were done in other users of UrlDelegate

We should add a way to expose this functionality via context actions. Unfortunately, they don't have pressAndHold signals, so it has to be somehow different or fixed on Kirigami level.

Please review.

Merge request reports

Loading