Skip to content

Show channels with errors sorted by name#8910

Open
jgresty wants to merge 1 commit intoFreeTubeApp:developmentfrom
jgresty:development
Open

Show channels with errors sorted by name#8910
jgresty wants to merge 1 commit intoFreeTubeApp:developmentfrom
jgresty:development

Conversation

@jgresty
Copy link
Copy Markdown

@jgresty jgresty commented Mar 31, 2026

Sorry about the drive by pull request but this was bothering me and I thought it would be less friction to just post a fix.

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

n/a

Description

When channels fail to get updated for whatever reason, they are inserted into an array of channels with errors in the order they finish processing. Since this is indeterministic it results in the channels being presented to the user in a seemingly random order.

This sorts the list of channels with errors when presenting them so they are always in a consistent order.

Screenshots

Testing

  • Subscribe to multiple channels
  • Stub out getLocalChannelVideos in src/renderer/helpers/api/local.js to always return null
  • Refresh video subscriptions a few times, they should always render in the same order

Desktop

  • OS: any
  • OS Version: n/a
  • FreeTube version: v0.23.15-beta

Additional context

When channels fail to get updated for whatever reason, they are inserted
into an array of channels with errors in the order they finish
processing. Since this is indeterministic it results in the channels
being presented to the user in a seemingly random order.

This sorts the list of channels with errors when presenting them so they
are always in a consistent order.
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) March 31, 2026 05:19
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: waiting for review For PRs that are complete, tested, and ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant