Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ graph LR
click literal-clickable "https://github.com/iolanta-tech/iolanta/issues/260"
class literal-clickable bug

back("'Back' ← link is visible") --> nanopublication-is-not-satisfactory
class back bug

fwd("'Fwd' → link is visible") --> nanopublication-is-not-satisfactory
class fwd bug

spec("YAML-LD spec is a URL<br/>not title") --> nanopublication-is-not-satisfactory
class spec bug
end
Expand Down
162 changes: 81 additions & 81 deletions docs/screenshots/orcid.org.0000-0002-1825-0097.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion iolanta/facets/textual_browser/page_switcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ def check_action(
return not is_loading
case 'abort':
return is_loading
case 'back':
return bool(self.history.past)
case 'forward':
return bool(self.history.future)

return True

Expand Down Expand Up @@ -288,12 +292,15 @@ def action_goto(
def action_back(self):
"""Go backward."""
self.current = self.history.back().page_id
self.focus()
if page := self.visible_content:
page.focus()

def action_forward(self):
"""Go forward."""
self.current = self.history.forward().page_id
self.focus()
if page := self.visible_content:
page.focus()


class ConsoleSwitcher(ContentSwitcher):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "iolanta"
version = "1.2.9"
version = "1.2.10"
description = "Semantic Web browser"
authors = ["Anatoly Scherbakov <altaisoft@gmail.com>"]
license = "MIT"
Expand Down
Loading