Tom Moor
9bf8c5c633
fix: autoFocus new docs
2025-02-08 17:56:24 -05:00
Tom Moor
0e07d06a91
wip
2025-02-08 15:56:07 -05:00
Tom Moor
5004281077
Combine useComponentSize hooks, possible fix for #8337 ( #8338 )
2025-02-04 18:49:13 -08:00
Tom Moor
c717e8e3eb
Move collection description into dedicated tab ( #8326 )
...
* Move collection description into dedicated tab
* Dynamic default
* refactor
2025-02-03 16:58:35 -08:00
Tom Moor
9c12498162
Change facepile to clip path ( #8325 )
...
* Change to clip path
* tsc
* Remove showBorder prop
* fix: Facepile size prop, tons of cleanup
2025-02-01 06:42:51 -08:00
Tom Moor
dfe97bee50
fix: Comment sidebar should not overtake scrolling if linked to anchor, closes #8296
2025-01-25 11:44:38 -05:00
Tom Moor
500730b243
chore: React warning
2025-01-25 08:09:43 -05:00
Hemachandar
5a45b95a48
fix: Render TOC only when the shared document has headings ( #8264 )
...
* fix: Render TOC only when the shared document has headings
* simplify condition
* fix inconsistent toc button state
* toc visible check
* remove shareHasHeadings prop
2025-01-23 05:12:34 -08:00
Tom Moor
184e56264c
feat: Add reading time on pinned documents
2025-01-22 21:17:26 -05:00
Tom Moor
029161002b
Move hover helper to shared
2025-01-18 21:14:00 -05:00
Tom Moor
73086139d2
Document mentions ( #8225 )
2025-01-17 15:56:38 -08:00
Tom Moor
4af3ac98d1
fix: Improve styling with mixed RTL content ( #8247 )
...
* fix: Improve styling with mixed RTL content
* fix
2025-01-16 13:35:04 -08:00
Hemachandar
fafaddf07f
feat: Option to return anchor text for comments ( #8196 )
...
* feat: Option to return anchor text for comments
* cleanup anchorText presentation
* consolidated anchor text
* cleanup unused method
2025-01-06 17:13:37 -08:00
Hemachandar
4789ddd947
Skip unnecessary update of comment sort preference ( #8182 )
2025-01-02 05:49:33 -08:00
Tom Moor
2397196be8
fix: Shared document header always in mobile styling, closes #8121
2024-12-18 10:27:26 +09:00
Tom Moor
6c1e4a5b40
Add shortcuts to formatting menu tooltips ( #8080 )
...
* Add shortcuts to formatting menu tooltips
* Tooltip styling
* tsc
2024-12-05 20:50:16 -08:00
Tom Moor
59078704c8
fix: Embed toggle is unresponsive ( #8078 )
...
* fix: Embed toggle is unresponsive
* fix: View recorded when toggling embeds
2024-12-05 20:01:16 -08:00
Hemachandar
f1a20b27fd
fix: auto-scroll sidebar to show active document ( #7956 )
2024-12-05 17:23:13 -08:00
Tom Moor
313b046e4e
fix: Use singleton for tooltips, ensures that only one is visible at a time. ( #8069 )
...
* fix: Use singleton for tooltips, ensures that only one is visible at a time and animations are shared
* fix: give toolbar menu its own context
* Remove duplicate props
2024-12-05 16:10:12 -08:00
infinite-persistence
e8bddbe104
Notification for resolved comment ( #8045 )
...
* fix: probably copy-pasted function description
* fix: userIdsMentioned was always empty
* add: NotificationEventType.ResolveComment
* move: split handler for "mentioned" vs. "resolved"
The recipients for "resolved" will include more people (creator, repliers, mentioned), so it's easier to just split the handler than trying to augment it.
* implement: handleResolvedComment
* clone: CommentMentionedEmail as CommentResolvedEmail
Changes coming up in next commit...
* implement: CommentResolvedEmail
* Fix "New Comment↓" incorrectly showing in Resolved
## Repro 1 (with production code)
1. In a list of long resolved comments, scroll up and select the first one.
2. From another account, resolve another comment. The hint appears.
## Repro 2 (with production code)
1. Select Most-Recent, then Resolved.
2. F5. It's scrolled all the way to the bottom.
## Repro 3 (after this PR)
1. Click on the notification when someone resolved a comment. The screen jumps to "Resolved" + showing hint unnecessarily.
## Fix
The scrolling and hint was meant for Most Recent only, but missed out this case since "Resolve" is not part of the enum.
* Better sentences
* Refactor "mentions + author" calculation
* Remove unnecessary check
The resolver is already added to `userIdsNotified` from the start, so no point checking it again here.
2024-12-04 15:10:03 -08:00
Tom Moor
7a6f75c34f
fix: Improved responsiveness of document header elements ( #8066 )
...
* fix: Made the document header components more responsive to the available space
* doc
2024-12-03 19:11:36 -08:00
Tom Moor
8de59f0a2f
fix: 'Resolve' button appearing on resolved threads, closes #8047
2024-12-01 09:53:38 -05:00
Tom Moor
d8fbe35455
fix: Template variables are not applied on client ( #8044 )
...
* fix: Template variables are not applied on client
* test
2024-11-30 07:13:44 -08:00
Hemachandar
ee426de942
Cleanup random text ( #8036 )
2024-11-29 08:14:59 -05:00
Tom Moor
ed25554607
fix: Hide TOC on templates
2024-11-27 18:20:49 -05:00
Tom Moor
68f715b607
chore: Remove unused typing tracking logic
2024-11-26 20:50:57 -05:00
Tom Moor
816a6715c5
chore: Simplify comment sidebar persistence to be per-user ( #8022 )
2024-11-26 17:24:07 -08:00
Tom Moor
4579594c63
fix: Relayout jank on document references
2024-11-26 09:05:14 -05:00
Tom Moor
06f48ec79a
Add active/hover state to collapsed thread
2024-11-24 19:59:31 -05:00
infinite-persistence
5566d995bd
Comment: collapse long replies ( #7941 )
...
* Comment: collapse long replies
## Ticket
Closes 5079
## Review
- For the case of RTL, followed how "Reply" is implemented (assumed that is the desired). If it need to be re-aligned, it can be fixed together with "Reply" later.
- The threshold number can be moved to constants.ts if we don't want to pollute the props.
* Card-style + Facepile
2024-11-24 16:20:46 -08:00
Tom Moor
921e89d7b7
fix: Undo/redo behavior incorrect in multiplayer editor ( #8015 )
2024-11-24 16:19:52 -08:00
Tom Moor
32602f89dd
fix: Flash of styles when printing dark mode ( #8010 )
2024-11-24 06:15:34 -08:00
Tom Moor
eedfd549b3
fix: Rare loop of storage events between tabs causing flickering UI ( #7996 )
...
* fix: Rare loop of storage events between tabs causing flickering UI
* Types cleanup
2024-11-20 16:17:28 -08:00
Tom Moor
c629006642
Add inline resolve action on comment threads ( #7977 )
...
* Add inline resolve action on comment threads
* perf refactor
2024-11-18 18:36:44 -08:00
Hemachandar
a4c40ce25e
show resolved view when a resolved comment is opened from notif email ( #7959 )
...
* show resolved view when a resolved comment is opened from notif email
* check and replace state
2024-11-15 18:14:30 -08:00
Tom Moor
f7d737ca45
fix: Missing 'Untitled' in reference list
2024-11-13 08:16:06 -05:00
Tom Moor
62f3e6921f
Add changes property to client event model
2024-11-10 22:58:51 -05:00
Hemachandar
feec01f160
fix: don't show comment marks for other users' drafts ( #7838 )
...
* fix: don't show comment marks for other users' drafts
* remove unnecessary draft check
2024-11-09 10:43:59 -08:00
Tom Moor
9b26ccda19
fix: Switching edit mode scrolls to page top, closes #7910
2024-11-07 22:04:15 -05:00
Tom Moor
bf65d80fc8
Refactor SmartText disabling to use existing pattern (forgot this exists)
2024-11-06 20:18:08 -05:00
infinite-persistence
f5de2834d6
Add user preference to disable smart quotes ( #7881 )
2024-11-05 16:45:06 -08:00
Tom Moor
9b03b529f8
fix: Adding reaction unfocuses comment thread
...
fix: Scrollable area of reaction picker larger than dialog
2024-11-02 21:23:38 -04:00
Tom Moor
0a875d4738
Tweak colors
2024-11-02 18:40:52 -04:00
Hemachandar and Tom Moor
de04d1c0c5
feat: Comment reactions ( #7790 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
2024-11-02 10:58:03 -07:00
infinite-persistence and Tom Moor
83f0d34430
Comments: scroll to most-recent during load and when switching sort setting ( #7825 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-11-02 06:15:12 -07:00
Tom Moor
50e680aaaf
fix: Deprecated shares do not load
2024-10-30 14:03:20 -05:00
Hemachandar
fe33871dfe
fix: wait for shared document to load ( #7830 )
2024-10-25 05:37:59 -07:00
Tom Moor
f22bd1d7c8
perf: Multitude of small perf wins around comment sidebar, closes #7823
2024-10-24 19:22:22 -04:00
Tom Moor
4f626c08c2
perf: Fix comments double rendering on mount ( #7824 )
2024-10-24 05:46:43 -07:00
Hemachandar and Tom Moor
57e9abd77f
feat: allow sort by position for comments ( #7770 )
...
* feat: allow sort by position for comments
* wait for prosemirror nodes to load
* Move to menu
* remove sort; rename enum
* asc sort for in-thread display
* revert sort
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-10-22 20:18:33 -07:00