v0.18.0 — Files tab
Samaroh 0.18.0 — Files tab
Before installing
- Apply the shared database migration first: run
009_files_tab.sql(fromsamaroh-shared/supabase/migrations/) against your Supabase project — e.g.supabase db push. The app syncs the newfolders,filesandfolder_accesstables and will not work correctly against a project that hasn't been migrated. - 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_foldersdefaults to the member'suploadvalue 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.