Tom Moor
fa117870a2
perf: One less query in documents.info
2024-12-09 21:52:32 -05:00
dependabot[bot] and Tom Moor
40b1e3c8c6
chore(deps): bump prosemirror-model from 1.23.0 to 1.24.0 ( #8092 )
...
* chore(deps): bump prosemirror-model from 1.23.0 to 1.24.0
Bumps [prosemirror-model](https://github.com/prosemirror/prosemirror-model ) from 1.23.0 to 1.24.0.
- [Changelog](https://github.com/ProseMirror/prosemirror-model/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prosemirror/prosemirror-model/compare/1.23.0...1.24.0 )
---
updated-dependencies:
- dependency-name: prosemirror-model
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* tsc
* tsc
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-12-09 17:43:04 -08:00
Tom Moor
e3b0f7db86
fix: Parsing of grist links with utm parameters, closes #8082
2024-12-09 20:42:36 -05:00
dependabot[bot]
6fddb29ff6
chore(deps): bump nanoid from 3.3.7 to 3.3.8 ( #8098 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 17:37:36 -08:00
dependabot[bot]
569a7876ae
chore(deps): bump utility-types from 3.10.0 to 3.11.0 ( #8093 )
...
Bumps [utility-types](https://github.com/piotrwitek/utility-types ) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/piotrwitek/utility-types/releases )
- [Commits](https://github.com/piotrwitek/utility-types/compare/v3.10.0...v3.11.0 )
---
updated-dependencies:
- dependency-name: utility-types
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 17:31:03 -08:00
dependabot[bot]
bea56159ec
chore(deps-dev): bump eslint-import-resolver-typescript from 3.6.3 to 3.7.0 ( #8096 )
...
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript ) from 3.6.3 to 3.7.0.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases )
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.6.3...v3.7.0 )
---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 17:30:41 -08:00
Tom Moor
908f053920
Add UI element to images that are externally hosted
2024-12-08 12:51:55 -05:00
Tom Moor
033c298bff
fix: Retrieve image dimensions for all types, not only PNG
2024-12-07 17:15:25 -05:00
Tom Moor
22f02ad713
feat: Add 'Neon' highlighter color, increase presence of highlights
2024-12-07 16:27:57 -05:00
Tom Moor
92b1c578f6
feat: Improve inline rule matching ( #8085 )
...
* stash
* fix: Allow inline mark matching to work with preceding brackets
Refactor markInputRule, add markInputRuleForPattern
* docs
2024-12-07 12:46:25 -08:00
Tom Moor
a738ea97b5
feat: Dropping a remote image will now upload ( #8086 )
...
* feat: Dropping a remote image will now upload
* refactor,DRY
* guard
* Parse correct file name from url where possible
2024-12-07 12:46:14 -08:00
Tom Moor
7fbe442863
Show editor tooltip shortcuts on separate line
2024-12-07 14:10:36 -05:00
Tom Moor
2db7690e27
feat: Triple clicking in code mark should select entire mark, closes #8072
2024-12-07 12:58:15 -05:00
Tom Moor
06b89635be
Improved tooltip context – separate for header,sidebar,editor.
2024-12-07 12:45:29 -05:00
Tom Moor
1ff23756ac
fix: Make FindAndReplace popover dynamic, fixes button overflow.
...
closes #8079
2024-12-06 19:55:45 -05:00
Tom Moor
a00b677076
fix: Use sidebarContext in header breadcrumbs ( #8077 )
2024-12-06 08:00:50 -05: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
Tom Moor
1154432924
Adds count of occurences and index to find and replace ( #8070 )
...
* Adds count of occurences and index to find and replace
* Disable replace buttons also
2024-12-05 15:58:24 -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
dddb12027c
fix: Crash in header ref, regressed in 7a6f75c34f closes #8068
2024-12-04 08:35:55 -05:00
dependabot[bot]
5cb3da82bc
chore(deps): bump socket.io from 4.7.5 to 4.8.1 ( #8056 )
...
Bumps [socket.io](https://github.com/socketio/socket.io ) from 4.7.5 to 4.8.1.
- [Release notes](https://github.com/socketio/socket.io/releases )
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.1 )
---
updated-dependencies:
- dependency-name: socket.io
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 19:15:07 -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
5d09be4add
More improvements to LaTeX fence detection
2024-12-02 22:28:59 -05:00
Tom Moor
48cae96a56
fix: Improve validation around emoji node serialization/deserialization
2024-12-02 21:58:22 -05:00
Tom Moor
e8ab7a4885
chore: Add additional node validation
2024-12-02 21:22:58 -05:00
dependabot[bot]
183d02d5c6
chore(deps-dev): bump react-refresh from 0.14.0 to 0.14.2 ( #8053 )
...
Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react ) from 0.14.0 to 0.14.2.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v0.14.2/packages/react )
---
updated-dependencies:
- dependency-name: react-refresh
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-02 18:10:54 -08:00
Tom Moor
4b833b3e2e
Add screen for API key management ( #8049 )
...
* API keys
* Add api key list for admins
* permissions
2024-12-02 18:10:36 -08:00
Translate-O-Tron
d1b75d44f6
New Crowdin updates ( #8040 )
2024-12-02 14:36:10 -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
Tom Moor
514a724d9d
fix: Add default value for attachment preset for easier API use
2024-11-29 23:05:30 -05:00
Tom Moor
d66f41c854
fix: Improve behavior of LaTeX at small screensizes, closes #8032
2024-11-29 11:20:01 -05:00
Tom Moor
b2d6c40ea8
chore: Add warning for problematic selfhosted config, closes #8025
2024-11-29 11:07:23 -05:00
infinite-persistence and Tom Moor
c98d6aa33a
Allow user to select doc-copy destination ( #8030 )
...
* DocumentExplorer: make style extensible
* Allow user to select doc-copy dest
The change in `documentDuplicator` essentially alters the fallback from "parent" to "top of collection". But there is only 1 place that uses it so far, so I think it's fine to support this PR.
In the next commit, the caller side will restore the default to "parent".
* Auto select parent as initial target (to retain existing behavior)
Otherwise, user would need to always search/expand the tree. I have a feeling that people might want the last selection to be persistent, but ignoring that for now.
The 50ms timeout feels dirty, but 0 was too fast, at least on my machine. I couldn't find anything in react-window for a "ready" flag.
* Rename: DuplicateDialog -> DocumentCopy
This begins the switch to DocumentCopy's look in the next few commits
* Revert DocumentExplorer style override
No longer needed since we won't be using it under a ConfirmationDialog anymore in the next commit.
* Switch to DocumentMove's style
* initialSelectionId -> defaultValue
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-11-29 10:33:38 -05:00
Hemachandar
554c2a5cdb
Simplify determining from email address ( #8039 )
...
* Simplify determining from email address
* override only for cloud-hosted
2024-11-29 06:41:48 -08:00
Hemachandar
ee426de942
Cleanup random text ( #8036 )
2024-11-29 08:14:59 -05:00
Tom Moor
746e65e658
fix: Recursively filter source document from explorer, closes #8028
2024-11-27 23:04:37 -05:00
Tom Moor
8a3a3453e7
fix: The operation was unable to achieve a quorum during its retry window
2024-11-27 23:04:37 -05:00
Tom Moor
c7d339ded5
Tracking of total uploaded attachments / team ( #8031 )
...
* Add column and task to calculate size
* Store in MB, rather than Bytes
* Add cron task to recalculate attachment sizes
* findAllInBatches
* Index createdAt
* fix: Index on incorrect table
2024-11-27 18:42:23 -08:00
Tom Moor
ed25554607
fix: Hide TOC on templates
2024-11-27 18:20:49 -05:00
Tom Moor
29329daf15
chore: Record on users.signin event
2024-11-27 17:59:46 -05:00
Tom Moor
3f6390ff18
chore: Remove error on double reload
2024-11-27 17:56:02 -05:00
Translate-O-Tron
54b43c6e6f
New Crowdin updates ( #8029 )
...
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
2024-11-27 08:38:31 -08:00
Tom Moor
8c9c83eb5a
fix: Improve contrast on context menus in dark mode
2024-11-27 10:16:22 -05:00
Tom Moor
63171e5da2
fix: Incorrect cursor on sortable table headers
2024-11-27 09:33:52 -05:00
Tom Moor
bfd84681d7
fix: Jank in domain management screen
2024-11-26 22:29:26 -05:00
Tom Moor
7d6a47ce86
chore: Remove unused undo/redo methods
2024-11-26 20:53:44 -05:00