Skip to content
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

Adds missing settings defaults for display name driver and User slug driver #2971

Merged
merged 1 commit into from
Aug 15, 2021

Conversation

davwheat
Copy link
Member

Changes proposed in this pull request:

Adds missing default setting values for Display Name Driver and User Slug Driver. This will prevent empty select boxes for these settings on new Flarum installs.

Reviewers should focus on:

Should we add a migration to input these defaults on existing forums where they haven't already been set?

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).

@davwheat davwheat added this to the 1.0.5 milestone Jul 20, 2021
@davwheat davwheat self-assigned this Jul 20, 2021
@davwheat davwheat force-pushed the dw/add-missing-settings-defaults branch from 0337ffe to 3561f90 Compare July 24, 2021 19:35
@davwheat
Copy link
Member Author

Rebased

@davwheat davwheat force-pushed the dw/add-missing-settings-defaults branch from 3561f90 to da442f1 Compare July 30, 2021 18:58
Copy link
Member

@askvortsov1 askvortsov1 left a comment

Choose a reason for hiding this comment

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

Fine for now, but in the long term, I would prefer to get rid of DB backed defsult settings entirely in favor of an extender.

@davwheat davwheat merged commit b88b530 into master Aug 15, 2021
@davwheat davwheat deleted the dw/add-missing-settings-defaults branch August 15, 2021 15:38
@SychO9 SychO9 modified the milestones: 1.0.5, 1.1 Aug 15, 2021
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