Skip to content

feat(widgets): add media release widget #3219

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

Draft
wants to merge 19 commits into
base: dev
Choose a base branch
from

Conversation

Meierschlumpf
Copy link
Member

@Meierschlumpf Meierschlumpf commented May 24, 2025


Homarr

Thank you for your contribution. Please ensure that your pull request meets the following pull request:

  • Builds without warnings or errors (pnpm build, autofix with pnpm format:fix)
  • Pull request targets dev branch
  • Commits follow the conventional commits guideline
  • No shorthand variable names are used (eg. x, y, i or any abbrevation)
  • Documentation is up to date. Create a pull request here.

Related to #2168

Known issues

  • Currently the tasks service can not start, it is missing the bcrypt binary which is only available as prebuild by specific architecture and not similar to the better-sqlite3 as one simple .node executable that can be copied.

Integrations:

  • Mock
  • Emby
  • Jellyfin
  • Plex

Screenshots:

image
image
image
image

@Meierschlumpf Meierschlumpf self-assigned this May 24, 2025
@Meierschlumpf Meierschlumpf added enhancement New feature or request integration New integration labels May 24, 2025
Copy link

deepsource-io bot commented May 24, 2025

Here's the code health analysis summary for commits cad59ae..190c362. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript❌ Failure
❗ 1 occurence introduced
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

github-actions bot commented May 24, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 22.16% 11179 / 50432
🔵 Statements 22.16% 11179 / 50432
🔵 Functions 30.04% 487 / 1621
🔵 Branches 64.19% 1359 / 2117
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/nextjs/src/app/[locale]/manage/integrations/new/_integration-new-dropdown.tsx 0% 0% 0% 0% 1-57
apps/nextjs/src/app/api/image-proxy/[id]/route.ts 0% 0% 0% 0% 1-19
packages/api/src/router/widgets/index.ts 100% 100% 100% 100%
packages/api/src/router/widgets/media-release.ts 21.15% 100% 100% 21.15% 17-38, 44-65
packages/common/src/id.ts 100% 100% 100% 100%
packages/common/src/index.ts 100% 100% 100% 100%
packages/definitions/src/integration.ts 98.88% 100% 40% 98.88% 187, 190
packages/definitions/src/widget.ts 100% 100% 100% 100%
packages/image-proxy/src/index.ts 15.84% 100% 8.33% 15.84% 11-14, 20-32, 35-47, 50-73, 76-77, 80-91, 94-100, 103-118, 121-126, 129-132
packages/integrations/src/types.ts 100% 100% 100% 100%
packages/integrations/src/base/creator.ts 57.4% 100% 0% 57.4% 35-51, 54-65
packages/integrations/src/emby/emby-integration.ts 32.72% 100% 20% 32.72% 68-83, 86-133, 136-178, 182-198
packages/integrations/src/interfaces/media-releases.ts 100% 100% 100% 100%
packages/integrations/src/jellyfin/jellyfin-integration.ts 3.53% 100% 0% 3.53% 21-131, 134-152
packages/integrations/src/mock/mock-integration.ts 45.45% 100% 0% 45.45% 9-12, 15-16
packages/integrations/src/mock/data/media-releases.ts 100% 100% 100% 100%
packages/integrations/src/plex/plex-integration.ts 25% 100% 0% 25% 19-69, 72-144, 147-156, 159-173, 176-188, 191-201
packages/request-handler/src/media-release.ts 70% 100% 0% 70% 15-17
packages/ui/src/components/overflow-badge.tsx 0% 0% 0% 0% 1-51
packages/widgets/src/index.tsx 54.09% 100% 0% 54.09% 80-96, 111-124
packages/widgets/src/media-releases/component.tsx 0% 0% 0% 0% 1-206
packages/widgets/src/media-releases/index.ts 100% 100% 33.33% 100%
Generated in workflow #6904 for commit 190c362 by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request integration New integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant