Commit f4d46ac
fix: show warning instead of validation error on WIP settings tabs
The Save All Changes button in Admin Settings was triggering a confusing
"Site name and description are required" error when clicked on non-General
tabs because all tabs routed to the /general endpoint which validates
those fields.
Now the saveAllSettings() function checks if the current tab has save
functionality implemented. For WIP tabs (Appearance, Security, Notifications,
Storage), it shows a warning notification explaining that saving is not yet
available for that section.
Fixes #345
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 511b3ec commit f4d46ac
1 file changed
Lines changed: 9 additions & 0 deletions
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
156 | 165 | | |
157 | 166 | | |
158 | 167 | | |
| |||
0 commit comments