Commit Graph

51 Commits

Author SHA1 Message Date
Tom Moor
95c768f444 Allow direct editing of collection icon (#7120)
* Allow direct editing of collection icon

* feedback
2024-06-23 14:26:00 -07:00
Hemachandar
6fd3a0fa8a feat: Unified icon picker (#7038) 2024-06-23 06:31:18 -07:00
Tom Moor
715b2b1b3f Hide collection header share button on mobile (no space, available in ...) 2024-05-31 18:21:55 -04:00
Tom Moor
1f097258f4 Enable new collection permissions UI 2024-05-27 09:34:53 -04:00
Tom Moor
d51267b8bc JSON to client (#5553) 2024-05-24 05:29:00 -07:00
Tom Moor
cae013837b Update collection permissions UI (#6917) 2024-05-16 16:45:09 -07:00
Tom Moor
6d3080e686 fix: Missing 'New doc' button on collection header for users without collection admin policy 2024-04-21 12:39:20 -04:00
Tom Moor
c3b515f0e1 chore: Rename tooltip.tooltip prop to tooltip.content 2024-02-03 16:22:51 -05:00
Tom Moor
5ce8827a8c chore: Convert <Text /> component to span by default 2024-01-30 22:49:31 -05:00
Tom Moor
ef76405bd6 Move toasts to sonner (#6053) 2023-10-22 14:30:24 -07:00
Tom Moor
5c839998c1 fix: Initials do not display on notification avatars (#5803) 2023-09-09 18:01:14 -07:00
Tom Moor
b7bfc4bb1a chore: Remove optimize imports to allow vite upgrade (#5691) 2023-08-14 11:44:58 -07:00
Tom Moor
e0289aed40 chore: Enable recommended React eslint rules (#5600) 2023-07-24 18:23:54 -07:00
Tom Moor
89d5527d39 Handle promise linting (#5488) 2023-06-28 17:18:18 -07:00
Tom Moor
d8b4fef554 feat: Collection admins (#5273
* Split permissions for reading documents from updating collection

* fix: Admins should have collection read permission, tests

* tsc

* Add admin option to permission selector

* Combine publish and create permissions, update -> createDocuments where appropriate

* Plural -> singular

* wip

* Quick version of collection structure loading, will revisit

* Remove documentIds method

* stash

* fixing tests to account for admin creation

* Add self-hosted migration

* fix: Allow groups to have admin permission

* Prefetch collection documents

* fix: Document explorer (move/publish) not working with async documents

* fix: Cannot re-parent document to collection by drag and drop

* fix: Cannot drag to import into collection item without admin permission

* Remove unused isEditor getter
2023-04-30 06:38:47 -07:00
Tom Moor
aab3a49f2c chore: Bump outline-icons (#5170
* Bump outline-icons to default use currentColor

* wip
2023-04-08 08:16:05 -07:00
Tom Moor
f48889d77d fix: Template left in tooltip, closes #5009 2023-03-08 19:34:42 -05:00
Tom Moor
3880a956a3 Add document insights panel (#4418)
* Add document context to allow accessing editor in header, modals, and elsewhere

* lint

* framework

* Hacking together fast

* Insights

* Spacing tweak, docs
2022-11-13 10:19:09 -08:00
Tom Moor
587f062677 Remove usage of tiley (#4406)
* First pass

* Mooarrr

* lint

* snapshots
2022-11-08 17:12:22 -08:00
Tom Moor
7a9c75b9f1 Remove stray log 2022-10-18 21:49:37 -04:00
Tom Moor
dccf86c491 fix: Hide membership preview on mobile 2022-09-16 07:25:19 +01:00
Tom Moor
7d92b60e97 feat: Improve translations, fade inactive collection members 2022-09-13 08:47:41 +01:00
Tom Moor
afc7fb5f1d fixes #4104 2022-09-11 15:27:19 +01:00
Tom Moor
0fd576cdd5 feat: Updated collection header (#4101)
* Return total results from collection membership endpoints

* Display membership preview on collections

* fix permissions

* Revert unneccessary changes
2022-09-11 05:54:57 -07:00
Tom Moor
60309975e0 Allow usePolicy to fetch missing policies 2022-08-25 21:34:54 +02:00
忽如寄
9f400af73b refactor: ♻️ refactor isHosted && type clean up (#3290)
* refactor: ♻️ refactor isHosted && type clean up

Change-Id: I4dfbad8a07607432801de78920ce42bf81e46498

* refactor: ♻️ code clean up

Change-Id: I8f487a33d332a2acaff84397a97371b56ace28a1

* feat: 💄 lint

Change-Id: I776b1a5e249bdb542f8e6da7cb2277821cf91094

* feat:  ci type

Change-Id: I486dde7bf60321238e9a394c40ad8cdb8bfc54c8

* feat: some code sugession

Change-Id: I4761d057344b95a98e99068d312a42292977875b
2022-03-27 15:18:37 -07:00
Tom Moor
203980c845 fix: ARIA fixes, missing button labels 2022-03-16 23:41:06 -07:00
Tom Moor
a3b8e7a65e chore: Quick refactor to usePolicy hook (#3161) 2022-02-23 21:33:18 -08:00
Tom Moor
06ed6cfe9c fix: Buttons show on collection empty state when user does not have permission to edit 2022-02-22 23:57:46 -08:00
Tom Moor
d5763233ca HelpText -> Text 2022-02-17 20:59:40 -08:00
Tom Moor
703708e5d2 fix: A couple of dark mode styling issues 2022-01-20 18:50:05 -08:00
Tom Moor
eb0c324da8 feat: Pin to home (#2880) 2021-12-30 16:54:02 -08:00
Tom Moor
f9cbd425cb Cleanup unneccessary folders.
Add delete account modal
2018-07-07 17:45:24 -05:00
Tom Moor
518015f55b Upgrade to Flow 0.71 2018-05-05 16:16:08 -07:00
Tom Moor
41a96e4331 Remove Icons 2018-05-02 21:51:39 -07:00
Tom Moor
18b0338736 Pinned documents (#608)
* Migrations and API for pinned documents

* Documentation

* Add pin icon

* Fin.

* v0.2.0

* Remove pin from DocumentPreview, add general menu
Add Pinned documents header

* Tidy

* Fixed: Drafts appearing on collection home
2018-02-28 23:28:36 -08:00
Tom Moor
a7e4710315 Merge branch 'master' into empty-collection-actions 2018-01-30 23:39:43 -08:00
Alexey Pyltsyn
c559b52c0a Add actions for empty collections 2018-01-31 00:16:20 +03:00
Tom Moor
ba72ecb0e3 issue-537 2018-01-29 22:31:49 -08:00
Jori Lallo
553095692c Clear active collection if navigating out of it directly
Fixes #474
2017-12-05 00:15:34 -08:00
Tom Moor
37ed61d9c8 Fixes: Issue with missing collection id 2017-11-28 08:55:15 -08:00
Tom Moor
94c2cc09ee Added documents.list endpoint to documentation (fixed some bad formatting)
Updated collection parameter
Increased fetch to 10 records, 5 looks dumb on larger screens
2017-11-26 18:18:41 -08:00
Tom Moor
3e01d4813e Add collection actions 2017-11-26 18:18:41 -08:00
Tom Moor
a626b78616 Improved loading state 2017-11-26 18:18:40 -08:00
Tom Moor
81edb55d56 Working recently edited list 2017-11-26 18:18:40 -08:00
Tom Moor
2143a87671 WIP: Collection home 2017-11-26 18:18:40 -08:00
Tom Moor
ab13f51d5d Upgrade prettier 2017-11-10 14:14:30 -08:00
Tom Moor
79f6d3b3ec Pass location to trigger rerender. This is advised by react-router docs 2017-10-31 18:24:00 -07:00
Tom Moor
507251cfe4 Fixing collection selection 2017-10-31 00:03:17 -07:00
Tom Moor
84c82c31a9 Shared assets, cleanup for initial deploy 2017-10-29 15:02:24 -07:00