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

Fix in subscription view, restoring last tab is bugged when visible tabs do not include tab to be restored #4064

Merged
merged 1 commit into from
Sep 23, 2023

Conversation

PikachuEXE
Copy link
Collaborator

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Found this issue maybe when testing #3973 (but not related)

Description

When switching to subscription view, last tab view tab would be restored
But if visible tabs does not contain last tab, it should restore to 1st visible tab, but it displayed as no tab selected instead

Screenshots

Lazy

Testing

  • Switch to sub view
  • Select tab that can be hidden (short/live/community)
  • Go to setting and hide the tab selected
  • Switch back & confirm first tab selected
  • Go to setting and hide all
  • Switch back & confirm "empty message"
  • Go to setting and show all
  • Switch back & confirm first tab selected

Desktop

  • OS:
  • OS Version:
  • FreeTube version:

Additional context

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) September 23, 2023 13:23
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 23, 2023
@FreeTubeBot FreeTubeBot merged commit 825aa4e into FreeTubeApp:development Sep 23, 2023
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 23, 2023
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 26, 2023
* development: (41 commits)
  Translated using Weblate (Finnish)
  Mobile/tablet channel page & share button visual improvements (FreeTubeApp#4061)
  Support multiple audio tracks and AV1 for Invidious by using the local API DASH manifest generator (FreeTubeApp#3942)
  Normalize ft-list-item grid height (FreeTubeApp#4043)
  Bump the stylelint group with 1 update (FreeTubeApp#4071)
  Bump the babel group with 1 update (FreeTubeApp#4069)
  Bump the eslint group with 1 update (FreeTubeApp#4070)
  Bump sass from 1.67.0 to 1.68.0 (FreeTubeApp#4072)
  Bump marked from 9.0.2 to 9.0.3 (FreeTubeApp#4073)
  Bump lefthook from 1.4.11 to 1.5.0 (FreeTubeApp#4074)
  Translated using Weblate (Chinese (Traditional))
  Translated using Weblate (Greek)
  Translated using Weblate (German)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (French)
  Translated using Weblate (Icelandic)
  Translated using Weblate (Portuguese)
  Translated using Weblate (Polish)
  ! Fix in sub view, restoring last tab is bugged when visible tabs do not include tab to be restored (FreeTubeApp#4064)
  Translated using Weblate (Ukrainian)
  ...

# Conflicts:
#	src/renderer/components/ft-prompt/ft-prompt.css
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.

None yet

5 participants