Skip to content

describe user preference fields - #616

Merged
ornicar merged 1 commit into
lichess-org:masterfrom
Bryght-Labs-Richard:userPreferenceDescriptions
Feb 18, 2026
Merged

describe user preference fields#616
ornicar merged 1 commit into
lichess-org:masterfrom
Bryght-Labs-Richard:userPreferenceDescriptions

Conversation

@Bryght-Labs-Richard

Copy link
Copy Markdown
Contributor

No description provided.

@ornicar ornicar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice!

Comment thread doc/specs/schemas/UserPreferences.yaml Outdated
@gameroman

Copy link
Copy Markdown
Contributor

Would it be a good idea to use an enum?

@Bryght-Labs-Richard

Copy link
Copy Markdown
Contributor Author

I'm not too familiar with YAML enums, but it seems like the other enums in this file are just a list of numbers. I would be pro-enum if there were a way to link the numbers and names.

Otherwise, it seems just like dual-maintenance with the server if the server ever changes, and we have to describe the numbers in freeform text anyways.

@ornicar
ornicar merged commit 38053e7 into lichess-org:master Feb 18, 2026
6 checks passed
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.

3 participants