Hans Pagel
e754f89e5c
Replace Webpack with Vite ( #4765 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
Co-authored-by: Vio <vio@beanon.com >
2023-02-15 19:39:46 -08:00
Tom Moor
e028715afb
Minor fixes from enterprise codebase
2023-02-12 16:31:15 -05:00
Tom Moor
81f655f402
fix: Links with strikethrough do not have hover preview ( #4841 )
...
* fix: Links with strikethrough do not have hover preview
* refactor
2023-02-07 19:36:15 -08:00
Tom Moor
1995a3fb19
Dynamic bottom padding
2022-12-15 21:03:47 -05:00
Tom Moor
fd9625b57e
fix: TOC not rendered in non-seamless-editing mode
2022-11-24 11:35:29 -05:00
Tom Moor
6e36ffb706
feat: Allow data imports larger than the standard attachment size ( #4449 )
...
* feat: Allow data imports larger than the standard attachment size
* Use correct preset for data imports
* Cleanup of expired attachments
* lint
2022-11-20 09:22:57 -08:00
Tom Moor
924b554281
fix: Padding below editor not clickable
2022-11-16 23:38:08 -05:00
Tom Moor
e6ef5a16cc
Fix TOC headings
2022-11-14 21:14:56 -05:00
Tom Moor
87761e9bf2
feat: Code blocks can now optionally display line numbers ( #4324 )
...
* feat: Code blocks can now optionally display line numbers as a user preference
* Touch more breathing room
2022-10-24 06:44:46 -07:00
Tom Moor
4f40c64101
fix: Share links containing share links can lead to 'Not found' pages
2022-09-22 09:11:45 -04:00
Tom Moor
0587968f8b
perf: More selective resource pre-fetching
2022-09-11 15:14:03 +01:00
Apoorv Mishra
97f70edd93
Permanently redirect to /s/... for share links ( #4067 )
2022-09-08 00:44:25 -07:00
Tom Moor
6fc1cbc0ce
fix: Unneccessary requests made on share links
2022-08-27 20:45:07 +02:00
Apoorv Mishra
4dbad4e46c
feat: Support embed configuration ( #3980 )
...
* wip
* stash
* fix: make authenticationId nullable fk
* fix: apply generics to resolve compile time type errors
* fix: loosen integration settings
* chore: refactor into functional component
* feat: pass integrations all the way to embeds
* perf: avoid re-fetching integrations
* fix: change attr name to avoid type overlap
* feat: use hostname from embed settings in matcher
* Revert "feat: use hostname from embed settings in matcher"
This reverts commit e7485d9cda4dcf45104e460465ca104a56c67ddc.
* feat: refactor into a class
* chore: refactor url regex formation as a util
* fix: escape regex special chars
* fix: remove in-house escapeRegExp in favor of lodash's
* fix: sanitize url
* perf: memoize embeds
* fix: rename hostname to url and allow spreading entire settings instead of just url
* fix: replace diagrams with drawio
* fix: rename
* fix: support self-hosted and saas both
* fix: assert on settings url
* fix: move embed integrations loading to hook
* fix: address review comments
* fix: use observer in favor of explicit state setters
* fix: refactor useEmbedIntegrations into useEmbeds
* fix: use translations for toasts
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-26 12:21:46 +05:30
dependabot[bot]
3ab9d7492e
chore(deps): bump react-merge-refs from 1.1.0 to 2.0.1 ( #3903 )
...
* chore(deps): bump react-merge-refs from 1.1.0 to 2.0.1
Bumps [react-merge-refs](https://github.com/gregberge/react-merge-refs ) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/gregberge/react-merge-refs/releases )
- [Changelog](https://github.com/gregberge/react-merge-refs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gregberge/react-merge-refs/compare/v1.1.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: react-merge-refs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* tsc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-08 15:04:18 +01:00
Tom Moor
8fdd5bf734
fix: substitution of content when sending an image to a profile ( #3869 )
...
* fix: Limit public uploads to basic image types
* test
2022-07-26 12:10:00 -07:00
Tom Moor
4af69b2758
fix: Moving an image to empty space results in endless upload ( #3799 )
...
* fix: Error dragging images below doc, types
* fix: Handle html/text content dropped into padding
* refactor, docs
2022-07-17 03:31:55 -07:00
Tom Moor
bf233b209b
fix: Alternative fix to #3583 , addresses some bugs that were introduced
2022-06-03 11:03:44 +02:00
Tom Moor
19de348c85
fix: null ref usage, closes #3456
2022-05-16 22:58:59 +01:00
Tom Moor
cf58d8e3e1
fix: Capture drop events in clickable padding below editor ( #3376 )
...
* fix: Capture drop events in clickable padding below editor
* fix: Inconsistency in drop handling
2022-04-15 09:03:25 -07:00
Tom Moor
48fad5cfa0
fix: Link preview and search should work on collection descriptions ( #3355 )
2022-04-09 19:00:56 -07:00
Tom Moor
6f2a4488e8
chore: Editor refactor ( #3286 )
...
* cleanup
* add context
* EventEmitter allows removal of toolbar props from extensions
* Move to 'packages' of extensions
Remove EmojiTrigger extension
* types
* iteration
* fix render flashing
* fix: Missing nodes in collection descriptions
2022-03-30 19:10:34 -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
9588ffc81e
fix: Timestamp under doc title should toggle history sidebar, closes #3120
2022-02-17 22:36:46 -08:00
Tom Moor
d7ee801fe4
feat: Show icon on external links ( #3100 )
...
* feat: External links get treatment
* cache decorations
2022-02-16 18:05:02 -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
Tom Moor
062016b164
chore: Move editor into codebase ( #2930 )
2022-01-19 18:43:15 -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
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