Repository navigation
Wrap interactive FontAwesomeIcons in actual buttons - #8206
Merged
FreeTubeBot merged 2 commits intoNov 10, 2025
Merged
Conversation
absidue
requested review from
a user,
MarmadileManteater,
PikachuEXE,
efb4f5ff-1298-471a-8973-3d47447115dc and
kommunarr
November 1, 2025 17:52
FreeTubeBot
enabled auto-merge (squash)
November 1, 2025 17:52
1 of 4 tasks
efb4f5ff-1298-471a-8973-3d47447115dc
requested changes
Nov 2, 2025
Contributor
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
absidue
force-pushed
the
icon-buttons-buttons
branch
from
November 6, 2025 22:45
095d2a0 to
b127282
Compare
Contributor
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
efb4f5ff-1298-471a-8973-3d47447115dc
requested changes
Nov 7, 2025
Member
There was a problem hiding this comment.
- Pressing enter key on the X opens the release notes
VirtualBoxVM_SLqvfbPzKj.mp4
- There seems to be a pre-existing issue here. If i tab and enter on page forward/backward it reloads the window. Clicking on it does behave normally. So i cant really evaluate if this works correctly if this isnt fixed?
VirtualBoxVM_qUi4iHefbt.mp4
absidue
force-pushed
the
icon-buttons-buttons
branch
from
November 8, 2025 17:01
b127282 to
5b0069a
Compare
efb4f5ff-1298-471a-8973-3d47447115dc
approved these changes
Nov 8, 2025
kommunarr
approved these changes
Nov 8, 2025
PikachuEXE
approved these changes
Nov 10, 2025
PikachuEXE
left a comment
Member
There was a problem hiding this comment.
Shift click top nav won't open new window but I guess it's vue 3 migration...
PikachuEXE
added a commit
to PikachuEXE/FreeTube
that referenced
this pull request
Nov 11, 2025
* development: (41 commits) Translated using Weblate (Turkish) ! Fix top nav cannot search in new window (FreeTubeApp#8254) Bump vue from 3.5.22 to 3.5.24 (FreeTubeApp#8257) Translated using Weblate (Czech) Translated using Weblate (Italian) Translated using Weblate (Polish) Translated using Weblate (Hungarian) Translated using Weblate (Norwegian Bokmål) Bump lefthook from 2.0.2 to 2.0.3 (FreeTubeApp#8258) Bump the eslint group with 2 updates (FreeTubeApp#8256) Bump marked from 16.4.1 to 17.0.0 (FreeTubeApp#8260) Translated using Weblate (Breton) Translated using Weblate (Estonian) Translated using Weblate (French) Translated using Weblate (Chinese (Simplified Han script)) Add support for importing and exporting search history (FreeTubeApp#8237) Invidious API: Fix published dates on recommended videos (FreeTubeApp#8251) Translated using Weblate (Chinese (Simplified Han script)) ! Fix playlist progress bar preview broken in IV API (FreeTubeApp#8245) Wrap interactive FontAwesomeIcons in actual buttons (FreeTubeApp#8206) ... # Conflicts: # package.json
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pull Request Type
Description
After the Vue 3 pull request is merged we'll be able to start working on migrating to FontAwesome 7. One of the changes in FontAwesome 7 that will affect us is that it will no longer automatically convert the title attribute into a
<title>element inside the generated SVG. As FreeTube was using that functionality on some of the interactive icons, this pull request wraps those icons in actual<button>elements, so the FontAwesome icon component is now only used for rendering the icon.This pull request doesn't address those problems in the ft-input component, as that would conflict with my composition API migration of the FtInput component (on a branch already, just waiting for the Vue 3 PR to be merged) and it has more complicated styles than other components, which I didn't fancy fighting with today.
While doing these changes I noticed that some of the icon buttons don't have a title/tooltip or a label, so screen reader users can't use them, such as the expand and collapse side bar button and the remove button in the FtInputTags component. I haven't fixed those issues in this pull request, as I thought it was best to decide on appropriate labels in a follow up pull request.
Testing
Test the changed buttons and check that they still look and function the same as before.
Desktop