@brftech/filex-core 0.31.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -50,7 +50,8 @@ const config = {
50
50
  trashVisible: true,
51
51
  sideNav: true, // the navigation panel (default on)
52
52
  connections: true, // its "How to connect" + "API keys" entries
53
- uiProfile: 'standard', // or 'simple' — one pane, list/grid, no tabs
53
+ uiProfile: 'standard', // 'simple' — one pane, list/grid, no tabs
54
+ // 'drive' — that, plus the Drive-shaped shell
54
55
  };
55
56
  </script>
56
57
 
@@ -108,7 +109,7 @@ const config = {
108
109
  apiBase: 'https://files.example.com',
109
110
  auth: { kind: 'bearer', token },
110
111
  sideNav: true, // default; `rootPath` flips it off
111
- uiProfile: 'simple', // 'standard' (default) | 'simple'
112
+ uiProfile: 'simple', // 'standard' (default) | 'simple' | 'drive'
112
113
  };
113
114
  ```
114
115
 
@@ -137,6 +138,29 @@ from the build. It turns off the tab strip and the split pane, reduces the view
137
138
  switcher to list + grid, and starts the navigation panel expanded, for the
138
139
  people who want a file drive rather than a file manager.
139
140
 
141
+ `uiProfile: 'drive'` is `simple` plus the shell those people already know:
142
+
143
+ - one primary **+ New** menu in the panel (upload files · new folder · request
144
+ files) instead of the Upload / New folder pair,
145
+ - one **search field across the header** with a ⌘K / Ctrl+K chip that hands the
146
+ query to the command palette — the field searches the folder you are in, the
147
+ palette is where "everywhere", saved searches and commands live,
148
+ - a **filter row** under the breadcrumb: Type · Modified · Size,
149
+ - **Folders** and **Files** as labelled sections in grid view,
150
+ - the details panel split into **Details** and **Activity**, with "People with
151
+ access" and a share-link row,
152
+ - a **storage line** under the navigation (`GET /api/files/quota/me`).
153
+
154
+ Nothing is removed here either: density, theme, the shortcut editor, the tour
155
+ and the other view modes all live in the header's "⋯" menu, and the view
156
+ switcher and details toggle move to the breadcrumb row rather than disappearing.
157
+
158
+ ⚠ There is deliberately **no People filter** and no Owner column, though the
159
+ mockups this profile came from draw both: a listing row carries no owner
160
+ (`nodes.owner_id` is quota bookkeeping, serialized by nothing) and the listing
161
+ endpoint reads no owner parameter. A chip that opens, offers names and changes
162
+ nothing is worse than no chip.
163
+
140
164
  ### Connections
141
165
 
142
166
  A second surface, for reaching the same server *without* a browser. filex can