* 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
* fix: Margin on floating toolbar
fix: Flash of toolbar on wide screens
* fix: Nesting of comment marks
* fix: Post button not visible when there is a draft comment, makes it look like the comment is saved
fix: Styling of link editor results now matches other menus
fix: Allow small link editor in comments sidebar
* fix: Cannot use arrow keys to navigate suggested links
Added animation to link suggestions
Added mixin for text ellipsis
* fix: Link input appears non-rounded when no creation option
* Accidental removal
* Refactor EmojiMenu
* Refactor CommandMenu to functional component
* Remove more direct props, refactor to useEditor
* Remove hardcoded IDs
* Refactor SelectionToolbar to functional component
* fix: Positioning of suggestion menu on long paragraphs
* feat: mention user
* fix: trigger api call on every letter typed
* fix: this allows command menu to re-render upon props change, shouldComponentUpdate prevented re-rendering when necessary
* fix: add node
* fix: mention node styling
* fix: Caret not visible after inserting mention
* fix: apply mentionRule
* fix: label is to be obtained from content, not attrs
* feat: add mentions table and model
* fix: typo
* fix: make all mention nodes visible in shared doc
* feat: parse mention ids from doc text
* feat: MentionsProcessor
* feat: documents.publish tests
* feat: tests for MentionsProcessor
* feat: schedule notifs for mentions
* fix: get rid of Mention model
* fix: put actor id and mention id in raw md
* Revert "fix: put actor id and mention id in raw md"
This reverts commit 3bb8a22e3c560971dccad6d2f82266256bcb2d96.
* Revert "Revert "fix: put actor id and mention id in raw md""
This reverts commit 3c5b36c40cebf147663908cf27d0dce6488adfad.
* fix: review
* fix: no need of set
* fix: show avatar
* fix: get rid of eventName
* fix: font-weight
* fix: prioritize mention notifs
* fix: store id in md
* fix: no need of prepending m
* fix: fetchPage
* fix: Avatars incorrect color
* fix: remove scanRE
* fix: test
* fix: include alphabet other than latin
* lockfile
* fix: regex should test for letters, marks and digits
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com>
* fix: New threads attached to previous as replies
* fix: Cannot use floating toolbar properly in comments
* perf: Avoid re-writing history on click in editor
* fix: Comment on text selection
* fix: 'Copy link' on comments uses wrong hostname
* Show comment buttons on input focus rather than non-empty input
Increase maximum sidebar size
* Allow opening comments from document menu
* fix: Clicking comment menu should not focus thread
* Comment model
* Framework, model, policy, presenter, api endpoint etc
* Iteration, first pass of UI
* fixes, refactors
* Comment commands
* comment socket support
* typing indicators
* comment component, styling
* wip
* right sidebar resize
* fix: CMD+Enter submit
* Add usePersistedState
fix: Main page scrolling on comment highlight
* drafts
* Typing indicator
* refactor
* policies
* Click thread to highlight
Improve comment timestamps
* padding
* Comment menu v1
* Change comments to use editor
* Basic comment editing
* fix: Hide commenting button when disabled at team level
* Enable opening sidebar without mark
* Move selected comment to location state
* Add comment delete confirmation
* Add comment count to document meta
* fix: Comment sidebar togglable
Add copy link to comment
* stash
* Restore History changes
* Refactor right sidebar to allow for comment animation
* Update to new router best practices
* stash
* Various improvements
* stash
* Handle click outside
* Fix incorrect placeholder in input
fix: Input box appearing on other sessions erroneously
* stash
* fix: Don't leave orphaned child comments
* styling
* stash
* Enable comment toggling again
* Edit styling, merge conflicts
* fix: Cannot navigate from insights to comments
* Remove draft comment mark on click outside
* Fix: Empty comment sidebar, tsc
* Remove public toggle
* fix: All comments are recessed
fix: Comments should not be printed
* fix: Associated mark should be removed on comment delete
* Revert unused changes
* Empty state, basic RTL support
* Create dont toggle comment mark
* Make it feel more snappy
* Highlight active comment in text
* fix animation
* RTL support
* Add reply CTA
* Translations
* tidy
* Add title to HTML export
* fix: Add compatability for documents without collab state
* Add HTML download option to UI
* docs
* fix nodes that required document to render
* Refactor to allow for styling of HTML export
* div>article for easier programatic content extraction
* 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>