ProfessionalWiki / ProfessionalWiki/Rules
Normalize condition categories
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Follow-up to https://github.com/ProfessionalWiki/Rules/issues/48
The autocomplete UI in https://github.com/ProfessionalWiki/Rules/pull/39 adds categories using "text format" (with spaces), but the config can still be saved with categories in "database format" (with underscore).
AC: Either rewrite the config JSON on save to ensure all categories are normalized to "text format", or else normalize upon deserialization.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading issue 48 and pull request 39 to understand the existing category formats and autocomplete behavior. Trace where the configuration JSON is saved or deserialized, then choose one of the stated normalization points. Done means categories consistently use text format with spaces regardless of how the config was originally stored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100