Skip to content

fix(settings): link request limit labels to their fields - #3720

Merged
0xSysR3ll merged 2 commits into
seerr-team:developfrom
atilaszsz:fix-quota-label-ids
Nov 21, 2026
Merged

0xSysR3ll merged 2 commits into
seerr-team:developfrom
atilaszsz:fix-quota-label-ids

Conversation

@atilaszsz

@atilaszsz atilaszsz commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

The "Global Movie Request Limit" and "Global Series Request Limit" labels in Settings > Users used htmlFor="applicationTitle", and the two selects inside QuotaSelector had no id. Because of that, the request limit labels were not linked to any field, both in Settings > Users and in a user's General settings, where the labels already used movieQuotaLimit and tvQuotaLimit.

This PR gives the limit and days selects in QuotaSelector the ids passed as limitFieldName and dayFieldName, and points the two labels in Settings > Users to movieQuotaLimit and tvQuotaLimit.

How Has This Been Tested?

  • pnpm build, pnpm test (313 tests), pnpm i18n:extract (no changes), Prettier, ESLint and the client type check all passed.
  • It started the built app and checked every label on Settings > Users and on a non-admin user's General settings in an automated browser.
  • Before the change, four labels were not linked to any field: "Global Movie Request Limit" and "Global Series Request Limit" in Settings > Users, and "Movie Request Limit" and "Series Request Limit" in the user's General settings.
  • After the change, all four are linked, and clicking "Global Movie Request Limit" or "Global Series Request Limit" focuses the matching select. None of the new ids is duplicated on either page.

To check by hand, open Settings > Users and click the request limit labels.

Screenshots / Logs (if applicable)

Checklist:

  • I have read and followed the contribution guidelines.
  • Disclosed any use of AI (see our policy)
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

Summary by CodeRabbit

  • Bug Fixes
    • Improved form field labeling for quota settings, helping ensure labels correctly identify the movie and TV limits.
  • Accessibility
    • Added IDs to quota limit and day selectors to support reliable label association.

@atilaszsz
atilaszsz requested a review from a team as a code owner November 15, 2026 19:36
@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Quota selectors now use field names as element IDs. Movie and TV quota labels now target their respective quota limit fields.

Changes: Quota field identification

Layer / File(s) Summary
Field IDs and label targets
src/components/QuotaSelector/index.tsx, src/components/Settings/SettingsUsers/index.tsx
The limit and day selectors use their field names as IDs. The movie and TV quota labels target movieQuotaLimit and tvQuotaLimit, respectively.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: sct, gauthier-th, m0nsterrr

Merge Risk: Minimal · up to 5b046

This links the request-limit labels to their select fields so that clicking a label focuses the matching control. No functional risk was identified, so it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the request-limit labels in Settings > Users are now linked to their matching form fields. The raw summary confirms the QuotaSelector selects receive IDs from limitFie…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the request-limit labels in Settings > Users are now linked to their matching form fields. The raw summary confirms the QuotaSelector selects receive IDs from limitFieldName and dayFieldName, and the SettingsUsers labels now reference movieQuotaLimit and tvQuotaLimit. The conventional-commit prefix 'fix(settings)' matches the Settings scope.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks each field ID,
Then links the labels side by side.
The quota names now point with care,
For movie and TV fields there.
Hop, hop—the form is neat and clear!

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ed2dedd7-2f1e-418b-ad12-86de15a6d6ac
Commits

Reviewing files that changed from the base of the PR and between fc53b3d and 5b04604.

Files selected for processing: 2

  • src/components/QuotaSelector/index.tsx
  • src/components/Settings/SettingsUsers/index.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@seerr-automation-bot seerr-automation-bot added this to the v3.5.3 milestone Nov 20, 2026
@0xSysR3ll
0xSysR3ll merged commit 77c977f into seerr-team:develop Nov 21, 2026
16 checks passed
@cypress

cypress Bot commented Nov 21, 2026

Copy link
Copy Markdown

seerr    Run #4024

Run Properties:  status check passed Passed #4024  •  git commit 77c977fa0c: fix(settings): link request limit labels to their fields (#3720)
Project seerr
Branch Review develop
Run status status check passed Passed #4024
Run duration 02m 13s
Commit git commit 77c977fa0c: fix(settings): link request limit labels to their fields (#3720)
Committer Átila
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 38
View all changes introduced in this branch ↗︎

jcam2803 added a commit to Team-CamCore/Seerr that referenced this pull request Nov 27, 2026
* ci(git-cliff): flag fork-merged security fixes in release notes (seerr-team#3733)

* chore: make the AI policy harder to miss on PRs and issues (seerr-team#3734)

* fix(settings): link request limit labels to their fields (seerr-team#3720)

* ci: add scorecard workflow (seerr-team#3742)

Signed-off-by: Ludovic Ortega <[email protected]>

* fix(requests): fail requests whose *arr server was deleted (seerr-team#3461)

* ci: flag issues opened outside the issue forms (seerr-team#3746)

* fix(plex): handle shows split across 1080p and 4K libraries (seerr-team#3026)

* ci(docker): use hardened images (seerr-team#3744)

Signed-off-by: Ludovic Ortega <[email protected]>

---------

Signed-off-by: Ludovic Ortega <[email protected]>
Co-authored-by: fallenbagel <[email protected]>
Co-authored-by: Átila <[email protected]>
Co-authored-by: Ludovic Ortega <[email protected]>
Co-authored-by: Austin Rikley <[email protected]>
Co-authored-by: 0xsysr3ll <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

4 participants