Commit 69d7e82
committed
feat(ui): modernize CharacterModals with glassmorphism design and add save API
UI Improvements:
- Redesign modal wrapper with gradient background and decorative glow effects
- Apply glassmorphism styling (backdrop-blur, white/10 borders, rounded-2xl/3xl)
- Update form inputs with modern styling (rounded-xl, focus rings, transitions)
- Enhance range slider with gradient thumb and dynamic fill
- Improve tag badges with border accents
- Add glow drop-shadow utilities in tailwind config
API Additions:
- Add db-save-character-details IPC handler in database-handlers.js
- Syncs profile fields (name, nickname, relationship_label, etc.) to characters table
- Expose saveCharacterDetails in preload.js
- Add graceful fallback with user-friendly error message if API not loaded1 parent 1d4d666 commit 69d7e82
4 files changed
Lines changed: 143 additions & 70 deletions
File tree
- desktop
- src
- core/modules/ipc-handlers
- renderer/pages
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
180 | 220 | | |
181 | 221 | | |
182 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
0 commit comments