Apoorv Mishra
3fd429baa9
usePaginatedRequest hook for simpler handling of pagination on FE (#6060 )
...
* feat: usePaginatedRequest hook
* fix: spread params
* fix: handle limit zero
* fix: handle case when stars.fetchPage returns empty array
* fix: use stars.orderedData for reactivity
2023-10-29 20:01:47 +05:30
Tom Moor
ef76405bd6
Move toasts to sonner ( #6053 )
2023-10-22 14:30:24 -07:00
Tom Moor
43ee487e91
Add 'Rename' option to document sidebar menu
2023-10-17 18:15:35 -04:00
Tom Moor
5c7c9ceeb1
JSDoc, closes #5874
2023-09-23 14:31:55 -04:00
Tom Moor
c376dc1011
Increase hit area on sidebar buttons
2023-09-04 16:24:58 -04:00
Apoorv Mishra
1c7bb65c7a
Document emoji picker ( #4338 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-09-03 06:11:14 -07:00
Tom Moor
d591158c4d
Restore sidebar toggle in settings
...
Cleanup some unused props
2023-08-30 20:38:09 -04:00
Tom Moor
b7055ef853
Move sidebar toggle into the sidebar itself instead of overlaying document content ( #5749 )
2023-08-29 18:45:03 -07:00
Apoorv Mishra
4354e1055e
Keep nested docs in shared sidebar collapsed by default ( #5208 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
2023-08-20 07:04:04 -07:00
Tom Moor
d820b2a617
fix: Scrolling in desktop app sidebar is finicky
2023-08-18 18:45:38 +02:00
Tom Moor
8bff566c30
fix: Sidebar item misalignment
2023-08-15 11:32:19 +02:00
Tom Moor
28ae1af2a3
fix: ctrl+a does not work on Windows in code block ( #5692 )
2023-08-14 13:16:12 -07:00
Tom Moor
b691311f88
feat: Add find and replace interface ( #5642 )
2023-08-03 15:47:44 -07:00
Tom Moor
e0289aed40
chore: Enable recommended React eslint rules ( #5600 )
2023-07-24 18:23:54 -07:00
Tom Moor
479b805613
Add per-document control over who can see viewer insights ( #5594 )
2023-07-23 09:01:36 -07:00
Tom Moor
72c7b0373b
fix: Small rendering flash in sidebar when document slug changes
2023-07-03 20:42:10 -04:00
Tom Moor
3124423eeb
fix: Vertical movement in sidebar when entering title edit
2023-07-03 19:24:22 -04:00
Tom Moor
40dbbe10c5
fix: Small rendering flash in sidebar when document slug changes
2023-07-03 19:24:22 -04:00
Tom Moor
a4ba1f18bc
fix: Do not send document text when modifying title
2023-07-03 19:24:22 -04:00
Tom Moor
89d5527d39
Handle promise linting ( #5488 )
2023-06-28 17:18:18 -07:00
Tom Moor
cef048572a
fix: Unable to click block action button on full width editor
...
closes #5444
2023-06-19 17:27:34 -04:00
Tom Moor
746c27e718
fix: Another fix for heading scrolling
2023-06-10 16:00:51 +03:00
Tom Moor
ffbf138748
closes #5403
2023-06-07 22:40:01 +03:00
dependabot[bot]
fbd16d4b9a
chore(deps-dev): bump prettier from 2.1.2 to 2.8.8 ( #5372 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-05-22 19:14:56 -07:00
Tom Moor
458f24185a
fix: Flashing sidebar on load (suspense boundary)
2023-05-20 21:04:33 -04:00
Tom Moor
965d85fb6f
fix: Delayed mount around all sidebar loading indicators
2023-05-20 17:20:47 -04:00
Tom Moor
31b9c2b8a4
Improve data prefetching, less false positives
2023-05-20 17:11:40 -04:00
Tom Moor
ea885133ac
Notifications interface ( #5354 )
...
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
2023-05-20 07:47:32 -07:00
Tom Moor
9dfdafa116
fix: Increase collection pagination limit to max, closes #5311
2023-05-08 17:00:13 -04: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
Apoorv Mishra
86062f396d
Deleting a collection should detach associated drafts from it ( #5082 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-04-23 12:20:44 -07:00
Tom Moor
8324b03938
fix: Expand sidebar items on shared document on activation
2023-04-08 14:21:25 -04:00
Tom Moor
64ed25c1a2
Shrink font-size in sidebar and command menu 1pt
2023-04-08 14:17:04 -04: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
db73879918
Assorted cleanup, minor bug fixes, styling fixes, eslint rules ( #5165
...
* fix: Logic error in toast
fix: Remove useless component
* fix: Logout not clearing all stores
* Add icons to notification settings
* Add eslint rule to enforce spaced comment
* Add eslint rule for arrow-body-style
* Add eslint rule to enforce self-closing components
* Add menu to api key settings
Fix: Deleting webhook subscription does not remove from UI
Split webhook subscriptions into active and inactive
Styling updates
2023-04-08 05:25:20 -07:00
Tom Moor
422bdc32d9
Add 's' method to access theme props ( #5163 )
2023-04-07 19:43:34 -07:00
Tom Moor
7ba6a9379b
Removal of non-collaborative editing code paths ( #4210 )
2023-03-28 19:13:42 -07:00
Tom Moor
70beb7524f
feat: Custom accent color ( #4897 )
...
* types
* Working, but messy
* Add InputColor component
* types
* Show default theme values when not customized
* Support custom theme on team sign-in page
* Payload validation
* Custom theme on shared documents
* Improve theme validation
* Team -> Workspace in settings
2023-02-19 07:43:03 -08:00
Tom Moor
0b6c9d1838
Improve drag-and-drop ( #4824 )
...
* Improve drag-and-drop
* fixes
* fix drop highlight showing on ghosted sidebar item
2023-02-04 12:00:32 -08:00
Tom Moor
f39487d25b
fix: PaginatedList does not always load more ( #4811 )
2023-01-30 19:53:14 -08:00
Apoorv Mishra
ad902af52c
Move tree implementation out of collections store ( #4763 )
...
* refactor: attaching emoji in tree node is unnecessary
* refactor: pass depth and hasChildren as separate props
* refactor: move tree impl into a separate hook
* refactor: separate out as DocumentExplorer for reuse
* fix: separate search and node
* fix: review comments
* fix: tsc
2023-01-27 11:33:51 +05:30
Tom Moor
0c269081d9
fix: Sidebar jumps when publish or unpublish document ( #4706 )
...
* Return updated collection in API response for documents.unpublish and documents.update
Allows for improved UX on clientside
* test
* tsc
* tsc
2023-01-15 06:01:06 -08:00
Tom Moor
0bed01a062
fix: Cannot click on input in sidebar when editing doc/collection ( #4716 )
...
fix: Start editing with all text selected
fix: Styling issue around input
2023-01-14 19:14:50 -08:00
Tom Moor
17a8dbb3f0
fix: Prevent moving documents into drafts
2023-01-12 11:15:54 -05:00
Tom Moor
e67ac1215a
feat: Allow moving draft documents ( #4652 )
...
* feat: Allow moving draft documents
* Allow drag-n-drop move of draft documents
* fix: Allow moving draft without a collection
* fix: Allow moving draft without a collection
2023-01-06 19:31:06 -08:00
Tom Moor
fc6bb3caef
fix: Unstable t method causing stars.list to fetch run multiple times. Seems this behavior changed in the recent dep bump
2023-01-04 20:42:48 -05:00
Tom Moor
ad9525bfa3
chore: Refactor icon components
...
fix: Alignment of Outline logo component
2022-12-31 12:26:39 -05:00
Tom Moor
8ca5d66204
Desktop improvements ( #4492 )
...
* Update version to non-promise interface
* History navigation in sidebar
2022-11-28 15:30:50 -08:00
Tom Moor
cc333637dd
Desktop support ( #4484 )
...
* Remove home link on desktop app
* Spellcheck, installation toasts, background styling, …
* Add email,slack, auth support
* More desktop style tweaks
* Move redirect to client
* cleanup
* Record desktop usage
* docs
* fix: Selection state in search input when double clicking header
2022-11-27 15:07:48 -08:00
Aditya Sharma
95f2c69f81
fix: correct stats for update-checker ( #4470 )
...
fixes https://github.com/outline/outline/issues/4462
2022-11-23 17:13:39 -08:00