Commit Graph

4818 Commits

Author SHA1 Message Date
Mathias Jakobsen 13ffdf3dd2 Merge pull request #27905 from overleaf/mj-pug-frontend-helpers-ts
[web] Convert pug frontend helpers to typescript

GitOrigin-RevId: e74527306ded6bc7db992cd8ceaff34d0d26b1b7
2025-08-19 08:04:50 +00:00
David 297ed66899 Merge pull request #27684 from overleaf/dp-teardown-labs
Cleanup editor-redesign labs experiment

GitOrigin-RevId: 7697736f3bada8d205bab98c03ba96a99734311a
2025-08-19 08:04:42 +00:00
David 1e6d9017ee Merge pull request #27914 from overleaf/dp-remove-duplicate-rail-component
Remove duplicate Rail component

GitOrigin-RevId: a063887559ae5305de957ec24bae930a1d8436c2
2025-08-19 08:04:37 +00:00
roo hutton af3d931a6c Merge pull request #27829 from overleaf/rh-pug-contact-suggestions
Show subject suggestions list in pug contact form

GitOrigin-RevId: 509506ab1ad629eafcc34df7d841c095321ae72b
2025-08-18 08:05:48 +00:00
Antoine Clausse ba97b96815 [web] Add admin permissions modify-group-member and modify-managed-group-member (#27665)
* Add capability `modify-managed-group-member` & `modify-group-member`

* Check `modify-managed-group-member` & `modify-group-member` (backend)

* Check `modify-managed-group-member` & `modify-group-member` (frontend)

* Update tests

* Update with `ol-hasWriteAccess` flag

* Update tests

* Move functions to AdminAuthorizationHelper.js

* Update import to fix build error

* Add `ol-hasWriteAccess` to types

* Use `hasAdminAccess()` instead of `req?.user?.isAdmin`

* Add tests on `/manage/groups/:id/invites` depending on admin roles

* Reuse `UserMembershipAuthorization.hasAdminCapability`

* Fix: Add entityAccess check

* Update unit test

* Rename `hasAdminGroupMemberCapability` to `hasModifyGroupMemberCapability`

* Remove useless and redundant `hasWriteAccess` check

* Restore stub in afterEach

GitOrigin-RevId: 4b6d83751121b43d4c19d0dbd82a4833cf7a6f24
2025-08-15 08:05:57 +00:00
Antoine Clausse fcd6c44dc3 [web] Add admin permission modify-group-setting (#27657)
* Add capacity `modify-group-setting`

* Check `modify-group-setting` (backend)

* Check `modify-group-setting` (frontend)

* Update tests

* Fix: Add entityAccess check

* Update unit test

GitOrigin-RevId: 7702fe34762ecb8bd050c2fa2b6e95a9baf90be3
2025-08-15 08:05:52 +00:00
Liangjun Song 1acb68f41c Merge pull request #27800 from overleaf/ls-support-create-stripe-customer-from-admin-panel
Support creating Stripe customer from admin panel

GitOrigin-RevId: 3e23008e1f4690e6f3737b5689e20958bf468f82
2025-08-15 08:05:34 +00:00
David 836491f87f Merge pull request #27878 from overleaf/dp-share-project-modal-utils-typescript
Convert remaining share-project-modal utils to typescript

GitOrigin-RevId: fc3fc7fbf7c8057c57f0aab261e4cedc3f7c602e
2025-08-14 08:06:24 +00:00
David a7a95f997a Merge pull request #27871 from overleaf/dp-pdf-preview-typescript-3
Convert pdf-preview metrics to typescript

GitOrigin-RevId: be8f9f97915e0681f9db4f047ed7af27afa080cf
2025-08-14 08:06:16 +00:00
David ad1aef43d9 Merge pull request #27868 from overleaf/dp-pdf-preview-2-typescript
Convert DocumentCompiler class to typescript

GitOrigin-RevId: 6a0d72f7e0cc319c9166ee6236380f6af5187dbb
2025-08-14 08:06:12 +00:00
David 12fe3843be Merge pull request #27846 from overleaf/dp-pdf-preview-typescript
Convert several pdf-preview files to typescript

GitOrigin-RevId: afa7f7fce8fec2a36090a259783a586960ccb291
2025-08-14 08:05:47 +00:00
David dd42a3b4c7 Merge pull request #27811 from overleaf/dp-file-view-typescript
Convert file-view components and test files to typescript

GitOrigin-RevId: 277aa8fd4f3d06a322dc9d0b372eebefb26fd285
2025-08-14 08:05:43 +00:00
David c967523534 Merge pull request #27806 from overleaf/dp-file-tree-modals-typescript
Convert FileTree modal components to typescript

GitOrigin-RevId: 8dde8dc0d27aa545a300f4be939eb83e6963ad5d
2025-08-14 08:05:34 +00:00
Mathias Jakobsen 6554b65142 Merge pull request #27831 from overleaf/msm-fix-sp-footer
[web] Fix CE/SP footer rendering

GitOrigin-RevId: 600ee50798c6b727dec2011198c4e55dc73455a5
2025-08-14 08:05:30 +00:00
Mathias Jakobsen ed91d043c1 Merge pull request #27790 from overleaf/mj-chat-typescript
[web] Convert remaining chat frontend and tests to typescript

GitOrigin-RevId: 6b2b485433e0a4530f00496e7ecdd49d9eb450af
2025-08-14 08:05:23 +00:00
Mathias Jakobsen 114a2af181 Merge pull request #27819 from overleaf/mj-human-readable-logs-typescript
[web] Convert logs parsing to typescript

GitOrigin-RevId: 7a338740db50c8a3a0b70dd2212083f17348d4f1
2025-08-14 08:05:15 +00:00
Mathias Jakobsen e166b09d46 Merge pull request #27836 from overleaf/mj-switch-to-pdf-ts
[web] Convert switch-to-pdf-button to typescript

GitOrigin-RevId: cdfd84bff29da9f6af440485c699e817b6498fd3
2025-08-14 08:05:08 +00:00
Mathias Jakobsen 24858111b2 Merge pull request #27840 from overleaf/mj-file-tree-ts
[web] Convert most remaining file tree components and functions to Typescript

GitOrigin-RevId: 1aabe371af489def891ffc420c7f28b4efc309ef
2025-08-14 08:05:04 +00:00
Rebeka Dekany 8acb7af2b9 Create Storybook guideline and add addon-designs to embed Figma (#27310)
* Add foundations and migrations docs

* Add storybook/addon-designs version 8.2.1

* Test Figma link

* Refactor Modal stories

* Create figmaDesignUrl

* Create foundations

* Create feature flags docs

* Create Storybook builds docs

* Add storybook/addon-designs version 8.2.1

* Test Figma link

* Add an example of Story with split-tests within the Storybook guidelines (#27260)

* Add FormatCurrency demo in feature-flags.mdx

* Add syntax highlight to code samples

* Update stories with figmaDesignUrl

* Figma access token

* Use OLButton

* Hide control for children and footer

* Add primitive colors

* Use useSplitTest instead

* Update cloud builds docs with `storybook-push-trigger`

* Make Foundations the default story

---------

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: 0729759803f190d89cf543d087eea86265b725f1
2025-08-13 08:06:22 +00:00
Mathias Jakobsen 6a7821f7bb Merge pull request #27782 from overleaf/mj-logos-ts
[web] convert logos to typescript components

GitOrigin-RevId: 12767f177d4376694dd77069451b6251e56caabf
2025-08-12 08:06:46 +00:00
David f921b27155 Merge pull request #27715 from overleaf/dp-rail-overflow-2
Add new editor rail overflow menu

GitOrigin-RevId: f93da19a2687c099ece4509c22a374a47e94f5ad
2025-08-12 08:06:39 +00:00
David 7556e1fd03 Merge pull request #25598 from overleaf/dp-proptypes-misc
Convert HotkeysModal components to Typescript

GitOrigin-RevId: c2cf7a3a33afeb996650faa6e3ed91c4fe14ef1a
2025-08-12 08:06:35 +00:00
David 6335b97d01 Merge pull request #27728 from overleaf/dp-rename-review-panel
Rename `review-panel-new` to simply `review-panel`

GitOrigin-RevId: 7aad0406bce60602d272bdfae7a124ed4246bd1c
2025-08-12 08:06:31 +00:00
roo hutton 2ac3dbd74b Merge pull request #27742 from overleaf/rh-odc-rm-skip
Remove skip button from ODC form

GitOrigin-RevId: b3974e041ab7fa5f28c2d5eb5176510616d50127
2025-08-12 08:06:12 +00:00
roo hutton 3147edccfd Merge pull request #27670 from overleaf/rh-stripe-pause-addons
Prevent buying add-on while subscription is paused

GitOrigin-RevId: b8cfbbaa05a1031bedf37edf7b1ded2252eb6906
2025-08-12 08:06:08 +00:00
Miguel Serrano f14cd4e0d3 Merge pull request #27685 from overleaf/msm-group-audit-log-event
[web] Analytics events for Group Audit Logs

GitOrigin-RevId: 751d4332a2b0f4b33fbe48a5a4c03ba45b2b5c7f
2025-08-12 08:05:47 +00:00
Miguel Serrano 56235da7dd [web] Clean up group-audit-logs split test (#27614)
GitOrigin-RevId: e22183820e418cabc83cf2619c2c10cf4f82d3b9
2025-08-12 08:05:39 +00:00
David aca5d3be44 Merge pull request #27705 from overleaf/dp-view-menu-divider
Prevent extra dividers from being rendered in view toolbar menu

GitOrigin-RevId: d89761c3c650c8724154b7ea07dcf77541dc1503
2025-08-12 08:05:26 +00:00
ilkin-overleaf 1cf64f7ed1 Merge pull request #27641 from overleaf/ii-domain-capture-page
[web] Create domain capture page

GitOrigin-RevId: df16ba2cac683d315979be69f63e160ec402020b
2025-08-11 08:06:21 +00:00
Rebeka Dekany 960eea7129 Bootstrap files and folders cleanup (#27692)
* Remove icons folder

* Create folders for badge, button, and dropdown components

* Remove Bootstrap 5 from test

* Rename `getBootstrap5Breakpoint` to `getBootstrapBreakpoint`

* Cleanup and update BS 5 comments

* Move components to the shared folder

* Rename `tooltips-bs5` to `tooltip`

* Remove `-bs5` suffix

* Fix path

* Delete BS3 version file

* Rename `_form_marketing-bootstrap-5` to `_form_marketing`

* Delete BS3 version file

* Rename `_contact_general_modal-marketing-bootstrap-5` to `_contact_general_modal-marketing`

* Delete BS3 version file

* Rename `_contact_modal-marketing-bootstrap-5` to `_contact_modal-marketing`

* Delete BS3 version file

* Rename `thin-footer-bootstrap-5` to `thin-footer`

* Delete BS3 version file

* Rename `language-picker-bootstrap-5` to `language-picker`

* Rename `fat-footer-react-bootstrap-5` to `fat-footer-react`

* Delete BS3 version file

* Rename `navbar-marketing-bootstrap-5` to `navbar-marketing`

* Rename `navbar-marketing-react-bootstrap-5` to `navbar-marketing-react`

* Delete BS3 version file

* Rename `layout-website-redesign-cms-bootstrap-5` to `layout-website-redesign-cms`

* Source format

* Fix path

GitOrigin-RevId: cf0f5db7c84cf545c69213dcc271d9ff17fe5db7
2025-08-11 08:06:16 +00:00
Mathias Jakobsen 239301d3bf Merge pull request #27630 from overleaf/mj-ai-settings-widget
[web] Update AI section of account settings page

GitOrigin-RevId: 217494ec10e686391ef46199e8cdaf900d762950
2025-08-08 08:07:05 +00:00
Mathias Jakobsen 590416cf0e Merge pull request #27620 from overleaf/mj-remove-ai-assistant-notification
[web] Remove AI Assist notification

GitOrigin-RevId: e3ffcac233eb77d215bff8af7e35f7fdecacf29a
2025-08-08 08:07:00 +00:00
Mathias Jakobsen 0cdc4c46b7 Merge pull request #27640 from overleaf/mj-ide-compile-errors
[web] Handle premium timeout and running compilation in redesigned editor

GitOrigin-RevId: 8ed05c8b9c60e85605f374898b3176c7afa561a3
2025-08-08 08:06:52 +00:00
Mathias Jakobsen 24e6729bba Merge pull request #27608 from overleaf/mj-beta-colours
[web] Update beta badge colours

GitOrigin-RevId: ffa08940a3133e09f4b14d964ac58443ba5cf4e3
2025-08-08 08:06:47 +00:00
David 65200c0004 Merge pull request #27628 from overleaf/dp-ai-assist-fair-usage
Add fair usage disclaimer to ai assist subscription pages

GitOrigin-RevId: d8cfb7649082e4e9c5d038ab46566b77c0d3d2c8
2025-08-08 08:06:38 +00:00
David b9be6e6662 Merge pull request #27389 from overleaf/dp-folder-click
Open folder on click of folder item

GitOrigin-RevId: 4af71533951ef183eec9dec4b4940470695f2f1d
2025-08-08 08:06:26 +00:00
David 622b5cb069 Merge pull request #27672 from overleaf/dp-rail-overflow
Refactor new editor rail component

GitOrigin-RevId: a6eeee36f26dd6fc11caef2d91ecc9107cdb790e
2025-08-08 08:06:21 +00:00
David 7250fd3d22 Merge pull request #27678 from overleaf/dp-open-new-file
Immediately open doc after creation

GitOrigin-RevId: a202a9ed4e03668a04594e7fe352d5c52d5d5572
2025-08-08 08:06:16 +00:00
Rebeka Dekany d51fb8a27c Remove Bootstrap version 3 (#27420)
* Remove bootstrap-3 entrypoint

* Rename bootstrap-5 entrypoint to bootstrap

* Restore entrypoints

* Remove `bootstrap-5` and `bootstrap-3` entrypoints and a single `bootstrap.ts` file is now the default entrypoint

* Update `bootstrap-5` component imports to `bootstrap`

* Update `bootstrap-5` CSS imports to `bootstrap`

* Remove the `isBootstrap5` utility

* Remove `bootstrapVersion`

* Remove `ol-bootstrapVersion`

* Remove getCssThemeModifier

* Update path and rename

* Source format

* Remove Bootstrap v3 and Bootstrap v5 alias npm packages

* Remove bootstrap argument

* Remove unused files

* Update with the latest split tests

* Remove remaining bootstrap5PageStatus

* Update path

GitOrigin-RevId: 7acda2f80114d2de8699e1f06729a2a29218e284
2025-08-08 08:06:00 +00:00
Alf Eaton 4e30374961 Fix material icon in hydrate form message (#27511)
GitOrigin-RevId: 5775f89ee625a7346ccbce8c1103dfa650ff94e3
2025-08-07 08:05:42 +00:00
Alf Eaton a59eeaaf2c Ensure variables are defined when handling message from lint worker (#27561)
GitOrigin-RevId: 69e18c41707be360eb30657780915efb0d1c9aa7
2025-08-07 08:05:37 +00:00
Alf Eaton 161808b2e6 Remove the "track changes have moved" notification (#27593)
GitOrigin-RevId: 0ae1ee54c3a2d552705c5f17d2d54dc9cbe1d457
2025-08-07 08:05:32 +00:00
Alf Eaton cda7e80d7d Only decorate itemize end line when no other text on line (#27601)
GitOrigin-RevId: 6c6b3cfe99cfec4b09476e15adc2f0758b033865
2025-08-07 08:05:28 +00:00
Mathias Jakobsen 10fc0d42e8 Merge pull request #27611 from overleaf/mj-visual-editor-feedback-badges
[web] Remove unused visual editor feedback badges

GitOrigin-RevId: adb92cc66cff5f3d48ea33e53e132605270b8f25
2025-08-07 08:05:16 +00:00
Rebeka Dekany 23fc3ff0fb Remove LESS stylesheets and dependencies (#27409)
* Remove components, core and modules LESS stylesheets

* Remove variables LESS stylesheets

* Remove app LESS stylesheets

* Remove github-sync, onboarding LESS stylesheets

* Remove main-light and IEEE LESS stylesheets

* Remove Less loader configuration

* Remove bootstrap-3 entrypoint

* Rename bootstrap-5 entrypoint to bootstrap

* Remove bootstrap-5 CSS folder and move stylesheets

* Update CSS variables

* Restore and update github-sync.scss path

* Fix try-premium.scss path and fix undefined mixin error

* Restore entrypoints

* Simplify buildCssPath to always use main-style.css

* Remove less from prettier formatting scripts

* Remove less from addHook extension

* Source format

* Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss)

* Remove less and less-loader

* Add SCSS files to pirates require hook

GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
2025-08-06 08:05:38 +00:00
Jimmy Domagala-Tang 43c640ed59 Add event when the connection lost modal is shown for users who have internet, but doc saves aren't successful (#25960)
* adding naive event send for case where realtime is disconnected, but user has internet connection for events

* using reportError and moving ops length summation to getUnsavedOpsSize

GitOrigin-RevId: 7c1c8e31ddbaa21fbc299703c69cf07ab46df925
2025-08-06 08:05:34 +00:00
David 5602a60c24 Merge pull request #27644 from overleaf/dp-default-error-text
Update text in default pdf error state in new editor

GitOrigin-RevId: 4908628aab4e7ee0e2ad2c41713ebd381395dec5
2025-08-06 08:05:13 +00:00
David 5423fb52d7 Merge pull request #27384 from overleaf/dp-drag-file-tree-outline
Allow file tree and outline to be expandable and collapsible by dragging

GitOrigin-RevId: e25f0d263b1446537cdb42ef52fe1c486e855773
2025-08-06 08:05:09 +00:00
Simon Gardner 4c2c00eeb0 Merge pull request #27464 from overleaf/slg-filter-group-member-list
add user filter to group member list

GitOrigin-RevId: 0a65ca377979de706e2e43ee024d2cee9261a121
2025-08-06 08:05:05 +00:00
Simon Gardner 3d09f34767 Merge pull request #27445 from overleaf/slg-improve-domain-matcher-error
Improve domain matcher error message

GitOrigin-RevId: 8f07a8e27854637cb931f852e6c59d4960caa33b
2025-08-05 08:06:16 +00:00