FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

Migrate FtShareButton to composition api

Open ChunkyProgrammer opened this issue 9 months ago • 0 comments

Migrate FtShareButton to composition api

Pull Request Type

  • [x] Other - composition api migration

Description

This PR migraties FtShareButton to composition api

Testing

Channel (base tests)

channel share menu (opened)

Copy a YouTube url

  1. go to a channel (ex: https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA )
  2. test copying a YouTube url
  3. verify that it is correct by pasting it in a browser

Open a YouTube url

  1. go to a channel (ex: https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA )
  2. test opening a YouTube url
  3. verify that a browser window opens with the correct url

Copy an Invidious url

  1. go to a channel (ex: https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA )
  2. test copying a Invidious url
  3. verify that it is correct by pasting it in a browser

Open an Invidious url

  1. go to a channel (ex: https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA )
  2. test opening a Invidious url
  3. verify that a browser window opens with the correct url

Playlist

playlist share menu (opened)

  1. Repeat tests for channel page but for a playlist (ex: https://youtube.com/playlist?list=PLoSWVnSA9vG9qV0CVCpg5WwEy3LiP7udY )
  2. test copying/opening YouTube and Invidious embeds as well

Video

video share menu (opened)

  1. Repeat tests for channel/playlist page but for a video (ex: https://youtu.be/NDsO1LT_0lw )
  2. test copying/opening YouTube and Invidious links with a timestamp as well (ex: https://youtu.be/NDsO1LT_0lw?t=120 )
  3. test copying/opening YouTube and Invidious links with a playlist (ex: https://youtu.be/NDsO1LT_0lw?list=PLoSWVnSA9vG9qV0CVCpg5WwEy3LiP7udY )

Desktop

  • OS: Fedora Linux
  • OS Version: 41 KDE
  • FreeTube version: latest nightly

ChunkyProgrammer avatar Feb 25 '25 16:02 ChunkyProgrammer