directus-extension-super-table 0.6.2 → 0.6.4

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.
Files changed (3) hide show
  1. package/README.md +16 -2
  2. package/index.js +2 -2
  3. package/package.json +25 -24
package/README.md CHANGED
@@ -1,12 +1,15 @@
1
1
  # Super Layout Table Extension for Directus
2
2
 
3
+ ![Version](https://img.shields.io/github/v/release/smartlabsAT/directus-super-table)
4
+ ![License](https://img.shields.io/badge/license-MIT-green)
5
+ ![npm downloads](https://img.shields.io/npm/dt/directus-extension-super-table)
3
6
  ![Quality Checks](https://github.com/smartlabsAT/directus-super-table/workflows/Quality%20Checks/badge.svg)
4
7
  ![TypeScript](https://img.shields.io/badge/TypeScript-Strict-blue)
5
8
  ![ESLint](https://img.shields.io/badge/ESLint-0%20errors-brightgreen)
6
9
  ![Prettier](https://img.shields.io/badge/code%20style-prettier-ff69b4)
7
10
  ![Directus](https://img.shields.io/badge/Directus-v11+-00B896)
8
11
 
9
- A powerful and feature-rich table layout extension for Directus 11+ that enhances the default table view with advanced functionality including inline editing, quick filters, bookmarks, and custom cell rendering.
12
+ A powerful and feature-rich table layout extension for Directus 11 and 12 that enhances the default table view with advanced functionality including inline editing, quick filters, shareable saved views, and custom cell rendering.
10
13
 
11
14
 
12
15
  ![Super Table Demo](https://raw.githubusercontent.com/smartlabsAT/directus-super-table/main/demo/super-table-demo.gif)
@@ -24,6 +27,9 @@ Rename table columns on-the-fly without changing the underlying field names. Cre
24
27
  ### 🎨 Quick Filters with Colors & Icons
25
28
  Create custom filter buttons with personalized colors and icons for instant data filtering. Visual organization at its best.
26
29
 
30
+ ### 🔖 Saved & Shared Views
31
+ Save the current table view (columns, filters, sort, search) as a native bookmark — and, as an admin, share it with **specific roles and/or users** in one step (or with everyone). Recipients get the exact same view in their own navigation.
32
+
27
33
  ### 🔍 Global Table Search
28
34
  Powerful search functionality across all table fields, including nested relations and translations. Find anything, anywhere in your data.
29
35
 
@@ -201,6 +207,14 @@ Save table configurations for quick access:
201
207
  3. **Update Bookmark**: Load bookmark, make changes, save with same name
202
208
  4. **Delete Bookmark**: Right-click bookmark and select delete
203
209
 
210
+ ### Shared Views (Save & Share)
211
+ Save the current view and choose who can see it:
212
+
213
+ 1. **Save view**: Click the **Save view** button in the header → name it, optionally pick an icon/color, and choose a scope.
214
+ 2. **Scopes**: **Just me** (personal), **Everyone** (global), or **Specific targets** (admins only) — select any number of **roles** and/or **users** to share with.
215
+ 3. **Re-saving** the same name updates the shared view in place (no duplicates).
216
+ 4. **Visibility**: each recipient sees the shared view once in their own bookmark navigation. Non-admins only ever see the "Just me" option.
217
+
204
218
  ## Project Structure
205
219
 
206
220
  ```
@@ -238,7 +252,7 @@ super-layout-table/
238
252
  ### Prerequisites
239
253
  - Node.js 20+ (CI runs on 20.x and 22.x)
240
254
  - pnpm package manager
241
- - Directus 11.0.0+
255
+ - Directus 11 and 12 (verified on 11.11.0 and 12.0.2)
242
256
 
243
257
  ### Setup Development Environment
244
258
  ```bash