Skip to content

Web Cloud Files: tags action, reuse internal viewers, drop bucket-create - #81

Merged
ehsan6sha merged 1 commit into
mainfrom
fix/cloud-files-tags-viewers-no-bucket
Jun 22, 2026
Merged

Web Cloud Files: tags action, reuse internal viewers, drop bucket-create#81
ehsan6sha merged 1 commit into
mainfrom
fix/cloud-files-tags-viewers-no-bucket

Conversation

@ehsan6sha

Copy link
Copy Markdown
Member

What

Three fixes to the web Cloud Files browser (reported after the initial build):

  1. Tags — the file menu now has a Tags action reusing the category screen's tag selector (showWebTagSelectorDialog + WebTagService). Tags round-trip with the category tabs (same remoteKey = <bucket>/<key>). (Action only — chips on rows not yet shown; see caveat.)

  2. Reuse the internal viewers — opening a file routes through the same viewers the category tabs use, instead of image-or-download:

    • image → inline image dialog (+ thumbnail backfill)
    • video → MediaPreviewDialog
    • audio → the full-screen queue player (WebAudioController + WebAudioPlayer), queued over the current folder's audio
    • text → WebTextViewer
    • documents / other → download (exactly as the category tabs do — web has no inline PDF viewer)

    No viewers were recreated.

  3. Removed the "New bucket" affordance — only pre-created buckets now (the createBucket call + its name validator are gone). In-bucket New folder + Upload stay.

Verification

  • flutter analyze clean; flutter build web --release green. Advisor-reviewed (audio-queue index + tag remoteKey verified correct).

⚠️ Two things to confirm

  • Tag chips: the tag action works (add/edit tags); a file's existing tags aren't yet shown as chips on the Cloud Files rows the way the category tabs show them. Quick follow-up if wanted.
  • Live-verify the viewers (never invoked from Cloud Files before): open an image, a video, an audio (the queue player should open + play), and a text file from Cloud Files — each should use the in-app viewer, not download.

Bumps web version to v1.11.4.18.

🤖 Generated with Claude Code

Three fixes to the Cloud Files browser:
- Tags: the file menu now has a "Tags" action that reuses the category screen's
  tag selector (showWebTagSelectorDialog + WebTagService) — tags round-trip
  with the category tabs (same remoteKey "<bucket>/<key>").
- Viewers: opening a file routes through the SAME internal viewers the category
  tabs use, instead of image-or-download — video via MediaPreviewDialog, audio
  via the full-screen queue player (WebAudioController + WebAudioPlayer, queued
  over the current folder's audio), text via WebTextViewer, image via the
  inline dialog (+ thumbnail backfill), documents/other → download (as the
  category tabs do). No viewers recreated.
- Removed the "New bucket" FAB — only pre-created buckets now (createBucket call
  + its name validator dropped). In-bucket New folder + Upload stay.

Bumps web app version to v1.11.4.18.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ehsan6sha
ehsan6sha merged commit 20fe3f3 into main Jun 22, 2026
1 check passed
ehsan6sha added a commit that referenced this pull request Jun 22, 2026
…mports)

Brings the parallel Web Cloud Files (#76/#78/#80/#81) + multi-language landing (#69-73) work into the MCP integration branch. Sole conflict was the import block in fula_api_service.dart - kept both sides (AI-connections + secure_storage AND cloud_folder_marker). web_bucket_screen.dart auto-merged with all 6 P14.1 downloadBySourceBucket routing edits intact. flutter analyze: 0 errors app-wide.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161UGEJmTpM6DM2cVZyV6Ev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant