Skip to content

feat(files): refactor settings dialog with new form components - #56437

Closed
nfebe wants to merge 1 commit into
masterfrom
feat/55668/reorganize-files-settings
Closed

feat(files): refactor settings dialog with new form components#56437
nfebe wants to merge 1 commit into
masterfrom
feat/55668/reorganize-files-settings

Conversation

@nfebe

Copy link
Copy Markdown
Contributor

Resolves: #55668

Screenshots

BeforeAfter
before-files-settingsafter-files-settings

@nfebe
nfebe requested a review from a team as a code ownerNovember 14, 2025 12:05
@nfebenfebe added 3. to review Waiting for reviews feature: files labels Nov 14, 2025
@nfebe
nfebe requested review from sorbaugh and removed request for a teamNovember 14, 2025 12:05
@github-project-automationgithub-project-automationBot moved this to 🏗️ In progress in 📁 Files teamNov 14, 2025
Reorganize settings into logical sections using NcFormBox,
NcFormBoxSwitch, NcRadioGroup, and NcFormBoxButton components.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nfebe
nfebeforce-pushed the feat/55668/reorganize-files-settings branch from 3e99299 to 222e7adCompareNovember 14, 2025 12:15
v-model="userConfig.sort_favorites_first"
:label="t('files', 'Sort favorites first')"
data-cy-files-settings-setting="sort_favorites_first"
@update:modelValue="setConfig('sort_favorites_first', $event)" />

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Suggested change
@update:modelValue="setConfig('sort_favorites_first', $event)" />
@update:model-value="setConfig('sort_favorites_first', $event)" />

Even though I get warnings like 18:6 warning v-on event '@update:modelValue' must be hyphenated vue/v-on-event-hyphenation

The hyphenated version does not work.

@kra-mokra-mo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

  • The WebDAV URL should be using NcFormBoxCopyButton.
  • Could Additional settings be ported to the new components? If it requires no API changes, they should be now. If it does, that should be communicated and we should eventually do it.
  • Could I get screenshots of the rest of the dialog?

@susnux

Copy link
Copy Markdown
Contributor

Duplicate of #56408 ?

@nfebenfebe closed this Nov 17, 2025
@github-project-automationgithub-project-automationBot moved this from 🏗️ In progress to ☑️ Done in 📁 Files teamNov 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

Files settings reorganization

3 participants

@nfebe@susnux@kra-mo