Skip to content

Conversation

@absidue
Copy link
Member

@absidue absidue commented Aug 15, 2023

Fix the layout of the hashtag page

Pull Request Type

  • Bugfix

Description

Currently the hashtag page takes up the entire width of the window, going against the layout used for the rest of the app, which is 90% on narrow screens and 80% for everything else. This pull request aligns the layout with other pages in FreeTube.

I recommend turning on the "Hide Whitespace" option in the pull request UI while reviewing this pull request, so that you can tell what the changes are, without the indentation changes getting highlighted.

Screenshots

before

after

Testing

#shorts hashtag https://youtube.com/hashtag/shorts

If you get the page header error on the local API, just navigate back and forward until it disappears, there is already a change in YouTube.js to support the new header, but we need to wait for it to be released in an update on their side, before we can add support on our side.

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 15, 2023
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) August 15, 2023 16:52
PikachuEXE
PikachuEXE previously approved these changes Aug 16, 2023
@PikachuEXE
Copy link
Member

Can we also make fetch more results button hidden when tag requested has no video? (Kind of unrelated to the PR though, so optionally)
image

I was testing empty result with made up tag like https://youtube.com/hashtag/neinneinnein

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@github-actions github-actions bot added PR: merge conflicts / rebase needed and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Aug 16, 2023
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@absidue absidue added the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 17, 2023
@FreeTubeBot FreeTubeBot merged commit f034154 into FreeTubeApp:development Aug 18, 2023
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 18, 2023
@absidue absidue deleted the fix-hashtag-layout branch August 18, 2023 05:42
@absidue absidue mentioned this pull request Aug 18, 2023
3 tasks
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Aug 21, 2023
* development:
  Translated using Weblate (Greek)
  Fix locales getting unnecessarily reprocessed for incremental builds (FreeTubeApp#3893)
  Fix the layout of the hashtag page (FreeTubeApp#3886)
  Translated using Weblate (French)
  Translated using Weblate (Swedish)
  Translated using Weblate (Indonesian)
  Translated using Weblate (Italian)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Italian)
  Translated using Weblate (Portuguese)
  Cleanup some template conditionals (FreeTubeApp#3888)
  Add semantic roles to make the site more accessible (FreeTubeApp#3887)
  Translated using Weblate (Japanese)
  Fix Update Subscription Details function when channel name is null (FreeTubeApp#3884)
  Translated using Weblate (Spanish)
  Translated using Weblate (Romanian)
  Translated using Weblate (Hebrew)
  local API: Add support for PageHeader channel header (FreeTubeApp#3871)
  Translated using Weblate (Chinese (Traditional))

# Conflicts:
#	src/renderer/components/ft-list-playlist/ft-list-playlist.vue
#	src/renderer/components/ft-list-video/ft-list-video.vue
#	src/renderer/views/UserPlaylists/UserPlaylists.vue
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Aug 21, 2023
* feature/playlist-2023-05:
  Translated using Weblate (Greek)
  Fix locales getting unnecessarily reprocessed for incremental builds (FreeTubeApp#3893)
  Fix the layout of the hashtag page (FreeTubeApp#3886)
  Translated using Weblate (French)
  Translated using Weblate (Swedish)
  Translated using Weblate (Indonesian)
  Translated using Weblate (Italian)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Italian)
  Translated using Weblate (Portuguese)
  Cleanup some template conditionals (FreeTubeApp#3888)
  Add semantic roles to make the site more accessible (FreeTubeApp#3887)
  Translated using Weblate (Japanese)
  Fix Update Subscription Details function when channel name is null (FreeTubeApp#3884)
  Translated using Weblate (Spanish)
  Translated using Weblate (Romanian)
  Translated using Weblate (Hebrew)
  local API: Add support for PageHeader channel header (FreeTubeApp#3871)
  ! Fix invalid prop type warning
  Translated using Weblate (Chinese (Traditional))
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