Skip to content

Fix deleted videos appears when another video added to another playlist#7681

Merged
FreeTubeBot merged 2 commits intoFreeTubeApp:developmentfrom
PikachuEXE:fix/delete-playlist-item-reappear
Jul 28, 2025
Merged

Fix deleted videos appears when another video added to another playlist#7681
FreeTubeBot merged 2 commits intoFreeTubeApp:developmentfrom
PikachuEXE:fix/delete-playlist-item-reappear

Conversation

@PikachuEXE
Copy link
Member

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Closes #7678

Description

Bug happens due to user playlist updated and local state (playlist items) was manipulated directly to affect the displayed items
Updated to show calculated shown items (existing items - to be deleted items) which works even user playlist re-parsed

Screenshots

Testing

The case in #7678

Previous PRs for undo

Online playlist should not be affected but should be tested
Except there is an error when I try to load more in an online playlist
image

Desktop

  • OS:
  • OS Version:
  • FreeTube version:

Additional context

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) July 15, 2025 01:54
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jul 15, 2025
@PikachuEXE PikachuEXE changed the title $ Rename local data, extra timeout value Fix deleted videos appears when another video added to another playlist Jul 15, 2025
@efb4f5ff-1298-471a-8973-3d47447115dc
Copy link
Member

efb4f5ff-1298-471a-8973-3d47447115dc commented Jul 23, 2025

@ChunkyProgrammer @MarmadileManteater @kommunarr could you prioritise reviewing this whenever you have the time for it. It would be the last commit I need to cherry pick for #7670. More info on that in Matrix Dev channel

@FreeTubeBot FreeTubeBot merged commit d1182b5 into FreeTubeApp:development Jul 28, 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 Jul 28, 2025
@PikachuEXE PikachuEXE deleted the fix/delete-playlist-item-reappear branch July 28, 2025 03:11
efb4f5ff-1298-471a-8973-3d47447115dc pushed a commit to efb4f5ff-1298-471a-8973-3d47447115dc/FreeTube that referenced this pull request Jul 28, 2025
…st (FreeTubeApp#7681)

* $ Rename local data, extra timeout value

* ! Fix deleted videos appears when another video added to another playlist
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Jul 29, 2025
* development: (192 commits)
  Translated using Weblate (Japanese)
  Fix scroll to seek/change volume/playback rate changing too fast with touchpad (FreeTubeApp#6666)
  Move General section within the Distraction Free Settings to top (FreeTubeApp#7719)
  Fix deleted videos appears when another video added to another playlist (FreeTubeApp#7681)
  Change Settings order (FreeTubeApp#7722)
  Migrate Subscriptions{Videos,Live,Shorts,Posts} to the composition API (FreeTubeApp#7717)
  Translated using Weblate (Romanian)
  Translated using Weblate (German)
  Migrate the FtToggleSwitch component to the composition API (FreeTubeApp#7740)
  Add missing FontAwesomeIcon imports to `<script setup>` components (FreeTubeApp#7739)
  Translated using Weblate (Spanish)
  Translated using Weblate (French)
  Translated using Weblate (Basque)
  Translated using Weblate (Chinese (Simplified Han script))
  Translated using Weblate (Breton)
  Translated using Weblate (Estonian)
  Translated using Weblate (Italian)
  Translated using Weblate (Tamil)
  Translated using Weblate (Czech)
  Translated using Weblate (Hungarian)
  ...

# Conflicts:
#	package.json
#	src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
#	src/renderer/helpers/api/local.js
#	yarn.lock
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.

[Bug]: Removed video from playlist appear for a second when adding video to another playlist

5 participants