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

Switch to non-deprecated Electron navigation history APIs #5626

Merged

Conversation

absidue
Copy link
Member

@absidue absidue commented Aug 30, 2024

Switch to non-deprecated Electron navigation history APIs

Pull Request Type

  • Refactoring

Related issue

Description

Electron 32 deprecated the webContents#goForward() and webContents#goBack() methods in favour of the new webContents#navigationHistory#goForward() and webContents#navigationHistory#goForward() methods. As far as I can tell from looking at the relevant pull requests on their side nothing changed functionally, they just got moved so that the interface is more intuitive.

Testing

As mentioned above nothing functionally has changed, but you can test this pull request by testing the Back and Forward entries in the View menu of the app menu.

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 492f224

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) August 30, 2024 17:28
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 30, 2024
@FreeTubeBot FreeTubeBot merged commit 9a84777 into FreeTubeApp:development Sep 2, 2024
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 2, 2024
@absidue absidue deleted the electron-navigation-deprecation branch September 2, 2024 05:41
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 3, 2024
* development: (49 commits)
  Translated using Weblate (Serbian)
  Translated using Weblate (Turkish)
  Translated using Weblate (English (United Kingdom))
  Translated using Weblate (Italian)
  Translated using Weblate (Chinese (Simplified Han script))
  Translated using Weblate (Italian)
  Translated using Weblate (Italian)
  Translated using Weblate (Italian)
  Translated using Weblate (Italian)
  Translated using Weblate (French)
  Translated using Weblate (German)
  Bump swiper from 11.1.10 to 11.1.12 (FreeTubeApp#5635)
  Translated using Weblate (Spanish)
  Bump the stylelint group with 2 updates (FreeTubeApp#5633)
  Migrate video player from video.js to shaka-player (FreeTubeApp#4978)
  Bump lefthook from 1.7.14 to 1.7.15 (FreeTubeApp#5634)
  Bump electron-context-menu from 4.0.2 to 4.0.4 (FreeTubeApp#5636)
  Bump youtubei.js from 10.3.0 to 10.4.0 (FreeTubeApp#5637)
  Cleanup the Hide Profile Pictures in Comments code (FreeTubeApp#5625)
  Switch to non-deprecated Electron navigation history APIs (FreeTubeApp#5626)
  ...

# Conflicts:
#	src/renderer/store/modules/index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants