Implement UI enhancements, change password settings, theme toggle, and custom grid size slider
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m19s

This commit is contained in:
Elijah 2026-05-22 18:22:21 -07:00
parent 425598c278
commit c3b1fe8de1
5 changed files with 226 additions and 26 deletions

View file

@ -137,6 +137,14 @@ class ApiClient {
this.clearTokens();
}
async changePassword(oldPassword: string, newPassword: string) {
const res = await this.request('/api/auth/password', {
method: 'PUT',
body: { old_password: oldPassword, new_password: newPassword },
});
return res.json();
}
// --- Files ---
async listDirectory(path: string = '.') {
const res = await this.request(`/api/files/?path=${encodeURIComponent(path)}`);