Tom Moor
15b1069bcc
chore: Move to Typescript ( #2783 )
...
This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously.
closes #1282
2021-11-29 06:40:55 -08:00
Saumya Pandey
40e09dd829
fix: Implement custom Select Input ( #2571 )
2021-10-06 21:48:43 -07:00
Saumya Pandey
4929fbaccb
fix: Move "public document sharing" to "Permissions" ( #2496 )
...
* Convert to functional component
* Move public sharing to permissions
* Add collections.permission_changed event
* Account for null
* Update server/events.js
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Add collections.permission_changed event
* Remove name
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-08-30 11:43:42 +05:30
Saumya Pandey
fdb85ec195
fix: Separate toasts storage to own MobX store ( #2339 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-07-20 14:36:10 +05:30
Tom Moor
31714efb0b
feat: useBoolean hook ( #2314 )
...
* feat: Add useBoolean hook and example usage
* More example usage
* chore: More useBoolean conversion
2021-07-15 12:27:03 -07:00
Tom Moor
810257bcf5
fix: Improve dark mode styling
...
fix: Improve user and group list styling
fix: Member list reload when changing permissions, closes #1999
2021-03-31 20:57:30 -07:00
Tom Moor
7e1b07ef98
feat: Add read-only collections ( #1991 )
...
closes #1017
2021-03-30 21:02:08 -07:00
Tom Moor
b42e9737b6
feat: Memberships ( #1032 )
...
* WIP
* feat: Add collection.memberships endpoint
* feat: Add ability to filter collection.memberships with query
* WIP
* Merge stashed work
* feat: Add ability to filter memberships by permission
* continued refactoring
* paginated list component
* Collection member management
* fix: Incorrect policy data sent down after collection.update
* Reduce duplication, add empty state
* cleanup
* fix: Modal close should be a real button
* fix: Allow opening edit from modal
* fix: remove unused methods
* test: fix
* Passing test suite
* Refactor
* fix: Flow UI errors
* test: Add collections.update tests
* lint
* test: moar tests
* fix: Missing scopes, more missing tests
* fix: Handle collection privacy change over socket
* fix: More membership scopes
* fix: view endpoint permissions
* fix: respond to privacy change on socket event
* policy driven menus
* fix: share endpoint policies
* chore: Use policies to drive documents UI
* alignment
* fix: Header height
* fix: Correct behavior when collection becomes private
* fix: Header height for read-only collection
* send id's over socket instead of serialized objects
* fix: Remote policy change
* fix: reduce collection fetching
* More websocket efficiencies
* fix: Document collection pinning
* fix: Restored ability to edit drafts
fix: Removed ability to star drafts
* fix: Require write permissions to pin doc to collection
* fix: Header title overlaying document actions at small screen sizes
* fix: Jank on load caused by previous commit
* fix: Double collection fetch post-publish
* fix: Hide publish button if draft is in no longer accessible collection
* fix: Always allow deleting drafts
fix: Improved handling of deleted documents
* feat: Show collections in drafts view
feat: Show more obvious 'draft' badge on documents
* fix: incorrect policies after publish to private collection
* fix: Duplicating a draft publishes it
2019-10-05 18:42:03 -07:00
Tom Moor
6520a501e3
fix: accessiblity improvements, focus states, real buttons
2019-08-30 00:27:40 -07:00
Tom Moor
5bd2409e39
Revert "WIP"
...
This reverts commit ccfad1d800 .
2019-08-28 00:03:11 -07:00
Tom Moor
ccfad1d800
WIP
2019-08-25 15:20:49 -07:00
Tom Moor
d024d31f66
refactor: flow typing ( #1012 )
...
* fix: padding
* fix: Minor button alignment issues
* feat: Add icon to invite people button
* WIP
2019-08-08 23:09:09 -07:00
Tom Moor
f80e4ab04c
Improved button styling
...
Added toast when collection permissions are saved
Removed usage of setState (old habits die hard)
2019-01-05 18:23:57 -08:00
Tom Moor
8c02b0028c
Collection Permissions ( #829 )
...
see https://github.com/outline/outline/issues/668
2019-01-05 13:37:33 -08:00