Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Dec 19, 2025

This properly defines possible config options we have

nextcloud/documentation#12982 for some more information on the concept

@juliusknorr juliusknorr force-pushed the fix/psalm-deprecation branch 3 times, most recently from 34d4abc to bcef4c4 Compare December 19, 2025 21:49
Base automatically changed from fix/psalm-deprecation to main December 19, 2025 22:00
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Julius Knorr <jus@bitgrid.net>
@mejo-
Copy link
Member

mejo- commented Jan 8, 2026

Code changes look good to me, but I don't see the ConfigLexicon class being used anywhere. Also I don't know the concept of a ConfigLexicon yet. Can I read up somewhere about its purpose?

@juliusknorr
Copy link
Member Author

Copy link
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

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

Thanks for the extra pointers @juliusknorr. I have some nitpicking comments about the wording of the descriptions. If you agree with the suggested changes, I can also take care of them to not put more work on your shoulders.

key: 'default_file_extension',
type: ValueType::STRING,
defaultRaw: 'md',
definition: 'Default file extension for new text files',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
definition: 'Default file extension for new text files',
definition: 'Default file extension for new text files (usually \'md\' or \'txt\')',

key: 'open_read_only_enabled',
type: ValueType::BOOL,
defaultRaw: false,
definition: 'Whether opening files in read-only mode is enabled',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
definition: 'Whether opening files in read-only mode is enabled',
definition: 'Whether files are opened in read-only mode per default',

key: 'workspace_available',
type: ValueType::BOOL,
defaultRaw: true,
definition: 'Whether rich workspace feature is available',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
definition: 'Whether rich workspace feature is available',
definition: 'Whether folder description feature (previously called rich workspace) is available',

key: 'notify_push',
type: ValueType::BOOL,
defaultRaw: true,
definition: 'Whether notify_push synchronization is enabled',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
definition: 'Whether notify_push synchronization is enabled',
definition: 'Whether notify_push is used for real-time synchronization if available',

key: 'workspace_enabled',
type: ValueType::BOOL,
defaultRaw: true,
definition: 'Whether rich workspace is enabled for the user',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
definition: 'Whether rich workspace is enabled for the user',
definition: 'Whether folder description feature (previously called rich workspace) is enabled for the user',

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