Skip to content

Migrate TopNav to the composition API #7227

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

Merged

Conversation

absidue
Copy link
Member

@absidue absidue commented Apr 18, 2025

Migrate TopNav to the composition API

Pull Request Type

  • Refactoring - Composition API migration

Description

This pull request migrates the TopNav component to the composition API. Apart from the migration this pull request also includes a few other changes, such as moving the CTRL/CMD+L and ALT+D keyboard shortcuts and search input text handling from the App component into the TopNav component to avoid needing to use defineExpose() and refs.

Testing

Test the functionality of the top nav, from searching and search suggestions to navigating back and forth and the navigation history menus to the keyboard shortcuts that focus the search bar.

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 8cf49e6

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Apr 18, 2025
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) April 18, 2025 13:08
@FreeTubeBot FreeTubeBot merged commit 89dea10 into FreeTubeApp:development Apr 19, 2025
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 Apr 19, 2025
@absidue absidue deleted the top-nav-composition-api branch April 19, 2025 13:36
OothecaPickle added a commit to OothecaPickle/FreeTube that referenced this pull request Apr 29, 2025
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