claude
b16b096744
projection: visit overlay/mounted subtrees during tree iteration
...
Build and Deploy Verso / deploy (push) Successful in 22m39s
yamlFrontmatter() embeds the Markdown content as an overlay on the top-level
YAML-frontmatter tree. The previous mode (IgnoreMounts | IgnoreOverlays)
skipped that overlay entirely, so ATXHeading nodes were never visited and the
Quarto (.qmd) file outline was always empty.
Dropping the mode flag lets the iterator descend into overlay and mounted
subtrees. This is safe because every enterNode function already filters by
node name — visiting extra nodes from foreign-language mounts is a no-op.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-08 09:03:43 +00:00
claude
9ea904f78f
Merge upstream Overleaf up to PR #34297 (68 commits)
...
Build and Deploy Verso / deploy (push) Successful in 11m30s
Conflicts resolved:
- fat-footer-website-redesign.pug: keep Verso footer (discard Overleaf marketing footer)
- MaterialSymbolsRoundedUnfilledPartialSlice.woff2: regenerated from merged
unfilled-symbols.mjs (preserves Verso's deployed_code + adds upstream's spellcheck)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-06 13:39:32 +00:00
Domagoj Kriskovic
ea57ae9125
Rename sourceEditorVisualExtensions to sourceEditorMarkdownExtensions
...
GitOrigin-RevId: a242742c3844cccb355d4a98eb27b74123ad107e
2026-06-04 08:06:09 +00:00
Domagoj Kriskovic
5cf1b43ce7
Add Markdown visual editor support
...
GitOrigin-RevId: 4ec2ffb276c729a58f82ccb26ed571f4187a4178
2026-06-04 08:06:04 +00:00
Mathias Jakobsen
24dba36060
Merge pull request #34152 from overleaf/mj-select-all
...
[web] Add select all to context menu
GitOrigin-RevId: ff5fb828db8e1cd57d1361a2e572918339e5e18b
2026-06-02 08:08:08 +00:00
claude
1e5ce6c068
Add document outline support for Markdown/Quarto files
...
Build and Deploy Verso / deploy (push) Successful in 10m47s
outline.ts: export NestingLevel so it can be used outside the file.
markdown/document-outline.ts: new enterMarkdownNode function that walks
the Lezer Markdown syntax tree and extracts ATXHeading1-6 and
SetextHeading1-2 nodes, mapping them to the same NestingLevel enum
used by the LaTeX outline (Section→SubSection→SubSubSection…).
Wrapped in makeProjectionStateField for incremental updates.
markdown/index.ts: register markdownDocumentOutline as a CodeMirror
extension in the Markdown LanguageSupport so the StateField is active
whenever a .qmd file is open.
codemirror-outline.tsx: fall back to markdownDocumentOutline when the
LaTeX documentOutline StateField is not present in the editor state
(i.e. when the active language is Markdown, not LaTeX).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-31 14:35:01 +00:00
Eric Mc Sween
aca60c02c0
Merge pull request #33391 from overleaf/em-bibtex-projection-32449
...
Use a projected state field for BibTeX entries in the editor
GitOrigin-RevId: 5034be8bdc0cb4b9d854135ac117046c1b3750e7
2026-05-12 08:06:47 +00:00
Eric Mc Sween
628e05a278
Merge pull request #32884 from overleaf/em-editor-switch-by-filetype
...
[web] Split editor mode preference by file type
GitOrigin-RevId: 2574623c9c1c88cc66de72c19cffb4428a632e96
2026-04-21 08:06:23 +00:00
Malik Glossop
6901a2a8de
Merge pull request #32135 from overleaf/mg-comment-empty-select
...
Allow adding comments on empty selection
GitOrigin-RevId: 14e742bb563fab99624be860691f1a9d2dabc00e
2026-03-20 09:07:28 +00:00
Malik Glossop
9d58797a04
Merge pull request #31981 from overleaf/mg-context-mobile
...
[web] Add stricter mobile detection for context menu
GitOrigin-RevId: 9c9e75a14c1f9841b5125cb4fb4ef8c2f3b8a33f
2026-03-06 09:16:21 +00:00
Malik Glossop
87c7b23107
Merge pull request #32007 from overleaf/mg-context-ctrl-click
...
[web] Only allow ctrl+click context menu trigger for macos
GitOrigin-RevId: ca0476bd94e25e92e6fa86f5bcaf8a209212c1b9
2026-03-06 09:16:08 +00:00
Malik Glossop
a293474c0c
Merge pull request #31035 from overleaf/mg-context-menu-analytics
...
Add analytics event for context menu, comment, track changes, and jump to location
GitOrigin-RevId: 8412cc3c8039cd1582ccee20b162b4bef4467dea
2026-03-06 09:14:26 +00:00
Malik Glossop
ae5e3543c5
Merge pull request #30596 from overleaf/mg-context-menu-hide-others
...
Hide other menus when right-click context menu opens
GitOrigin-RevId: c7a2126ec58ed69520f31ba20fa450a6f1524a3f
2026-01-20 09:06:37 +00:00
Alf Eaton
03a3518aae
Merge pull request #30703 from overleaf/ae-prettier
...
Upgrade Prettier to v3.7.4
GitOrigin-RevId: 0f4434019bc7d12f2d5b7ecbb833ee20570d0706
2026-01-16 09:56:07 +00:00
Malik Glossop
a0fc14b367
Merge pull request #30495 from overleaf/mg-context-menu-paste
...
[web] Support paste with formatting in context menu
GitOrigin-RevId: 551ed1d49ca423395bd9bfc756e10e8d59d71ecd
2026-01-15 14:19:03 +00:00
Malik Glossop
f087d125c1
Merge pull request #30168 from overleaf/mg-context-menu
...
Add context menu (right click) to editor
GitOrigin-RevId: f2e567b51b04170ba1a46b0ab4659f3481b05bfe
2026-01-15 14:18:58 +00:00
Domagoj Kriskovic
4e2ea44b61
[web] add BibTeX visual editor module ( #30726 )
...
* [web] add BibTeX visual editor module
* Make the visual editor hook open to extension
Instead of looking specifically for the bibtex visual editor, allow any
extension to provide a visual editor.
* Fix stylelint error
---------
Co-authored-by: Eric Mc Sween <5454374+emcsween@users.noreply.github.com >
GitOrigin-RevId: c85c27a2b119c826e3d00cbd475a2a21f1508091
2026-01-15 09:05:13 +00:00
Alf Eaton
861b66b007
Revert "Cite an article by pasting the DOI ( #29994 )" ( #30607 )
...
This reverts commit a68af023b24fcf87bbc608395f2898df8e9b41a5.
GitOrigin-RevId: c0dd9ae3f6a0e12e6ba7d1e856327ea89eae8157
2026-01-09 09:07:14 +00:00
Alf Eaton
18b2621855
Cite an article by pasting the DOI ( #29994 )
...
GitOrigin-RevId: a68af023b24fcf87bbc608395f2898df8e9b41a5
2026-01-09 09:06:51 +00:00
Malik Glossop
4462472e33
Merge pull request #30027 from overleaf/mg-svg-figure-modal
...
Support svg files in figure modal
GitOrigin-RevId: 4f0e110dad3c06f5e5ac699e0bfcaf3cd6c784ff
2025-12-10 09:05:44 +00:00
Mathias Jakobsen
129a002055
Merge pull request #29074 from overleaf/mj-figure-modal-eps
...
[web] Allow eps files in figure modal
GitOrigin-RevId: 2678f1415d04b366a6e8a829a9e75e3ef1133685
2025-10-16 08:05:51 +00:00
David
584572bb40
Merge pull request #28760 from overleaf/dp-hackathon-knip
...
Add Knip and remove a bunch of unused code
GitOrigin-RevId: 42ab99fc65973c883d2361e0027e7181767e714e
2025-10-15 08:05:57 +00:00
Alf Eaton
7e74841a97
Ensure that invalid search regexp is correctly highlighted ( #28724 )
...
GitOrigin-RevId: f122e2ea649d8cbfa984ddad0b7424aa96bd015a
2025-10-07 08:06:40 +00:00
Alf Eaton
2c1baa717d
Use tracked changes and comments from the snapshot ( #26267 )
...
GitOrigin-RevId: c2bf0c9c9a5ab4f8837b8712ca549119a31cf067
2025-09-05 08:05:56 +00:00
Mathias Jakobsen
d8f18f9667
Merge pull request #27099 from overleaf/mj-no-duplicate-themes
...
[web] Avoid creating duplicate CM6 themes
GitOrigin-RevId: f6132d6cdd94ef353e047ce229d89147acc89603
2025-08-05 08:05:14 +00:00
Alf Eaton
d3668bddec
Clamp minimum valid doc position to 0 ( #27461 )
...
GitOrigin-RevId: d531e2b5351b41217ccc8385f8f317cce91a840b
2025-07-30 08:06:09 +00:00
Alf Eaton
9958ffdf68
Merge pull request #27123 from overleaf/ae-goto-scroll-select-text
...
Highlight double-clicked word when syncing position from PDF to code
GitOrigin-RevId: da120af9dec203346cb85c6aa7e403f4e585c748
2025-07-29 08:05:51 +00:00
Alf Eaton
2304e6d32b
Upgrade Lezer dependencies ( #21987 )
...
GitOrigin-RevId: 5eb834bb1144c499ea29539750f1b73edeeff2f8
2024-11-21 09:04:03 +00:00
Alf Eaton
36acad4d1b
Rename $SectioningCommand to $SectioningCtrlSeq or $Section ( #21534 )
...
GitOrigin-RevId: 5b3173d82ec4c00fe69e2ab059bf48a872a4ca3e
2024-11-18 09:04:51 +00:00
Domagoj Kriskovic
0329a18875
Show "add comment" tooltip below cursor if near viewport top ( #21348 )
...
* Scroll selection anchor into view when adding new comment
* check if cursor is near viewport edge
* Show "add comment" tooltip below cursor if near viewport top
GitOrigin-RevId: 0dc2234bc03b1d88a3719ba01a4a865f218b9bfa
2024-10-28 09:05:47 +00:00
Domagoj Kriskovic
db23262611
Scroll selection anchor into view when adding new comment ( #21328 )
...
* Scroll selection anchor into view when adding new comment
* check if cursor is near viewport edge
GitOrigin-RevId: 57d4195f7ce1513a56249365b45b3959b4ea813f
2024-10-28 09:05:29 +00:00
Alf Eaton
c0d6a9c5f0
Use noSpellCheckProp NodeProp to exclude node types from spell check ( #21335 )
...
GitOrigin-RevId: 91ba72285b0f01c3c00fdb1a64c30e9ff67f72f5
2024-10-28 09:05:16 +00:00
Alf Eaton
77ad90d59a
Refactor to texOrPdfString function
...
GitOrigin-RevId: b084966a4fc13de4708973685844b2d9d2405e9b
2024-09-26 08:05:13 +00:00
Copybot
2a2bb3f064
Merge pull request #1245 from AnessZurba:tex-or-pdf
...
GitOrigin-RevId: 096f7e5bb581c3984db8dc74e7a4c525de862cce
2024-09-26 08:05:08 +00:00
David
9cf94e57d3
Include \def, \let, \newenvironment and \renewenvironment commands in the math preview ( #20197 )
...
* Include \def commands in command definitions
* Allow command name to be in CtrlSym
* Pull nodeIntersectsChange check out of branches
* Fix \def handling
* Add handling for \newenvironment and \renewenvironment
* Allow \def to have optional arguments
* :x
Revert "Add handling for \newenvironment and \renewenvironment"
This reverts commit a70d3a0a13ed552daf3b761893e3f8609f0b0fc8.
* Add let commands to defintions
* Add environment names to math preview
* Ignore let command definitions in autocomplete
* Move nodeIntersectsChange check back into each block
* Add childOfNodeWithType utility and use to get command names
* commandNameText -> commandName
* Only include environment definitions
* Rename documentEnvironmentNames to documentEnvironments
* EnvironmentName -> Environment
* Format
GitOrigin-RevId: 9c5d701423ae786e5ff91960b4bcd94cd35d21c8
2024-09-17 08:04:53 +00:00
David
f4c57fce4c
Merge pull request #20246 from overleaf/dp-math-preview-closing-delimiter
...
Don't show math preview tooltip if the node has a parse error
GitOrigin-RevId: 330ebb945c70da4b5fe9ee4ee2f149a95435899b
2024-09-04 08:05:50 +00:00
Anass Zurba
d1f15b7216
outline: handle texorpdfstring command.
2024-08-28 22:24:40 +03:00
Alf Eaton
603ff28df0
Add text formatting commands to the LaTeX grammar ( #19607 )
...
GitOrigin-RevId: f69cd323992c80de3f0a458a637fa8f160017076
2024-08-02 08:06:11 +00:00
David
72c7b946ed
Merge pull request #19617 from overleaf/dp-tooltip-alignment
...
Always render math preview tooltip at start of math content
GitOrigin-RevId: b0af7aa3c0920b2a9b9930f27a580018de1d2f52
2024-07-29 08:04:36 +00:00
David
c07d2f3fa2
Merge pull request #19528 from overleaf/dp-equation-preview
...
Equation Preview
GitOrigin-RevId: 98e71e5d2c1a83d6c9fa685eeee1f4b93a5a3da1
2024-07-25 08:05:04 +00:00
Mathias Jakobsen
34422b1428
Merge pull request #19418 from overleaf/mj-write-and-cite-custom-render
...
[web] Write & Cite autocomplete prototype
GitOrigin-RevId: f51edb9b1ab9cc2ac8f18277cb291ee87650c213
2024-07-24 08:05:04 +00:00
Mathias Jakobsen
abaf07a8bb
Merge pull request #19158 from overleaf/mj-commands-autocomplete-optional-args
...
[web] Avoid double counting optional arguments for autocomplete
GitOrigin-RevId: 7abdc73657791b945bd5a7a9e29f5cd127c7882b
2024-06-27 08:04:31 +00:00
Mathias Jakobsen
d21da7d084
Merge pull request #19157 from overleaf/mj-separate-unknowncommands
...
[lezer] Separate unknown commands for definition fragments
GitOrigin-RevId: 21ce8d03e68f4af13c3937b4b5fd6f7ed0e50995
2024-06-26 11:11:53 +00:00
Mathias Jakobsen
46a160f127
Merge pull request #19072 from overleaf/mj-known-commands-reuse
...
[web] Parse known commands in math mode
GitOrigin-RevId: e7937fc46320f13c716d1612eca36aa67c8fb967
2024-06-25 11:12:14 +00:00
Mathias Jakobsen
9b1c703f6b
Merge pull request #18901 from overleaf/mj-math-mode-args
...
[lezer] Parse command arguments in math mode
GitOrigin-RevId: 85a35f412de4c7238d735253c2642066ebffb393
2024-06-19 08:04:16 +00:00
Alf Eaton
e7827fbd57
Validate URL protocol before opening from Visual Editor tooltip ( #18393 )
...
GitOrigin-RevId: 1da255d3e8ccd91e8c8774d140ec663906be948f
2024-05-21 08:04:26 +00:00
Alf Eaton
c1c098e2f9
Allow files to be dragged from the file tree into the editor ( #15028 )
...
GitOrigin-RevId: f926666c032d1398a0e3f72a298116a3c7a9cd75
2024-05-09 08:04:46 +00:00
Alf Eaton
ab5495023a
[visual] Add support for description list environments ( #13460 )
...
GitOrigin-RevId: d1ddfeed4ba453afa348e57d75fdb3e12d29f5fc
2024-05-03 08:04:53 +00:00
Alf Eaton
4a7a24b44d
Update the CodeMirror language when the current file is renamed ( #16342 )
...
GitOrigin-RevId: 8b51df0d1acfeeb8b0323cebf6de78572c8cb95c
2024-01-15 09:04:27 +00:00
Alf Eaton
8feef7bf5e
Remove findEffect ( #16343 )
...
GitOrigin-RevId: b8472f5128deac5e7f94fb1ec1e64899a8da510a
2024-01-04 09:03:20 +00:00