Commit Graph

1198 Commits

Author SHA1 Message Date
Tom Moor
89d5527d39 Handle promise linting (#5488) 2023-06-28 17:18:18 -07:00
Tom Moor
f3d8129a13 fix: Await logout 2023-06-27 22:20:41 -04:00
Tom Moor
d319bb7d9a Allows commenting outside edit mode when seamless editing is disabled. (#5422) 2023-06-10 05:56:00 -07:00
Tom Moor
a810d9176f Remove empty comment and mark on cancel 2023-06-07 23:34:50 +03:00
Tom Moor
d18994b14e Improve reliability by retrying failed imports (#5408) 2023-06-03 11:17:36 -07:00
Tom Moor
45641103ba Allow viewing diff before revision is written (#5399) 2023-05-29 19:49:13 -07:00
Tom Moor
d5341a486c chore: Upgrade all of prosemirror (#5366)
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com>
2023-05-24 19:24:05 -07:00
Tom Moor
e8b9a1b650 fix: AwarenessChangeEvent type 2023-05-22 23:10:05 -04:00
Tom Moor
bb0cd891bd fix: Remove old policies from frontend when collection sharing permission changes 2023-05-22 22:30:53 -04: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
3317bf2396 fix: User presence is not updated when leaving a document 2023-05-22 21:05:40 -04:00
Tom Moor
502d8b9e8d fix: Tweak back button on desktop app 2023-05-20 18:51:28 -04:00
Tom Moor
ac6047bbb7 fix: Mobile hover states make notifications unscrollable 2023-05-20 11:32:05 -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
9b257e9593 Animate appearance of pinned documents 2023-05-17 20:13:09 -04:00
Tom Moor
8d157ff962 fix: Re-focus comment input after comment 2023-05-08 22:52:34 -04:00
Tom Moor
26a8c5e4ab fix: Revert #5278 2023-05-08 22:37:24 -04:00
Tom Moor
90b13d5f27 Move 'public branding' option to Settings -> Details 2023-05-08 21:01:08 -04:00
Tom Moor
679a86fe6f Merge branch 'feat/custom-branding' 2023-05-08 19:04:07 -04:00
Tom Moor
ab30bfcf24 fix: Cannot sign-in with Gmail on desktop app 2023-05-08 19:03:56 -04:00
Tom Moor
07ae67924f Use team name and favicon (when public branding enabled) on shared links 2023-05-08 14:46:25 -04:00
Tom Moor
ac8946f0c5 fix: Admins should be able to add and remove themselves from collections 2023-05-04 21:52:59 -04:00
Tom Moor
cda8acddbb fix: Horizontal scrollbars with full-width documents 2023-05-01 21:15:17 -04:00
Tom Moor
20f3c55914 Various sidebar fixes (#5278
* fix: Right sidebar depth
Re-arrange order of document metadata

* fix: Comment reply not focused on 'Reply…' tap

* fix: Sidebar animation oddities on mobile/Safari
2023-04-30 12:42:05 -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
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
7250c0ed64 tsc 2023-04-23 13:38:17 -04:00
Tom Moor
7620d37009 fix: Improve handling of max payload size 2023-04-23 12:38:04 -04:00
Tom Moor
e2c5fda610 fix: Do not copy edit path from headers
chore: Rename url -> path in routeHelpers
closes #5229
2023-04-22 10:00:09 -04:00
Tom Moor
43c2e6880a fix: Documents on mobile horizontally scrollable 2023-04-21 23:04:25 -04:00
Tom Moor
53c25a5689 fix: Scroll to end of comment thread, not start 2023-04-21 18:56:23 -04:00
Tom Moor
f91cdc3296 Add ability to reset custom theme 2023-04-17 22:48:07 -04:00
Tom Moor
169a99f21e Adds a 60px area to the left and right of editable area (#5197
* Adds a 60px area to the left and right of editable area that allows clicking to focus paragraphs

* tsc
2023-04-13 19:24:33 -07:00
Tom Moor
515f5e8e73 fix: Right sidebar header should be draggable on desktop 2023-04-13 22:14:18 -04:00
Tom Moor
7cd3bf8859 Add note on comment when edited 2023-04-13 09:52:39 -04:00
Tom Moor
2d354f95fa Add note on comment when edited 2023-04-13 09:17:26 -04:00
Tom Moor
094c4486ce fix: 'Observing' banner creates non-draggable titlebar area on desktop app 2023-04-13 09:09:56 -04:00
Tom Moor
7c44e116fc fix: Various fixes for commenting on mobile (#5195
* fix: Comment sidebar chopped on mobile
fix: Zoom on comment input focus on mobile

* fix: Always show reply option on mobile

* fix: Auto-expand comment sidebar if linked to a specific comment
2023-04-12 19:00:00 -07:00
Apoorv Mishra
511e790cb1 Toggle visibility of comment UI based on policy (#5143) 2023-04-12 18:11:58 -07:00
Tom Moor
0eef79e6e6 Enable commenting by default 2023-04-11 22:42:56 -04:00
Tom Moor
d6b51f3053 fix: Tweak mention style in comments to be more visible 2023-04-11 22:41:05 -04:00
Tom Moor
49d903d6d4 chore: Remove console.log left in code and added eslint rule to prevent it happening again 2023-04-11 22:15:52 -04:00
Tom Moor
a9800165c1 fix: Some authentication notices not displayed, injection of arbitrary strings 2023-04-11 21:54:53 -04:00
Tom Moor
75aea90972 chore: Editor 'plugin' -> 'extension'
They've always been called extensions, not sure why the folder was plugins. Part of ongoing spring cleaning
2023-04-09 17:27:09 -04:00
Tom Moor
2f9a56aa6f Centralize default user and team preferences. (#5172
Passing the fallback at each callpoint was dumb
2023-04-09 14:23:58 -07:00
Tom Moor
3115bbd5ef chore: Name API keys consistently as the model 2023-04-08 14:16:49 -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
c82b05a044 fix: React devmode warnings (#5169
* fix: React warning: Cannot change state from within render

* Remove usage of react-side-effect
2023-04-08 07:17:31 -07:00
Tom Moor
9c9ceef8ee Notifications refactor (#5151
* Ongoing

* refactor

* test

* Add cleanup task

* refactor
2023-04-08 06:22:49 -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