-
Notifications
You must be signed in to change notification settings - Fork 113
chore: Add config lexicon #8083
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
base: main
Are you sure you want to change the base?
Conversation
34d4abc to
bcef4c4
Compare
4ea9e90 to
18d6f87
Compare
Signed-off-by: Julius Knorr <[email protected]>
Signed-off-by: Julius Knorr <[email protected]>
18d6f87 to
8e22c19
Compare
|
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? |
mejo-
left a comment
There was a problem hiding this 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', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| definition: 'Whether rich workspace is enabled for the user', | |
| definition: 'Whether folder description feature (previously called rich workspace) is enabled for the user', |
This properly defines possible config options we have
nextcloud/documentation#12982 for some more information on the concept