Commit graph

221 commits

Author SHA1 Message Date
Alexandre Bourdin
d501bc4820 [web] Compile time warning split test (#8813)
* Implement compile time warning split test

* Add i18n for compile time warning

* Memoize CompileTimeWarning component

* Reuse startFreeTrial() function from account-upgrade

* Improve usage of react bootstrap native properties

* Cleanup compile-time-warning

* Move all logic into CompileTimeWarning component

* Only show compile time warning to project owners

* Handle compile time warning in detached mode and while switching layout

GitOrigin-RevId: 4fc40acfc113f91c81a6744c14c0f8b3ef766e39
2022-07-14 08:03:50 +00:00
M Fahru
cc92f264d2 Improve new plans page university info styling and change its copy (#8822)
GitOrigin-RevId: ebb0e3677cce862f22757a5a7236591d98f39078
2022-07-13 08:05:47 +00:00
M Fahru
3b4968e263 Change number of users in group plan to have a dynamic value in the new plans page (#8592)
GitOrigin-RevId: 008c0a1120e5b99945f18f0b4eee60bfcb08a331
2022-07-13 08:05:33 +00:00
M Fahru
8603fcac6c Add correct link to the university support button (#8797)
GitOrigin-RevId: 1ecb591ff9dd99d195eed0fa2ae4b5702ef53b7e
2022-07-13 08:05:27 +00:00
M Fahru
6c7fd1dad0 Add new university info card in the new plans page (#8676)
GitOrigin-RevId: 7d9ec211930afc2536df36665d6cfc6f2cd7b46b
2022-07-13 08:05:13 +00:00
M Fahru
f3118771fe Add new limited discount information on personal plan in the new plans page (#8715)
GitOrigin-RevId: 7f4e91179ba767ff8b88df7787eaf9d4fe6a5f05
2022-07-13 08:05:06 +00:00
M Fahru
ebbe14e1a7 Remove university section from the Student Plans in the new plans page
GitOrigin-RevId: 00917ab8cd5190721036baab9ea8ab5fca9a3665
2022-07-13 08:04:59 +00:00
M Fahru
c95c96a1d4 Fix big spacing on the bottom and the right side of the new plans page (#8767)
GitOrigin-RevId: c30ed0e7733eb48048162ed55d0359b449e4f10b
2022-07-11 08:04:53 +00:00
ilkin-overleaf
f2e6cf7a3b Merge pull request #8700 from overleaf/ii-cm6-source-editor-switch-toggle
[cm6] Prevent hopping to rich text when clicking the source button

GitOrigin-RevId: 2359e157c12026a1c5ceb8b6e40cd45956d75d1d
2022-07-08 08:05:10 +00:00
Alf Eaton
c8b0e81550 [cm6] Tidy up advanced references search banner code (#8674)
GitOrigin-RevId: a0044b9328af03a77ac3c3e5d5caa594bbd5fe6b
2022-07-08 08:04:49 +00:00
M Fahru
bbaac83b82 Refactor plans v2 sticky header to use dedicated config instead of hardcode (#8659)
GitOrigin-RevId: 3ea56ad5c6b9b5f6556e97429cf3e67a0b0d56bc
2022-07-06 08:03:02 +00:00
M Fahru
361f6f245a Refactor new plans page (#8493)
* [web] hide the monthly/annual switch for small screens via css

Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>

* [web] merge logic for hiding elements shown in a subset of view

Co-Authored-By: M Fahru <m.fahru@overleaf.com>

* [web] hide the monthly/annual switch for small screens via css

Co-Authored-By: M Fahru <m.fahru@overleaf.com>

* [web] merge logic for hiding elements shown in a subset of view

Co-Authored-By: M Fahru <m.fahru@overleaf.com>

* fix inverted logic on monthly annual checking

* delete some duplicated logic and refactor

* merge switch functions

* move global variable into the main module

* simplify the enable and disable switch

* remove unused parseFloat

* simplify group plan pricing calculation

* simplify discount group plan logic

* simplify sticky header logic

* merge view and period switching

* fix underlining of switch text

* simplify class list toggling

* merging two function of the group plan

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 5e51690514bbf1dee2639011748c6a8470e1c19a
2022-06-23 08:02:56 +00:00
Alexandre Bourdin
3d26c4bb6f [web] Add new admin tool for surveys (#8356)
* Setup survey module and admin page skeleton

* Replace survey staff access permission with admin-only

* Manage survey config with admin tool

* Display configurable survey in project list + add preview in admin

* Fix linting errors and unit tests

* Add acceptance tests for survey module

* Move survey-form to survey components

* Add configuration option for Recurly group subscription users on surveys

* Change survey pre-link text to a lighter gray for accessibility

* Cleanup survey options implementation after review

GitOrigin-RevId: 8f621951efeae458d1ab081fe98b8d0d539cca1a
2022-06-23 08:02:37 +00:00
Alexandre Bourdin
21c8b9a47a Merge pull request #8426 from overleaf/ta-error-pages-style
Update General Error Pages Style

GitOrigin-RevId: 04346784c94d5ce6bf3257fd128a3f00da4c4e9e
2022-06-23 08:02:34 +00:00
Jakob Ackermann
bfad0841a4 Merge pull request #8483 from overleaf/jpa-faster-compiles-feedback-ui
[web] faster compiles feedback UI

GitOrigin-RevId: 9feea47503aa6bddf51adb73b8c9fbef394fda14
2022-06-22 08:05:14 +00:00
Alexandre Bourdin
57114c4503 [web] Display the current plan in the project list dashboard (#8293)
* Display the current plan in the project list dashboard

* Add unit tests for SubscriptionViewModelBuilder#getBestSubscription

* Handle free trial for group subscriptions

* Reuse the info-badge icon for the plan labels

* Do not display subscription status when projects are selected

* Custom tooltip for group subscriptions with team name

GitOrigin-RevId: 40982f70cf9fb7c92058e417b73c84af1648c33e
2022-06-17 08:03:40 +00:00
Davinder Singh
eba2fe9a3e Merge pull request #8212 from overleaf/ds-remove-registration-field-home-page
Remove registration from home page

GitOrigin-RevId: 3bd04f2f2aa62ef5f3fa8a0cdd09e461c38a27e9
2022-06-17 08:03:10 +00:00
Eric Mc Sween
dfc33805cb Merge pull request #8383 from overleaf/ms-em-settings-page-emails
Move "Primary" badge under the email address in settings

GitOrigin-RevId: ecb11047d9db6feb3bc0128f4a1d490836be7ab5
2022-06-16 08:03:15 +00:00
M Fahru
e3b313d98c Fix tooltip is blocking group modal on the default plans page (#8387)
GitOrigin-RevId: 9663bce7962fd8875afbbcdeb513191135a299fe
2022-06-14 08:02:40 +00:00
Eric Mc Sween
a2532ef968 Merge pull request #8354 from overleaf/em-halt-on-error-animation
Animation when setting "Stop on first error"

GitOrigin-RevId: 9639e2c815d1eaf57f3392131f9a484a6a1a0a9e
2022-06-14 08:02:32 +00:00
Tim Down
fef395f431 Fix layout shift by nearly always applying overflow-y hidden on review panel (#8174)
* Always hide vertical overflow on the review panel, not just when it's expanded, which prevents it scrolling slightly when scrolling the PDF in some circumstances
* Fix layout shift by always applying overflow-y hidden on review panel and make entry visible in minimized review panel by making the overflow visible while hovering over the entry

GitOrigin-RevId: 854ee47a762ee2cf78fbbb5856afddb3b723d679
2022-06-13 08:03:37 +00:00
Tim Down
c0292d96a1 Add vertical padding to CM6 editor content to deal with overflowing entries in the review panel (#8321)
GitOrigin-RevId: 9f8265dba773008ba8f97053ce66f23dc4b7121f
2022-06-13 08:03:32 +00:00
Timothée Alby
ae207f7559 Merge pull request #8326 from overleaf/ta-pdf-detach-redundant-controls
Bring Back Redundant Layout Controls

GitOrigin-RevId: a725e8742ab41612b285bcab23054ba9da15b60f
2022-06-09 08:02:34 +00:00
Eric Mc Sween
cb657d1f1c Merge pull request #8297 from overleaf/em-halt-on-error-logs
Stop on first error info box in logs pane

GitOrigin-RevId: cf11f65d582d98bea93c6506393940d9a6144c0d
2022-06-08 08:03:12 +00:00
Thomas
694b4c2f89 Merge pull request #8248 from overleaf/jel-reconfirmation-settings
[web] Icon color for React settings reconfirmation UI

GitOrigin-RevId: 0a4a06ee749e887d318f750636cad0ffd622b72b
2022-06-06 08:03:56 +00:00
M Fahru
b12c108522 [web] Extract reusable table mixin on plans page v2 tables (#8262)
GitOrigin-RevId: 7d8dcff5fd3f0c450de6cca57b428759d44dec7d
2022-06-06 08:03:45 +00:00
Thomas
5e2933e2fe Merge pull request #8240 from overleaf/tm-teardown-persistent-upgrade-test
Teardown persistent upgrade prompt split test and fix styling

GitOrigin-RevId: 8776231c3308c5f08b91232c962c9796a5f4afa0
2022-06-02 08:02:45 +00:00
Timothée Alby
666c2c3b47 Merge pull request #8178 from overleaf/ta-settings-reconfirmation
[SettingsPage] Add Reconfirmation Prompt

GitOrigin-RevId: 2e03ba7f459b32faf6d66f21ba692ca54f62a320
2022-06-01 08:03:53 +00:00
Timothée Alby
21246b9bb0 Merge pull request #8191 from overleaf/msm-dictionary-modal-fixes
Dictionary modal fixes

GitOrigin-RevId: 9804619a5addfb53633b6801002fdff221af971a
2022-05-31 08:04:43 +00:00
Timothée Alby
32741c07e0 Merge pull request #8218 from overleaf/ta-pdf-detach-safari-warnings
PDF Detach Safari Warning

GitOrigin-RevId: e6f8942d8c8c141d887c44921a09716c4e4c85ae
2022-05-31 08:04:36 +00:00
Timothée Alby
c66278cf89 Merge pull request #8148 from overleaf/ta-pr-dictionary-style
Polish Dictionary Modal UI

GitOrigin-RevId: 48aceb56c84a218380c619ecc5cd527f5062d3c4
2022-05-27 08:04:16 +00:00
M Fahru
dd641cb164 Remove excess border between the tab in new plans page top switch (#8121)
GitOrigin-RevId: 5dcd86bd8c0437678b37670c557fa18f266745bb
2022-05-26 08:04:37 +00:00
Miguel Serrano
549a8497fb Merge pull request #8082 from overleaf/ae-layout-shortcut
Add keyboard shortcuts to Layout menu

GitOrigin-RevId: f6ea369f26024280df401b0444ddccf38e19c005
2022-05-25 08:09:52 +00:00
Miguel Serrano
430b7528b2 Merge pull request #8073 from overleaf/ta-td-dictionary
Add UI to Remove Words from Dictionary

GitOrigin-RevId: a28d865e3c968d6fff113237fcf4143b77af046e
2022-05-25 08:09:45 +00:00
Alf Eaton
bdc503600c Move layout-left comment indicators above the review panel toggle bar (#8031)
GitOrigin-RevId: b6902c6d1a3f519aedbdc487801f114c2f57340c
2022-05-23 08:03:49 +00:00
Alf Eaton
18f6f030a2 Inherit colour for linked file icon in file tree (#8032)
GitOrigin-RevId: 0ebfc7abba345354d1a2063b45bbd3ce10374008
2022-05-23 08:03:42 +00:00
M Fahru
1b2cefa63e Add new analytics events in the new plans page and update analytics event in the current plans page (#7639)
GitOrigin-RevId: 71a4e7b0b041bbe7ea6df11cad28857978c77e4e
2022-05-20 08:03:21 +00:00
M Fahru
4d25132a5f new plans page: refactor custom tooltip to bootstrap tooltip (#7972)
GitOrigin-RevId: d3552867a9e9176288803cadffacb5f3dab24895
2022-05-18 08:04:06 +00:00
M Fahru
e2fe475116 change copy on group plans and remove the bold font on checkbox label (#7943)
GitOrigin-RevId: 31acc96cf3f6d85d44388497d6bba52bb5ae9667
2022-05-18 08:03:53 +00:00
M Fahru
1089475ff0 change new plans page FAQ link on hover from dark green to dark blue (#7938)
GitOrigin-RevId: 1555e4ad8704dccc92539947e9407af70caa32f8
2022-05-18 08:03:47 +00:00
Alf Eaton
e689017c3c Fix alignment of icons in Layout menu (#7889)
GitOrigin-RevId: 5187c42304d85f22ae7baefe7b7bcf5eed829805
2022-05-17 08:05:00 +00:00
Timothée Alby
c043db0ed9 Merge pull request #7792 from overleaf/ta-settings-fixes-4
[SettingsPage] Wording and Error Handling

GitOrigin-RevId: 1e2445a68e0d32cbec558832892f2ce5a051d729
2022-05-17 08:03:23 +00:00
M Fahru
8157616f85 [web] New Plans Page for A/B Test (#7330)
GitOrigin-RevId: 4e4629583c6e86bd2bc6165d123224734c133df7
2022-05-13 08:03:30 +00:00
M Fahru
cf0b46ecf2 Add annual saving tooltip & add a striked-through text on the annual price to current plans page
Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>
GitOrigin-RevId: 25a9b7b12ddd00588a8e4c43b55f2d7c57048818
2022-05-12 10:41:11 +00:00
Alf Eaton
11b3e7b6c8 Improve spacing in file tree (#7736)
GitOrigin-RevId: f1cbc3b3f637d15d56d40693b15f53c53a24792f
2022-05-12 08:04:30 +00:00
Alf Eaton
12369b9f9a Merge pull request #7809 from overleaf/jpa-more-references-search-results
[misc] show more references search results

GitOrigin-RevId: e3edc78b85a13e663f692ab90b7bf8cd0246a34f
2022-05-12 08:04:12 +00:00
Alf Eaton
ef10d95239 Merge pull request #7813 from overleaf/mf-pdf-viewer-review-panel-overflow
[web] force pdfViewer class to have 100% min-height to avoid triggering review-panel overflow bug

GitOrigin-RevId: 69d5840eb471a1d33ee3c2cac6b7e8d8dea68e8e
2022-05-12 08:03:59 +00:00
Thomas
8472ac6fc6 Add split test for persistent upgrade prompts project dash and editor header (#7590)
* Add Upgrade buttons on project dash and editor header

GitOrigin-RevId: 16325ffb2e63beeaff914e0b95db3faddcdf241a
2022-04-28 08:04:32 +00:00
Thomas
8352bada7b Add copy for personal plan discount, and include old undiscounted price on plans page (#7770)
* Add copy for personal plan discount, and include old undiscounted price on plans page

GitOrigin-RevId: 34d1361d8257e0ed1923bc6f8950167657e44055
2022-04-28 08:04:15 +00:00
Timothée Alby
0ee4767fa6 Merge pull request #7750 from overleaf/ta-settings-fixes-2
[SettingsPage] Small Fixes 2

GitOrigin-RevId: fe29b5a97cac4e92f6458e2359569d6c080b626b
2022-04-27 08:05:01 +00:00