feat: cloud native file browser, settings Claude auth, deploy hardening

- Add native Cloud file browser with FileBrowser API integration
- Add cloud store, filebrowser-client, useAudioPlayer, useFileType composables
- Add Cloud components: FileGrid, FileCard, FileCardGrid, CloudToolbar
- Add Claude authentication section to Settings with OAuth status check
- Harden deploy script to preserve /aiui/ and claude-login.html
- Add nginx proxies for btcpay, homeassistant, filebrowser (HTTPS block)
- Add app configs for filebrowser, searxng, penpot in package.rs
- Update goal progress tracking with app aliases
- Improve mobile back button composable with ResizeObserver
- Update various views with cloud integration and UI refinements

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-04 23:05:01 +00:00
parent 173bf8fc0f
commit d7ff678e9d
26 changed files with 2053 additions and 265 deletions

View File

@@ -161,10 +161,16 @@
.chat-mode-pill {
position: absolute;
top: 1rem;
right: 1rem;
top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
right: calc(env(safe-area-inset-right, 0px) + 0.75rem);
z-index: 10;
}
@media (min-width: 768px) {
.chat-mode-pill {
top: 1.25rem;
right: 1.25rem;
}
}
.chat-iframe {
flex: 1;
@@ -609,10 +615,12 @@ body {
background: #000;
color: white;
min-height: 100vh;
min-height: 100dvh;
}
#app {
min-height: 100vh;
min-height: 100dvh;
}
/* Custom scrollbar for glass containers */
@@ -855,3 +863,360 @@ html:has(body.video-background-active)::before {
95% { transform: translate(-2px,1px); clip-path: inset(50% 0 26% 0); }
100% { transform: translate(0,0); clip-path: inset(0% 0 0 0); opacity: 0; }
}
/* ── Cloud File Browser (AIUI-style list cards) ──── */
.cloud-file-list {
display: flex;
flex-direction: column;
gap: 0.125rem;
padding-bottom: 1rem;
}
.cloud-file-item {
display: flex;
gap: 0.75rem;
padding: 0.5rem;
border-radius: 0.75rem;
transition: all 0.2s ease;
text-align: left;
width: 100%;
cursor: pointer;
background: none;
border: none;
color: inherit;
align-items: center;
}
.cloud-file-item:hover {
background: rgba(255, 255, 255, 0.05);
}
.cloud-file-item:active {
background: rgba(255, 255, 255, 0.1);
}
.cloud-file-item:focus-visible {
box-shadow: 0 0 16px rgba(120, 180, 255, 0.2), 0 0 32px rgba(100, 160, 255, 0.1);
}
.cloud-file-item-thumb {
flex-shrink: 0;
width: 3rem;
height: 3rem;
border-radius: 0.5rem;
overflow: hidden;
}
.cloud-file-item-actions {
display: flex;
align-items: center;
gap: 0.25rem;
opacity: 0;
transition: opacity 0.15s ease;
flex-shrink: 0;
}
.cloud-file-item:hover .cloud-file-item-actions,
.cloud-file-item:focus-within .cloud-file-item-actions {
opacity: 1;
}
.cloud-file-action-btn {
display: flex;
align-items: center;
justify-content: center;
width: 1.75rem;
height: 1.75rem;
border-radius: 0.375rem;
background: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.6);
border: none;
cursor: pointer;
transition: all 0.15s ease;
text-decoration: none;
}
.cloud-file-action-btn:hover {
background: rgba(255, 255, 255, 0.15);
color: white;
}
.cloud-file-action-delete:hover {
background: rgba(239, 68, 68, 0.2);
color: #ef4444;
}
.cloud-file-badge {
display: inline-flex;
font-size: 0.6875rem;
font-weight: 500;
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
}
.cloud-file-item-skeleton {
pointer-events: none;
}
/* Toolbar */
.cloud-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 1rem;
}
.cloud-breadcrumbs {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0;
min-width: 0;
}
.cloud-breadcrumb-item {
display: inline-flex;
align-items: center;
gap: 0.125rem;
padding: 0.25rem 0.375rem;
font-size: 0.8125rem;
color: rgba(255, 255, 255, 0.5);
background: none;
border: none;
cursor: pointer;
border-radius: 0.25rem;
transition: all 0.15s ease;
white-space: nowrap;
}
.cloud-breadcrumb-item:hover:not(.cloud-breadcrumb-active) {
color: white;
background: rgba(255, 255, 255, 0.08);
}
.cloud-breadcrumb-active {
color: rgba(255, 255, 255, 0.9);
font-weight: 500;
cursor: default;
}
.cloud-toolbar-btn {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.375rem 0.625rem;
font-size: 0.8125rem;
border-radius: 0.5rem;
}
/* View toggle */
.cloud-view-toggle {
display: flex;
border-radius: 0.5rem;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.cloud-view-toggle-btn {
display: flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
border: none;
cursor: pointer;
background: transparent;
color: rgba(255, 255, 255, 0.35);
transition: all 0.15s ease;
}
.cloud-view-toggle-btn:hover {
color: rgba(255, 255, 255, 0.7);
background: rgba(255, 255, 255, 0.05);
}
.cloud-view-toggle-active {
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.9);
}
/* ── Cloud Card Grid (AIUI-style poster cards) ──── */
.cloud-card-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
padding-bottom: 1rem;
}
@media (min-width: 640px) {
.cloud-card-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (min-width: 1024px) {
.cloud-card-grid {
grid-template-columns: repeat(4, 1fr);
}
}
.cloud-grid-card {
display: flex;
flex-direction: column;
text-align: left;
width: 100%;
border: none;
cursor: pointer;
background: rgba(255, 255, 255, 0.04);
border-radius: 0.75rem;
overflow: hidden;
transition: all 0.2s ease;
color: inherit;
padding: 0;
}
.cloud-grid-card:hover {
background: rgba(255, 255, 255, 0.08);
transform: translateY(-2px);
}
.cloud-grid-card:active {
transform: translateY(0);
}
.cloud-grid-card:focus-visible {
box-shadow: 0 0 16px rgba(120, 180, 255, 0.2), 0 0 32px rgba(100, 160, 255, 0.1);
}
.cloud-grid-card-cover {
position: relative;
width: 100%;
overflow: hidden;
border-radius: 0.625rem;
}
.cloud-grid-card-gradient {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
pointer-events: none;
}
.cloud-grid-card-info {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 0.5rem;
z-index: 1;
}
.cloud-grid-card-badges {
position: absolute;
top: 0.375rem;
right: 0.375rem;
display: flex;
gap: 0.25rem;
z-index: 1;
}
.cloud-grid-card-badge {
font-size: 0.625rem;
font-weight: 500;
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
color: rgba(255, 255, 255, 0.7);
}
/* Play button overlay (audio/video) */
.cloud-grid-card-play {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
backdrop-filter: blur(2px);
background: rgba(0, 0, 0, 0.3);
opacity: 0;
transition: opacity 0.2s ease;
}
.cloud-grid-card:hover .cloud-grid-card-play {
opacity: 1;
}
.cloud-grid-card-play-btn {
width: 3.5rem;
height: 3.5rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(8px);
transition: transform 0.15s ease;
}
.cloud-grid-card:hover .cloud-grid-card-play-btn {
transform: scale(1.1);
}
/* Actions overlay (top-left, on hover) */
.cloud-grid-card-actions {
position: absolute;
top: 0.375rem;
left: 0.375rem;
display: flex;
gap: 0.25rem;
z-index: 3;
opacity: 0;
transition: opacity 0.15s ease;
}
.cloud-grid-card:hover .cloud-grid-card-actions {
opacity: 1;
}
/* Grid skeleton */
.cloud-grid-card-skeleton {
border-radius: 0.75rem;
overflow: hidden;
}
/* Playing state — keep play overlay visible */
.cloud-grid-card-play-active {
opacity: 1 !important;
background: rgba(0, 0, 0, 0.4);
}
/* ── Cloud Audio Player (mini bar) ──── */
.cloud-audio-player {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
margin-top: 0.5rem;
background: rgba(0, 0, 0, 0.65);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 0.75rem;
flex-shrink: 0;
}
.cloud-audio-player-btn {
display: flex;
align-items: center;
justify-content: center;
width: 2.25rem;
height: 2.25rem;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
border: none;
color: white;
cursor: pointer;
flex-shrink: 0;
transition: all 0.15s ease;
}
.cloud-audio-player-btn:hover {
background: rgba(255, 255, 255, 0.2);
}
.cloud-audio-progress {
height: 3px;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
margin-top: 0.375rem;
overflow: hidden;
}
.cloud-audio-progress-bar {
height: 100%;
background: #fb923c;
border-radius: 2px;
transition: width 0.3s linear;
}