Skip to content

[configuration] Move config sections into categories#10556

Open
Montekkundan wants to merge 4 commits into
aces:mainfrom
Montekkundan:montek/10457-config-categories-clean
Open

[configuration] Move config sections into categories#10556
Montekkundan wants to merge 4 commits into
aces:mainfrom
Montekkundan:montek/10457-config-categories-clean

Conversation

@Montekkundan

Copy link
Copy Markdown
Contributor

Brief summary of changes

  • Adds a ConfigCategories table for configuration section metadata.
  • Adds ConfigSettings.CategoryID and migrates existing parentless section rows out of ConfigSettings.
  • Updates the configuration page, config lookup, raisinbread seeds, and config import/path helpers to use categories without changing stored setting values.
CleanShot 2026-06-15 at 08 12 01@2x

Testing instructions

  • Apply SQL/New_patches/2026-05-31_config-categories.sql to a local database.
  • Open http://localhost:8080/configuration/ and confirm the Configuration page loads without warnings.
  • Click category tabs such as Study, Paths, Email, and Log Settings and confirm the expected settings still render.
  • Confirm ConfigCategories has the moved categories and ConfigSettings no longer has rows where Parent IS NULL AND DataType IS NULL.

Link(s) to related issue(s)

@Montekkundan Montekkundan self-assigned this Jun 15, 2026
@github-actions github-actions Bot added Language: SQL PR or issue that update SQL code RaisinBread PR or issue introducing/requiring improvements to the Raidinbread dataset Language: PHP PR or issue that update PHP code Module: configuration PR or issue related to configuration module labels Jun 15, 2026
@skarya22 skarya22 added the State: Needs work PR awaiting additional work by the author to proceed label Jun 16, 2026
Comment thread php/libraries/NDB_Config.class.inc Outdated
@Montekkundan Montekkundan requested a review from skarya22 June 18, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language: PHP PR or issue that update PHP code Language: SQL PR or issue that update SQL code Module: configuration PR or issue related to configuration module RaisinBread PR or issue introducing/requiring improvements to the Raidinbread dataset State: Needs work PR awaiting additional work by the author to proceed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[configuration] Separate Orphan Configs to New Categories Table

2 participants