Skip to content

v0.18.0 — Files tab

Choose a tag to compare

@github-actions github-actions released this 29 Sep 23:47
· 17 commits to main since this release

Samaroh 0.18.0 — Files tab

Before installing

  1. Apply the shared database migration first: run 009_files_tab.sql (from samaroh-shared/supabase/migrations/) against your Supabase project — e.g. supabase db push. The app syncs the new folders, files and folder_access tables and will not work correctly against a project that hasn't been migrated.
  2. Grant Files permissions to members: after migrating, open Menu → Members and enable the new Files permissions (view / upload / delete / manage folders) for each member who should see the tab. Existing members have no Files access until you grant it.

Files (new)

  • New Files tab: file storage for your business, backed by the business's Google Drive. Organise documents in folders with breadcrumbs, switch between grid and list views, and open files in a viewer.
  • Upload any file type using the system picker; uploads are staged offline and sent when you're online.
  • Search across all your files from the Files tab.
  • Per-folder access: folder owners can restrict a folder to selected members.
  • Share to Samaroh: sharing from another app now offers a chooser — Add to inventory (item photo) or Save to Files — with a folder picker that includes New folder so you can file it in one step.

Navigation

  • Files now sits in the bottom bar.
  • Menu (Settings, Reports, Members, Sync, About) has moved behind the three-dot button in the title bar, next to the sync icon.

Permissions

  • New Files permission keys: files.view, files.upload, files.delete, files.manage_folders. manage_folders defaults to the member's upload value when unset; the Staff preset grants it.
  • The Members permission editor shows the new Files actions.

Other

  • Files records use server-assigned creation timestamps so ordering is consistent across devices.
  • Documentation and design records updated (ADR-085 Files module, ADR-086 unified share chooser, ADR-087 Menu in title bar).

Full changes: v0.17.0…v0.18.0.