Antoine Clausse
f49c89c99b
[web] Changes to recompile button in Bootstrap 5 ( #21586 )
...
* Add Story for `PdfCompileButton`
* Set the CompileButton height so it's similar to BS3
* Add the CompileButton animations
* Remove `sm` from CompileButton: makes font size bigger
* Use MaterialIcon in compile-button dropdown-toggle
* Use MaterialIcon in LayoutDropdown
* Fix stripe alignment on Recompile button
* Set padding around dropdown caret
Per Alexandru's instructions
* Prevent border from disappearing on hover
* Set the padding of the compile button even on both sides
Before: left 12px, right 16px;
After: left 16px, right 16px;
* Change px values to spacing var
* Add some button classes for BS5 only
* Don't render the hidden "Compiling…" in BS5, it changes the button width
* Prevent `loading="[object Object]"` in the DOM
Co-authored-by: Rebeka <rebeka.dekany@overleaf.com >
---------
Co-authored-by: Rebeka <rebeka.dekany@overleaf.com >
GitOrigin-RevId: 34f1eed03e63f3459243a37c878612a623f321f8
2024-11-15 09:05:25 +00:00
Jimmy Domagala-Tang
199ee41c23
Merge pull request #21692 from overleaf/jdt-premium-secondary-button
...
Add premium-secondary button style
GitOrigin-RevId: 79ac9004a0b081eb1e7ac2af88ca1f976b997fe0
2024-11-14 09:05:19 +00:00
Antoine Clausse
dd2c5d0d39
[web] Wrap Layout MenuItem description on a new line in BS5 ( #21206 )
...
* [storybook] Rerender when switching BS version
* Move comment to related code (bsStyle)
* Wrap the Layout MenuItem "subdued" text, using flex-column
* Create a Story for `LayoutDropdownButton`
* Center `.layout-dropdown .dropdown-item` vertically
* Remove unused classname `layout-dropdown-list`
* [storybook] Allow `detachable` to be passed as a prop
* Migrate `DetachDisabled` to BS5
* [storybook] Set actions for `^handle.*`, rename story
GitOrigin-RevId: 18509d259fad02a8aeb52132f1919e216b092b7e
2024-10-29 09:05:44 +00:00
Jessica Lawshe
88727cf379
Merge pull request #21273 from overleaf/jel-tag-names
...
[web] Update popular tag names on dash to reflect new names
GitOrigin-RevId: 76e40103102934c260bca3728af66f28bfcba568
2024-10-24 08:06:03 +00:00
Antoine Clausse
380028b4f1
[web] Migrate PDF Logs to BS5 ( #21062 )
...
* [web] Migrate Logs components JSX to Bootstrap 5
* [web] Migrate logs.less to logs.scss
* [web] Remove unused class names
* [storybook] Define default Bootstrap version in Storybook
This prevents some warning in the console
* [storybook] Update pdf-preview.stories.jsx
* [storybook] Add pdf-log-entry.stories.tsx
* [storybook] Force re-renders when switching BS version
* [web] Keep files dropdown menu in bounds
* [web] Make files dropdown items not bold in BS5
* [web] Revert unrelated change
* [web] Fixup PreviewLogsPaneMaxEntries
* [web] Add style for log-entry-content-link
* [web] Replace log-entry by OLNotification in `PdfCodeCheckFailedNotice`
* [web] Use `BootstrapVersionSwitcher` instead of `isBootstrap5`
* [web] Rename `DropdownBS3` to `BS3Dropdown`
* [web] Reuse variables for `toolbar-height` and `toolbar-small-height`
* [web] Set `id` on `DropdownToggle` not `Dropdown`
* [web] Set `log-entry-btn-expand-collapse` in BS3 only
* [web] Remove `block: true` from StartFreeTrialButton in BS3
* [web] Remove unnecessary CSS in `.log-entry-header-link`
* [web] Use semantic color names
* Migrate the downloadable pdf file list to Bootstrap 5
* Remove nested BootstrapVersionSwitcher, fix "key" prop
* Update roles to: `<li role="menuitem">` `<a role="link">`
* Update `log-entry-header-link`: variant ghost and fix colors
---------
Co-authored-by: Rebeka <o.dekany@gmail.com >
GitOrigin-RevId: 89848970ab5d8a8c135335386caf24363f69a34c
2024-10-23 08:06:32 +00:00
ilkin-overleaf
a15c521412
Merge pull request #21115 from overleaf/ii-bs5-review-panel
...
[web] BS5 review panel new
GitOrigin-RevId: c65d17d0053858bd74984ba746a620b89d900606
2024-10-21 08:04:37 +00:00
Tim Down
321daacbe0
Merge pull request #20860 from overleaf/td-bs5-history-versions-list
...
Migrate history versions list to Bootstrap 5
GitOrigin-RevId: 4e006ad353cb11eadaefb2df41d2b8591003c664
2024-10-14 11:11:01 +00:00
Antoine Clausse
eac3802bae
[web] Migrate IDE page loading screen to BS5 ( #20896 )
...
* [web] Add `.loading-screen` style
* [web] Add `.loading-screen-error` style
* [web] Nest styles in `.loading-screen`
* [web] Simplify code, make a more valuable Storybook
* [web] Add a reusable bootstrap-switcher argument to loading.stories.tsx
* [web] Make `isBootstrap5()` work in storybook
* [web] Revert unrelated changes around `ConnectionError` type
* [web] Remove comment about unhandled error codes
https://github.com/overleaf/internal/pull/20896/files#r1790572314
* [web] Don't repeat the `errorCode` prop type
* [web] Remove unused CSS and magic padding
* [web] Fixup SCSS division
* [storybook] Revert Storybook changes (moved to another branch)
* [web] Fixup SCSS division again (lint)
* [web] Render with `Boolean(errorCode) && ...` instead of `errorCode && ...`
* [web] Remove importants; use spacing var
Addresses Tim's comments
GitOrigin-RevId: e8b5623f4bb9aa72a255851f46b45b652a0dbb16
2024-10-14 11:07:50 +00:00
Antoine Clausse
102862807e
[storybook] Update Storybook and add a control for BS3/BS5 ( #20948 )
...
* [storybook] Update Storybook to version 8.3.5
* [storybook] Run storybook with `--no-open`. Fixes xdg-utils issue
* [storybook] Create decorator for BS3/BS5
* [storybook] Add `bsVersionDecorator` to stories
* [storybook] Fix bugs in stories
* [storybook] Fixup `useMeta` type. Use `DeepPartial`
* [storybook] Fix types
GitOrigin-RevId: 48c0f0fefb1ab2d4863ab59051b900b1908a613c
2024-10-14 11:07:40 +00:00
ilkin-overleaf
7439eee365
Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar
...
[web] BS5 pdf toolbar
GitOrigin-RevId: a04091c9e936e52f47c3977b3149ffe613d43bb9
2024-10-14 11:06:17 +00:00
ilkin-overleaf
8c19090655
Merge pull request #20436 from overleaf/ii-bs5-editor-toolbar
...
[web] BS5 editor toolbar
GitOrigin-RevId: a517fd52d648d165e89231d6f5551c026a951c43
2024-10-01 08:04:42 +00:00
Eric Mc Sween
d54d5f1eb6
Merge pull request #20317 from overleaf/em-github-sync-errors
...
Replace alerts with notifications in the github-sync modal
GitOrigin-RevId: 772add41b2d525353dc0c0362ebc64c4a023e2c3
2024-09-20 08:05:26 +00:00
Tim Down
9d4b7a80ea
Merge pull request #20169 from overleaf/td-contact-modal-acknowledge
...
Add acknowledgement message to React contact modal after successful submission
GitOrigin-RevId: a27b968351857997df17fedde3baa9da3f82331a
2024-09-05 08:05:28 +00:00
ilkin-overleaf
7391b29c09
Merge pull request #20205 from overleaf/ii-bs5-ide-header
...
[web] BS5 ide page header
GitOrigin-RevId: b7aad221d458d8403d60ff9950129394c74af856
2024-09-04 08:06:00 +00:00
Liangjun Song
51761303b8
Merge pull request #19954 from overleaf/ls-access-token-gradual-rollout-cleanup
...
Update git bridge modal for pw auth deprecation
GitOrigin-RevId: 2e764922bf350ddcba29bf9f3baa220ed1f48e40
2024-08-26 08:05:15 +00:00
ilkin-overleaf
09ca49a860
Merge pull request #19840 from overleaf/ii-bs5-project-tools
...
[web] BS5 project tools
GitOrigin-RevId: 3181c62985b6db4051292b484f53178a0736fa75
2024-08-22 14:01:43 +00:00
ilkin-overleaf
ab522b1203
Merge pull request #19961 from overleaf/td-contact-modal-sp-ce-fix
...
Fix SP and CE builds broken by Contact Us changes
GitOrigin-RevId: fb9099ed7d755b30ab8706facd6f0d95aefbad1e
2024-08-22 14:00:54 +00:00
Jakob Ackermann
739b775a1b
Merge pull request #19842 from overleaf/jpa-ro-mirror-on-client
...
[misc] add readonly mirror of full project content on the client
GitOrigin-RevId: 940bd93bfd587f83ca383d10fc44579b38fc3e88
2024-08-22 08:05:13 +00:00
Tim Down
a745081514
Merge pull request #19126 from overleaf/td-bs5-contact-modal-react
...
React version of Contact Us modal
GitOrigin-RevId: 0bef3095f36daa88afdc6172a5531ed11e892047
2024-08-14 08:04:37 +00:00
ilkin-overleaf
5f386cb101
Merge pull request #19466 from overleaf/ii-bs5-projects-tags
...
[web] BS5 projects tags
GitOrigin-RevId: 4cdea8ad374c8b0ecba9281e3bde64517e6b0153
2024-07-25 08:05:20 +00:00
ilkin-overleaf
51d7d8df84
Merge pull request #19366 from overleaf/ii-bs5-projects-list-search
...
[web] BS5 projects list search
GitOrigin-RevId: e2545f43ac3a50e58f7e97a2038e5b768c909e4f
2024-07-17 08:05:10 +00:00
Alf Eaton
3a673672e8
Streamline the project references context provider ( #19387 )
...
GitOrigin-RevId: 9af00459ec121a605b84809b349a0bc258896048
2024-07-16 08:04:30 +00:00
Alf Eaton
87a0d2562d
Streamline the project metadata context provider ( #19384 )
...
GitOrigin-RevId: 0b75635cb9141983827dfd0fa6a58b6182d47f22
2024-07-15 09:32:59 +00:00
Alf Eaton
29ae659a26
Add translated messages for more connection error states ( #19392 )
...
GitOrigin-RevId: 981de624f3964ebe3ff1f0c751fcef9158864d5e
2024-07-15 09:32:55 +00:00
Jessica Lawshe
27f3384d4d
Merge pull request #19254 from overleaf/jel-cms-button-spacing
...
[web] Standardize button spacing in CMS pages using new site design
GitOrigin-RevId: da5756adc3074603584a4c7e80b9443602413711
2024-07-15 09:02:48 +00:00
Jessica Lawshe
a7fab51e70
Merge pull request #19230 from overleaf/jel-storybook-btn-premium
...
[storybook] Add new premium button style to storybook
GitOrigin-RevId: 7985b04f068c4b8142773751cc35935367bb6510
2024-07-04 08:05:17 +00:00
roo hutton
fea9ec33f4
Merge pull request #18861 from overleaf/rh-editor-limit-exceeded
...
[web]: Handle exceeded editor limit in share modal
GitOrigin-RevId: 23a15805ca98327ae4a7fc731bbca3982c90bad5
2024-06-25 08:04:46 +00:00
Mathias Jakobsen
98dd3782ce
Merge pull request #18991 from overleaf/mj-table-generator-promotion-teardown
...
[web] Tear down table generator promotion
GitOrigin-RevId: 361215bdd792042ae68762fa20ae60286db5bab3
2024-06-24 12:05:18 +00:00
ilkin-overleaf
30059c2da3
Merge pull request #18763 from overleaf/ii-bs5-projects-notifications
...
[web] BS5 notifications in projects and welcome pages
GitOrigin-RevId: 25780bb64660ef41c41c007f94f70df273cac716
2024-06-24 12:03:15 +00:00
Jakob Ackermann
cb987446ed
Merge pull request #18898 from overleaf/jpa-no-window
...
[web] migrate from window attributes to getMeta
GitOrigin-RevId: 3dcf1ab6b01155e5e4abeb3e78d0fa9053e055bc
2024-06-19 08:04:21 +00:00
ilkin-overleaf
820174b123
Merge pull request #18690 from overleaf/ii-bs5-projects-welcome
...
[web] Welcome page migration
GitOrigin-RevId: 2469786372df24d579d1987cf5bb1113450e9d78
2024-06-14 08:04:32 +00:00
Alf Eaton
69e90c2ebf
Remove Angular ( #17534 )
...
GitOrigin-RevId: 7a0d45e17d9905fa75569e2d19ca59caa4a41565
2024-06-06 08:04:09 +00:00
ilkin-overleaf
8bab13aff7
Merge pull request #18338 from overleaf/ii-bs5-split-badges-and-tags
...
[web] Split badges and tags
GitOrigin-RevId: fce5a93672f431ff74c2b63a67e249f5f7e7fecd
2024-05-28 08:04:05 +00:00
ilkin-overleaf
b2c519cb40
Merge pull request #18369 from overleaf/ii-bs5-downshift
...
[web] BS5 downshift in account settings page
GitOrigin-RevId: acfbde3ec87ae8038e0b19ddaca35e6c7392743b
2024-05-21 08:04:40 +00:00
ilkin-overleaf
a77eeafdfa
Merge pull request #18103 from overleaf/ii-bs5-forms
...
[web] Bootstrap 5 form elements
GitOrigin-RevId: 7d031bed07007d0aa00a43f06d25bfb7384dee87
2024-05-15 08:05:11 +00:00
Jakob Ackermann
6ae93330b1
Merge pull request #18222 from overleaf/jpa-socket-io-mock
...
[web] replace socket.io-mock with simple EventEmitter based interface
GitOrigin-RevId: 012e4263367a83e16efea3947f310a2de9a65279
2024-05-09 08:05:14 +00:00
Alf Eaton
51b8001e4d
Disable the file tree "create file" name input while a request is in flight ( #18001 )
...
GitOrigin-RevId: ef505220e8cff1dce4c84483edacd96cc87bb1aa
2024-04-25 08:04:33 +00:00
ilkin-overleaf
635d0525eb
Merge pull request #17908 from overleaf/ii-bs5-badge
...
[web] Create Bootstrap 5 badges
GitOrigin-RevId: 72355c7cf7dca2a5d16bc890d7cfa4a432dd15ba
2024-04-22 08:04:07 +00:00
Thomas
71b493ec9d
Merge pull request #17898 from overleaf/tm-remove-twitter-login
...
Remove twitter login code and uninstall passport-twitter
GitOrigin-RevId: 928c877ef2a42d5881652cad7f9d563c7766fd36
2024-04-18 08:04:16 +00:00
Rebeka Dekany
dbd2a32fca
Merge pull request #17806 from overleaf/rd-bootstrap-button2
...
[web] - Updating the Account Settings page with the Button and Icon Button wrappers
GitOrigin-RevId: 135c4ddaa64d009d3ab8cdfef9cff899fd77669c
2024-04-17 08:05:10 +00:00
M Fahru
1403e4aa7d
Merge pull request #17736 from overleaf/ii-bs5-tooltip
...
[web] Create Btoostrap 5 tooltips
GitOrigin-RevId: 28c7c389bda74765482049750fc0ae8a5995968e
2024-04-16 08:04:42 +00:00
Antoine Clausse
e2648c28cd
Merge pull request #17909 from overleaf/ac-tear-down-compile-timeout-tests-2
...
[web] Remove split-tests `compile-backend-class*` and `compile-timeout-20s*` (attempt 2)
GitOrigin-RevId: 5658f2977d3e7089eec5bbe7a33eee81c153e41d
2024-04-16 08:04:08 +00:00
Antoine Clausse
113344b6a9
Merge pull request #17899 from overleaf/revert-17700-ac-tear-down-compile-timeout-tests
...
Revert "[web] Remove split-tests `compile-backend-class*` and `compile-timeout-20s*`"
GitOrigin-RevId: d5070ced06adbd435e782a44b7ef767e395bd6a0
2024-04-15 08:04:37 +00:00
Antoine Clausse
7cb0b0b6af
[web] Remove split-tests compile-backend-class* and compile-timeout-20s* ( #17700 )
...
* Remove split-tests of `compile-timeout-20s` and `compile-timeout-20s-existing-users`
* Remove `NEW_COMPILE_TIMEOUT_ENFORCED_CUTOFF` variables
* Revert timeout override `60` -> `20`
* Update settings.overrides.saas.js: `compileTimeout: 20`
* Remove `compile-backend-class-n2d`
* Remove `force_new_compile_timeout`
* Remove `showNewCompileTimeoutUI`
* Remove `compileTimeChanging`
* Simplify code by removing segmentation object
* Remove `CompileTimeoutChangingSoon`
* Remove `user.features.compileTimeout = '20 (with 10s prompt)'`
* Remove `CompileTimeWarning`
* Remove `TimeoutUpgradePrompt` (old)
* Remove `compile-backend-class`
* Remove unused translations
* Update tests
* Fix: Show `CompileTimeout` even if `!window.ExposedSettings.enableSubscriptions`
* Create script to migrate users to 20s compileTimeout
* migration script: exclude `compileTimeout: 20` from the match
* migration script: use `batchedUpdate`
* Remove `showFasterCompilesFeedbackUI` and `FasterCompilesFeedback`
Helped-by: Jakob Ackermann <jakob.ackermann@overleaf.com >
* Remove `_getCompileBackendClassDetails`, simplify definition of `limits` object
* Remove `Settings.apis.clsi.defaultBackendClass`
* Remove unnecessary second scan of the whole user collection in dry mode
* Override `timeout` to 20 for users having `compileGroup === 'standard' && compileTimeout <= 60`
* Remove second `logCount`: re-run the script in dry-mode if you want to see that count
* Use secondary readPreference when counting users
* Fix script setup and exit 0
* Fix: Remove `user.` from query path!
* Add acceptance test on script migration_compile_timeout_60s_to_20s.js
GitOrigin-RevId: 3cb65130e6d7fbd9c54005f4c213066d0473e9d8
2024-04-15 08:04:24 +00:00
ilkin-overleaf
5e7500a296
Merge pull request #17619 from overleaf/ii-bs5-rows-cols
...
[web] Bootstrap 5 containers, rows, cols
GitOrigin-RevId: 2b6b6fd1aebce739971e1428ab7c3cd6ec6c3858
2024-04-08 08:03:59 +00:00
Rebeka Dekany
5fc255badc
Merge pull request #17568 from overleaf/rd-b5-button-fix
...
[web] Fix the Button component accessibility label
GitOrigin-RevId: 1d157fca370c5e0425890468d7cad169d0261c23
2024-03-28 09:04:02 +00:00
Alf Eaton
84597f24bf
Upgrade Storybook to v8 ( #17522 )
...
GitOrigin-RevId: 9cc61614ef0a5661549a8842b61bc2ead9537939
2024-03-26 09:04:10 +00:00
Rebeka Dekany
53e9212063
Merge pull request #17216 from overleaf/rd-bootstrap5-buttons
...
Bootstrap-5 Button component
GitOrigin-RevId: 1fb13b7ab2b71403b0236f1f85aec7b9545b34f1
2024-03-06 17:27:49 +00:00
Miguel Serrano
b379d0e863
Merge pull request #17373 from overleaf/jpa-figure-modal-options
...
[web] hide figure modal import options as configured server side
GitOrigin-RevId: f8907a33d413fcac238b00328eaba14d64f2f31b
2024-03-06 17:27:32 +00:00
Rebeka Dekany
21b5e44c50
Merge pull request #16925 from overleaf/rd-dropdown-bootstrap5
...
Bootstrap-5 Dropdown menu component
GitOrigin-RevId: 8a74f2341eebf953367ab73946d72e8aa7bd3c13
2024-02-26 09:03:05 +00:00