feat: Settings in Datenbank speichern statt localStorage
- Neue Spalte 'settings' in users-Tabelle (Migration via TryAddColumn) - SettingsEndpoint: GET/PUT /api/settings - DatabaseService: GetUserSettings() + UpdateUserSettings() - Frontend: currentSettings als globaler State in app.js - settings-page.js: localStorage komplett entfernt, nutzt API - Settings werden beim App-Start aus DB geladen und angewendet
This commit is contained in:
1 parent
aac10901fa
commit
a0752ea492
8 files changed
+102
-43
No files matched your search
@@ -79,7 +79,6 @@ header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
transition: var(--transition-duration);
|
||||
}
|
||||
|
||||
.page-content {
|
||||
@@ -96,4 +95,5 @@ header,
|
||||
width: var(--page-width);
|
||||
max-width: 100%;
|
||||
align-self: center;
|
||||
transition: width var(--transition-duration);
|
||||
}
|
||||
Reference in new issue
Block a user