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 server settings for default board, default color scheme and default locale #1373

Merged
merged 9 commits into from
Nov 2, 2024

Conversation

Meierschlumpf
Copy link
Member

@Meierschlumpf Meierschlumpf commented Oct 25, 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)

image

@Meierschlumpf Meierschlumpf added the enhancement New feature or request label Oct 25, 2024
@Meierschlumpf Meierschlumpf self-assigned this Oct 25, 2024
Copy link

deepsource-io bot commented Oct 25, 2024

Here's the code health analysis summary for commits a4ae38b..e74efbd. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

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

Copy link

github-actions bot commented Oct 25, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 39.39% 14306 / 36314
🔵 Statements 39.39% 14306 / 36314
🔵 Functions 35.85% 389 / 1085
🔵 Branches 70.77% 1320 / 1865
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
apps/nextjs/src/middleware.ts 0% 0% 0% 0% 1, 6-7, 10-13, 15-17
apps/nextjs/src/app/[locale]/layout.tsx 0% 0% 0% 0% 1, 28-31, 34-55, 57-62, 64-67, 69-73, 75-84, 86, 88-95, 97-107, 109
apps/nextjs/src/app/[locale]/_client-providers/mantine.tsx 0% 0% 0% 0% 1, 14-18, 20-28, 30-32, 34, 36-37, 39-41, 43-47, 49-53, 55-61, 63-78
apps/nextjs/src/app/[locale]/boards/_layout-creator.tsx 0% 0% 0% 0% 1, 23-30, 32-37, 39-41, 43-56, 58, 60-61
apps/nextjs/src/app/[locale]/boards/(content)/_theme.tsx 0% 0% 0% 0% 1, 12-17, 19-26, 28-31, 33, 35-42, 44-46, 48-56, 58-59
apps/nextjs/src/app/[locale]/boards/[name]/settings/_danger.tsx 0% 0% 0% 0% 1, 15-25, 27-35, 37-65, 67-82, 84-103, 105-113, 115, 125-139, 141
apps/nextjs/src/app/[locale]/boards/[name]/settings/page.tsx 0% 0% 0% 0% 1, 42-52, 54-55, 58-60, 62-64, 66-70, 72-100, 102-104, 106, 115-128, 131-139, 141
apps/nextjs/src/app/[locale]/manage/settings/page.tsx 0% 0% 0% 0% 1, 13-15, 17-20, 22-45, 47
apps/nextjs/src/app/[locale]/manage/settings/_components/appearance-settings-form.tsx 0% 0% 0% 0% 1, 14-15, 17-30, 32, 34, 36-39, 41-42, 44-50, 52
apps/nextjs/src/app/[locale]/manage/settings/_components/board-settings-form.tsx 0% 0% 0% 0% 1, 13-15, 17-30, 32-36, 38-40, 42, 44
apps/nextjs/src/app/[locale]/manage/settings/_components/common-form.tsx 0% 0% 0% 0% 1, 11-15, 19-36, 38-43, 45-55, 57
apps/nextjs/src/app/[locale]/manage/settings/_components/culture-settings-form.tsx 0% 0% 0% 0% 1, 10-11, 13-22, 24, 26
apps/nextjs/src/app/[locale]/manage/users/[userId]/general/page.tsx 0% 0% 0% 0% 1, 27-33, 35-37, 39, 41-44, 46-54, 56-58, 60, 62, 64-69, 72-80, 82-85, 87-96, 98-101, 103-106, 108-115, 117, 119
apps/nextjs/src/components/user-avatar-menu.tsx 0% 0% 0% 0% 1, 33-36, 38, 40, 42-43, 45-46, 48-61, 63-72, 74-83, 85-86, 88-91, 93-97, 99-101, 103-105, 107, 109-114, 116-118, 120-128, 130-139
apps/nextjs/src/components/language/current-language-combobox.tsx 0% 0% 0% 0% 1, 7-9, 11-12
apps/nextjs/src/components/language/language-combobox.tsx 0% 0% 0% 0% 1, 19-22, 24-33, 35-37, 39-51, 53-65, 67, 69-73, 77-90, 92
apps/nextjs/src/components/layout/analytics.tsx 0% 0% 0% 0% 1, 7, 9, 11-13, 15-16
apps/nextjs/src/components/layout/search-engine-optimization.tsx 0% 0% 0% 0% 1, 4-5, 7, 9-11, 13-15, 17, 19-21, 23-25, 27-31, 33
apps/nextjs/src/theme/color-scheme.ts 0% 0% 0% 0% 1, 9-10, 12-14, 16-18
packages/analytics/src/send-server-analytics.ts 0% 0% 0% 0% 1, 13-15, 17-20, 22-26, 28-30, 32-33, 35-39, 41-46, 48-49, 51-55, 57-62, 64-65, 67-77, 79, 81-83, 85-88, 90-91
packages/api/src/router/board.ts 82.27% 83.87% 100% 82.27% 35-43, 46-53, 127-130, 132-148, 150-152, 154-187, 189-195, 233-237, 250, 252, 260, 517, 536, 548-549, 567-568, 581-583, 647-651, 683-684
packages/api/src/router/serverSettings.ts 95.65% 100% 100% 95.65% 10
packages/api/src/router/test/board.spec.ts 100% 100% 100% 100%
packages/api/src/router/test/serverSettings.spec.ts 100% 100% 100% 100%
packages/auth/events.ts 98.19% 88.88% 100% 98.19% 122-123
packages/auth/test/events.spec.ts 100% 100% 100% 100%
packages/cron-jobs/src/jobs/analytics.ts 0% 0% 0% 0% 1, 8-11, 13-15, 17-18
packages/db/migrations/seed.ts 0% 0% 0% 0% 1, 12-15, 17-20, 22-25, 27-32, 34-35, 37-46, 48-50, 52-55, 57-65
packages/db/queries/index.ts 100% 100% 100% 100%
packages/db/queries/server-setting.ts 86.48% 85.71% 100% 86.48% 21-25
packages/definitions/src/cookie.ts 100% 100% 100% 100%
packages/definitions/src/index.ts 100% 100% 100% 100%
packages/server-settings/src/index.ts 100% 100% 100% 100%
packages/translation/src/config.ts 100% 100% 100% 100%
packages/translation/src/middleware.ts 0% 0% 0% 0% 1, 6-7, 9, 11-12
packages/translation/src/request.ts 0% 0% 0% 0% 1-2, 4, 6, 9-10, 12-15, 17-18, 21-27, 29-33
packages/translation/src/routing.ts 0% 0% 0% 0% 1, 8-18
packages/translation/src/lang/en.ts 100% 100% 100% 100%
packages/ui/src/components/index.tsx 100% 100% 100% 100%
Generated in workflow #3473 for commit e74efbd by the Vitest Coverage Report Action

apps/nextjs/src/theme/color-scheme.ts Outdated Show resolved Hide resolved
packages/api/src/router/board.ts Outdated Show resolved Hide resolved
packages/api/src/router/board.ts Outdated Show resolved Hide resolved
@Meierschlumpf Meierschlumpf marked this pull request as ready for review October 26, 2024 21:56
@Meierschlumpf Meierschlumpf requested a review from a team as a code owner October 26, 2024 21:56
manuel-rw
manuel-rw previously approved these changes Oct 30, 2024
packages/definitions/src/cookie.ts Outdated Show resolved Hide resolved
packages/definitions/src/cookie.ts Outdated Show resolved Hide resolved
Copy link
Member

@manuel-rw manuel-rw left a comment

Choose a reason for hiding this comment

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

lgtm

@Meierschlumpf Meierschlumpf merged commit 326b769 into dev Nov 2, 2024
10 checks passed
@Meierschlumpf Meierschlumpf deleted the more-server-settings branch November 2, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants