Skip to content

feat(edit-release-info): add Uncensored checkbox - #1461

Merged
harshithmohan merged 1 commit into
masterfrom
feat/edit-release-info-uncensored
Sep 7, 2026
Merged

feat(edit-release-info): add Uncensored checkbox#1461
harshithmohan merged 1 commit into
masterfrom
feat/edit-release-info-uncensored

Conversation

@harshithmohan

Copy link
Copy Markdown
Member

Adds an Uncensored checkbox to the Edit Release Info modal, implemented as the inverse of the existing IsCensored field (no new server field).

Changes

  • EditReleaseInfoModal.tsx: new handleCensoredChange handler, Uncensored checkbox, setIfTouched('IsCensored', ...) in save, and a taller modal (h-188) to fit the extra row.
  • useReleaseInfoForm.ts: add isCensored to form state and censored to the hasDifferent diff tracking.
  • link-files-with-providers.ts: add IsCensored to TouchableField.

The checkbox only reads as checked when IsCensored === false (undefined/null renders unchecked), matching the sibling Chaptered/Creditless checkboxes.

@harshithmohan
harshithmohan enabled auto-merge (squash) September 7, 2026 11:46
@harshithmohan
harshithmohan merged commit 9c776ea into master Sep 7, 2026
3 checks passed
@harshithmohan
harshithmohan deleted the feat/edit-release-info-uncensored branch September 7, 2026 11:48
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.

1 participant