add docs part 3
This commit is contained in:
@@ -15,7 +15,8 @@ The gallery viewer provides:
|
|||||||
|
|
||||||
```
|
```
|
||||||
┌─────────────────────────────────────────────────────────────┐
|
┌─────────────────────────────────────────────────────────────┐
|
||||||
│ ← [Actions: Share, Edit, Cast, ⋮] Info ℹ️ │
|
│ ← [♥] [🔍] [▶️] [⬆️] [⬇️] [+] [📺] [💬] [ℹ️] │
|
||||||
|
│ (contextual actions based on asset state) │
|
||||||
├─────────────────────────────────────────────────────────────┤
|
├─────────────────────────────────────────────────────────────┤
|
||||||
│ │
|
│ │
|
||||||
│ │
|
│ │
|
||||||
@@ -25,9 +26,10 @@ The gallery viewer provides:
|
|||||||
│ │
|
│ │
|
||||||
│ │
|
│ │
|
||||||
├─────────────────────────────────────────────────────────────┤
|
├─────────────────────────────────────────────────────────────┤
|
||||||
│ [Stack thumbnails if stacked] │
|
│ [Video controls - if video asset] │
|
||||||
├─────────────────────────────────────────────────────────────┤
|
├─────────────────────────────────────────────────────────────┤
|
||||||
│ ♥ 📤 ⬇️ 🗑 [Add to Album] │
|
│ [Share] [Edit] [Archive] [Stack] [Delete] │
|
||||||
|
│ (contextual actions - vary by asset ownership/type) │
|
||||||
└─────────────────────────────────────────────────────────────┘
|
└─────────────────────────────────────────────────────────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -99,34 +101,39 @@ Optional setting that enables:
|
|||||||
|
|
||||||
## Top App Bar
|
## Top App Bar
|
||||||
|
|
||||||
### Actions Available
|
### Actions Available (conditional based on context)
|
||||||
| Icon | Action |
|
| Icon | Condition | Action |
|
||||||
|------|--------|
|
|------|-----------|--------|
|
||||||
| ← | Close viewer |
|
| ← | Always | Close viewer / Go back |
|
||||||
| Share | System share sheet |
|
| ♥ | Remote asset, owner only | Toggle favorite |
|
||||||
| Edit | Open image editor |
|
| 🔍 | Owner, not in timeline/trash/locked | Locate in timeline |
|
||||||
| Cast | Cast to Chromecast |
|
| ▶️ | Live/motion photo | Play motion photo |
|
||||||
| ⋮ | More options menu |
|
| ⬆️ | Local-only asset | Upload to server |
|
||||||
| ℹ️ | Show info panel |
|
| ⬇️ | Remote-only, owner | Download to device |
|
||||||
|
| + | Remote, owner/partner, not trashed/locked | Add to album |
|
||||||
### More Options Menu
|
| 📺 | Remote + WebSocket connected, or casting | Cast to Chromecast |
|
||||||
- Download
|
| ↩️ | Trashed asset | Restore from trash |
|
||||||
- Set as album cover
|
| 💬 | In shared album, not locked | View activities/comments |
|
||||||
- View in map
|
| ℹ️ | Always | Show info panel |
|
||||||
- Show motion photo
|
|
||||||
- Stack/unstack
|
|
||||||
- Advanced info (debug)
|
|
||||||
|
|
||||||
## Bottom Action Bar
|
## Bottom Action Bar
|
||||||
|
|
||||||
### Primary Actions
|
### Actions (conditional based on context)
|
||||||
| Icon | Action |
|
| Icon | Condition | Action |
|
||||||
|------|--------|
|
|------|-----------|--------|
|
||||||
| ♥ | Toggle favorite |
|
| 📤 Share | Always | System share sheet |
|
||||||
| 📤 | Share |
|
| 🎨 Edit | Image only, not locked | Open image editor |
|
||||||
| ⬇️ | Download to device |
|
| 📦 Archive | Owner, not locked | Archive/Unarchive asset |
|
||||||
| 🗑 | Move to trash |
|
| 📚 Stack | Owner with stacked assets, not locked | Show stack options |
|
||||||
| 📁 | Add to album |
|
| 🗑 Delete | Owner, not in album | Move to trash or delete |
|
||||||
|
| ⬇️ Download | Non-owner only | Download to device |
|
||||||
|
| ✕ Remove | In album view | Remove from current album |
|
||||||
|
|
||||||
|
### Context-Specific Behavior
|
||||||
|
- **Owner viewing own asset**: Share, Edit, Archive, Delete visible
|
||||||
|
- **Non-owner viewing partner asset**: Share, Download visible
|
||||||
|
- **Viewing in album**: Share, Edit, Archive, Remove from album visible
|
||||||
|
- **Viewing in locked folder**: Only Share and Delete visible
|
||||||
|
|
||||||
## Asset Info Panel
|
## Asset Info Panel
|
||||||
|
|
||||||
|
|||||||
@@ -219,6 +219,8 @@ SearchFilter {
|
|||||||
}
|
}
|
||||||
rating: RatingFilter // If rating feature enabled
|
rating: RatingFilter // If rating feature enabled
|
||||||
language: String // For AI search localization
|
language: String // For AI search localization
|
||||||
|
assetId: String? // Search for specific asset by ID
|
||||||
|
tagIds: List<String>? // Filter by tag IDs
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user