Skip to content

Conversation

@dialmaster
Copy link
Collaborator

@dialmaster dialmaster commented Jan 11, 2026

  • Rename "Refresh All" to "Load More" for clarity
  • Add 5000 video limit to number of videos that will be fetched per channel
    • Fixes issue where some channels with HUGE numbers of videos just fetch forever
  • Ensure that loading state when fetching videos is shown, even when navigating away or between tabs and channels
  • Increase regex preview sample from 20 to 50 videos in channel settings
    • Helps users get a better idea of how their regex will work
  • Track fetch operations per channel/tab combination (composite key) instead of per channel
  • Add /api/channels/:channelId/fetch-status endpoint to check if a fetch is in progress
  • Add minDuration, maxDuration, dateFrom, dateTo query params to /getchannelvideos endpoint
  • Create useChannelVideoFilters hook with debounced duration inputs
  • Add filter UI components with responsive desktop (collapsible panel) and mobile (drawer) layouts
  • Integrate filters into ChannelVideos page, clearing on tab change
  • Add and update tests

Closes #342
image

image

- Rename "Refresh All" to "Load More" for clarity
- Add 5000 video limit to number of videos that will be fetched per channel
  - Fixes issue where some channels with HUGE numbers of videos just fetch forever
- Ensure that loading state when fetching videos is shown, even when navigating away
  or between tabs and channels
- Increase regex preview sample from 20 to 50 videos in channel settings
  - Helps users get a better idea of how their regex will work
- Track fetch operations per channel/tab combination (composite key) instead of per channel
- Add /api/channels/:channelId/fetch-status endpoint to check if a fetch is in progress
- Add and update tests
@github-actions
Copy link
Contributor

github-actions bot commented Jan 11, 2026

📊 Test Coverage Report

Backend Coverage

Type Coverage Status
Lines 80.08% 🟢
Statements 80.02% 🟢
Functions 79.74% 🟡
Branches 72.99% 🟡

Frontend Coverage

Type Coverage Status
Lines 84.19% 🟢
Statements 83.20% 🟢
Functions 79.32% 🟡
Branches 81.62% 🟢

Coverage Requirements

  • Minimum threshold: 70% line coverage
  • Backend: ✅ Passes
  • Frontend: ✅ Passes

Coverage report generated for commit dcd3046

- Add minDuration, maxDuration, dateFrom, dateTo query params to /getchannelvideos endpoint
- Create useChannelVideoFilters hook with debounced duration inputs
- Add filter UI components with responsive desktop (collapsible panel) and mobile (drawer) layouts
- Integrate filters into ChannelVideos page, clearing on tab change
- Add test coverage for all new components and hooks
@dialmaster dialmaster changed the title feat: Channel videos enhancements feat: Improve UI/UX and logic for loading channel videos from YouTube and add channel video filtering. Jan 11, 2026
@dialmaster dialmaster requested a review from mkulina January 11, 2026 05:10
@dialmaster dialmaster linked an issue Jan 11, 2026 that may be closed by this pull request
@dialmaster dialmaster merged commit 2514dd7 into dev Jan 11, 2026
4 checks passed
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.

Filter/Sort a Channels Videos

2 participants