feat: implement storage tab in profile modal

- Add Storage tab to Profile Modal HTML with provider selector (R2 default) and connection form
- Wire ProfileModalController to handle tab switching, unlocking storage, and saving/testing connections
- Inject storageService into ProfileModalController via ApplicationBootstrap
- Repurpose Endpoint input as Account ID for R2 configurations
- Implement form validation and lock state handling
This commit is contained in:
google-labs-jules[bot] committed 2026-01-16 02:05:44 +00:00
1 parent 7649630072
commit 621f0e4ce7
3 files changed
+478

No files matched your search

+2
View File
@@ -14,6 +14,7 @@ import hashtagPreferences, {
} from "../services/hashtagPreferencesService.js";
import NwcSettingsService from "../services/nwcSettingsService.js";
import nostrService from "../services/nostrService.js";
import storageService from "../services/storageService.js";
import watchHistoryService from "../watchHistoryService.js";
import r2Service from "../services/r2Service.js";
import { createFeedEngine } from "../feedEngine/index.js";
@@ -426,6 +427,7 @@ export default class ApplicationBootstrap {
userBlocks,
nostrClient,
nostrService: app.nostrService,
storageService,
subscriptions,
accessControl,
moderation: moderationService,