Skip to content
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

feat: add media requests widget #774

Merged
merged 19 commits into from
Aug 24, 2024
Merged

Conversation

manuel-rw
Copy link
Member

@manuel-rw manuel-rw commented Jul 10, 2024


Homarr

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

  • Builds without warnings or errors (pnpm buid, 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)

@manuel-rw manuel-rw force-pushed the feat/add-media-requests-widget branch from 2558aa8 to f4d909f Compare July 28, 2024 10:24
@SeDemal SeDemal force-pushed the feat/add-media-requests-widget branch from 3db45e0 to b3b8b1d Compare August 1, 2024 15:12
@SeDemal SeDemal marked this pull request as ready for review August 1, 2024 15:17
@SeDemal SeDemal requested a review from a team as a code owner August 1, 2024 15:17
@SeDemal SeDemal self-assigned this Aug 1, 2024
@manuel-rw
Copy link
Member Author

manuel-rw commented Aug 4, 2024

@homarr-labs/contributors and @homarr-labs/maintainers please review - I cannot approve since I'm the creator of the PR

Copy link

deepsource-io bot commented Aug 24, 2024

Here's the code health analysis summary for commits 7ec4adc..c5be21f. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ Success
🎯 270 occurences resolved
View Check ↗

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

Copy link

github-actions bot commented Aug 24, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 39.87% 11655 / 29228
🔵 Statements 39.87% 11655 / 29228
🔵 Functions 36.91% 282 / 764
🔵 Branches 71.36% 1079 / 1512
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
packages/api/src/middlewares/integration.ts 0% 0% 0% 0% 1, 4-6, 8-9, 11, 13, 26-51, 53-58, 60, 62-69, 71-84, 96-123, 125-131, 133, 135-150, 162-189, 191-197, 199, 201-203, 205-210, 212-227, 237-247, 249-253, 255, 257, 259-263
packages/api/src/router/integration/integration-test-connection.ts 92.45% 85.71% 100% 92.45% 74-75, 95-96
packages/api/src/router/widgets/index.ts 0% 0% 0% 0% 1-10, 12-22
packages/api/src/router/widgets/media-requests.ts 0% 0% 0% 0% 1-4, 9-10, 12-40, 42-48
packages/cron-jobs/src/index.ts 0% 0% 0% 0% 1-7, 9-10, 12-21
packages/cron-jobs/src/jobs/integrations/media-requests.ts 0% 0% 0% 0% 1-4, 6-7, 9, 11-14, 16-24, 26, 28-38, 40-51
packages/db/queries/index.ts 0% 0% 0% 0% 1
packages/db/queries/item.ts 0% 0% 0% 0% 1, 4, 6, 8-30, 32-39, 41-47
packages/definitions/src/widget.ts 100% 100% 100% 100%
packages/integrations/src/index.ts 100% 100% 100% 100%
packages/integrations/src/types.ts 0% 0% 0% 0% 1-3
packages/integrations/src/base/creator.ts 69.23% 100% 0% 69.23% 13-18, 20-21
packages/integrations/src/interfaces/media-requests/media-request.ts 100% 100% 100% 100%
packages/integrations/src/jellyseerr/jellyseerr-integration.ts 100% 100% 100% 100%
packages/integrations/src/overseerr/overseerr-integration.ts 32.63% 100% 0% 32.63% 12-16, 18-21, 23-24, 28-32, 35-39, 41-42, 45, 47-53, 55-80, 83-89, 92-105, 108-114, 117-123, 126-130, 132-140, 142-149, 153, 155-157, 159-160, 206-209, 236-239
packages/integrations/test/home-assistant.spec.ts 100% 100% 100% 100%
packages/translation/src/type.ts 0% 0% 0% 0%
packages/translation/src/lang/en.ts 100% 100% 100% 100%
packages/widgets/src/index.tsx 77.08% 100% 0% 77.08% 58-59, 61-66, 68-70
packages/widgets/src/clock/component.tsx 0% 0% 0% 0% 1, 3-8, 12-14, 16-27, 29-35, 37, 39, 45-49, 51-55, 57-62, 64-68, 70-71
packages/widgets/src/media-requests/list/component.tsx 0% 0% 0% 0% 1, 15-16, 18-19, 21, 25-37, 39-48, 50-66, 68, 70, 72, 74-78, 80-88, 90-100, 102-108, 110-131, 133-142, 144-162, 164-181, 183-198, 200-203, 205-210, 212, 214-230
packages/widgets/src/media-requests/list/index.ts 100% 100% 100% 100%
packages/widgets/src/media-requests/list/serverData.ts 0% 0% 0% 0% 1, 3, 7-12, 14-17, 19-22
packages/widgets/src/media-requests/stats/component.tsx 0% 0% 0% 0% 1-3, 15-16, 18-19, 23, 25-36, 38-47, 49, 51-54, 56-65, 67-71, 74-78, 82-123, 125-133, 135-147, 149-170, 172-183, 185-210, 212-218, 220
packages/widgets/src/media-requests/stats/index.ts 100% 100% 100% 100%
packages/widgets/src/media-requests/stats/serverData.ts 0% 0% 0% 0% 1, 3, 7-15, 17-20, 22-25
packages/widgets/src/weather/component.tsx 0% 0% 0% 0% 1-4, 7, 10, 12-23, 25-32, 34-35, 37, 39, 41, 47-80, 82, 84, 86-97, 99-113, 115, 117-130, 132-147, 149, 151-152
Generated in workflow #2670

Copy link
Member

@Meierschlumpf Meierschlumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think overseer and jellyseer integrations are the same, right?

@manuel-rw manuel-rw merged commit acbb834 into dev Aug 24, 2024
14 checks passed
@manuel-rw manuel-rw deleted the feat/add-media-requests-widget branch August 24, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants