Saumya Pandey
e0cf873a36
fix: Fade out navigation when editing and mouse hasn't moved ( #3256 )
...
* fix: hide header when editing
* fix: settings collab switch
* Update app/hooks/useMouseMove.ts
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* fix: accept timeout parameter
* fix: don't hide observing banner
* fix: hide on focused and observing
* perf: memo
* hide References too
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-05-07 00:17:09 +05:30
Tom Moor
7fa0199dca
fix: Applying a template should not overwrite an existing title
...
closes #3430
2022-04-27 19:18:45 -07:00
Nan Yu
5520317ce1
fix: prevent the interactive gutter elements from interfering with the sidebar collapse button ( #3350 )
...
* fix: prevent the interactive gutter elements from interfering with the sidebar collapse button
* keep mobile padding the same on documents
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-04-11 19:48:05 -07:00
Tom Moor
20a69b711a
fix: Some spots where navigation state was not preserved
...
fix: Collection in main nav pops open when moving from starred collection
2022-04-04 19:04:28 -07:00
Tom Moor
84d6bf8ddf
feat: Add ability to star collection ( #3327 )
...
* Migrations, models, commands
* ui
* Move starred hint to location state
* lint
* tsc
* refactor
* Add collection empty state in expanded sidebar
* Add empty placeholder within starred collections
* Drag and drop improves, Relative refactor
* fix: Starring untitled draft leaves empty space
* fix: Creating draft in starred collection shouldnt open main
* fix: Dupe drop cursor
* Final fixes
* fix: Canonical redirect replaces starred location state
* fix: Don't show reorder cursor at the top of collection with no permission to edit when dragging
2022-04-03 18:51:01 -07:00
Tom Moor
41579eb4bf
fix: Cleanup totally empty drafts on leave ( #3310 )
...
* fix: Cleanup totally empty drafts on leave
* cleanup
* fix: Add check the doc has never been saved after creation when auto-deleting
2022-04-03 11:51:38 -07:00
Tom Moor
631d600920
feat: File attachments ( #3031 )
...
* stash
* refactor, working in non-collab + collab editor
* attachment styling
* Avoid crypto require in browser
* AttachmentIcon, handling unknown types
* Do not allow attachment creation for file sizes over limit
* Allow image as file attachment
* Upload placeholder styling
* lint
* Refactor: Do not use placeholder for file attachmentuploads
* Add loading spinner
* fix: Extra paragraphs around attachments on insert
* Bump editor
* fix build error
* Remove attachment placeholder when upload fails
* Remove unused styles
* fix: Attachments on shared pages
* Merge fixes
2022-03-06 13:58:58 -08:00
Tom Moor
03fdb846cd
fix: Hide TOC toggle on publicly shared links if there are no headings in the document ( #3172 )
...
closes #3006
2022-03-03 21:46:53 -08:00
Saumya Pandey
5db73726f7
fix: create a generic notice component ( #3144 )
...
* fix: use unstable_fixed option
* fix: add icons in notice
* fix: create generic Notice component
* Refactor: Pull document notices into component
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-02-19 11:05:56 -08:00
Tom Moor
9588ffc81e
fix: Timestamp under doc title should toggle history sidebar, closes #3120
2022-02-17 22:36:46 -08:00
Tom Moor
c5a11fe17b
chore: Enable eslint to enforce curly ( #3060 )
2022-02-05 10:15:40 -08:00
Tom Moor
c10236f7a9
fix: ESC on shared docs goes to login page, closes #3044
2022-02-01 21:33:17 -08:00
Nan Yu
735aaa668a
fix: add toc to mobile views and account for branding on shared view layouts ( #2997 )
...
* fix: add toc to mobile views and center the branding
* add padding to bottom of sidebar
* put the mobile branding inline
* finesse the padding
* make spelling of sign-in email less crazy looking
* move mobile sidebar button into header
* adds scene to search and 404 pages
* fix title alignment
* make filter buttons tight
* clean up unused imports
* lint
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-02-01 20:58:24 -08:00
Tom Moor
1cd770e38d
fix: Disabling editor embeds should work with collaborative editing ( #2968 )
...
* fix: Disabling editor embeds should work with collaborative editing
* Design tweaks, fixed dragging
2022-01-28 18:27:27 -08:00
Nan Yu
8bced69828
fix: changing the title and body content in quick succession would trigger unsaved changes warning prompt ( #2950 )
...
changing the title and body content in quick succession would trigger unsaved changes warning prompt
2022-01-19 12:57:44 -08:00
Tom Moor
fc564cfc1a
fix: Templates menu does not appear in collab editing ( #2915 )
...
* fix: Templates menu does not appear in collab editing
* Improved logic for display templates menu
2022-01-08 16:04:50 -08:00
Tom Moor
66d5a567c2
feat: Optional full-width toggle for document display ( #2869 )
...
* Migration, model, presenter
* Working implementation
* fix: Account for table of contents
* Checkbox -> Toggle
* Checkbox -> Toggle
2021-12-19 13:58:16 -08:00
Tom Moor
39018f16b5
Show collaborators on mobile, normalize margins
2021-12-17 16:50:34 -08:00
Tom Moor
f8736758f1
fix: Redirect loop in shared documents
...
closes #2867
2021-12-17 16:42:12 -08:00
Tom Moor
0340149457
chore: More type improvements
2021-12-12 18:44:32 -08:00
Tom Moor
7aa4709e69
feat: Show drafts in sidebar when viewing ( #2820 )
2021-12-11 09:34:36 -08:00
Tom Moor
6e371f0d03
fix: HoverPreview not showing on collaborative editing teams
...
types
2021-12-05 19:31:08 -08:00
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