Commit graph

78 commits

Author SHA1 Message Date
Jessica Lawshe
69206eb363 Merge pull request #8563 from overleaf/ta-jobs-redirect
Change /jobs Redirect

GitOrigin-RevId: 9c9948312c26285a3f0daf6a7e063b6e1a62e793
2022-06-24 08:04:55 +00:00
Jessica Lawshe
09c8a49499 Merge pull request #8561 from overleaf/jel-fix-a11y-text
[web] .sr-only text not nested within aria-hidden

GitOrigin-RevId: 1bb8e1d2322a68df5288ad0f8c7b99acb2f41d2e
2022-06-24 08:04:49 +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
M Fahru
1070dd53f3 Remove footer and rightside of the navbar on the interstitial payment page (#8407)
Co-authored with Thomas Mees (thomas.mees@overleaf.com)

GitOrigin-RevId: 270e11f0cfd09830e5c7600d636b8ebbfc6049a2
2022-06-15 08:05:00 +00:00
M Fahru
4f127f8408 Add new "Premium Features" link on the navbar "Features & Benefits", and hide it behind the "premium-features-discoverability" split test (#8269)
GitOrigin-RevId: 5dae86818a485c74078683422ec44008fd754f27
2022-06-06 08:03:41 +00:00
dependabot[bot]
2b2e9cfe45 Bump sanitize-html from 1.27.3 to 2.7.0 in /services/web/scripts/translations (#6651)
* [web] scripts/translations: update package-lock to version 2

* Bump sanitize-html in /services/web/scripts/translations

Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 1.27.3 to 2.7.0.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/commits/2.7.0)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* [web] adapt locales escaping and usage for new sanitize-html version

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
GitOrigin-RevId: 5df107a0a4b3d7c408f676ee363169f0ef0de28f
2022-05-18 08:04:19 +00:00
Jakob Ackermann
f1f9771150 Merge pull request #7548 from overleaf/jpa-login-instead
[web] add "Log in instead" split test and click tracking in navbar

GitOrigin-RevId: c3893540220292bdf44b30aa0c9fb2aacca2863a
2022-04-26 08:03:34 +00:00
Alf Eaton
e644c2a531 Fix data on SAAS project page (#7694)
GitOrigin-RevId: ca7899b238ca2c858aa188e493b285bcf06e8298
2022-04-25 08:03:42 +00:00
M Fahru
e948de3234 Merge pull request #7316 from overleaf/mf-language-picker-tooltip
[web] fix language picker tooltip on pages that depends on layout-marketing.pug

GitOrigin-RevId: e11d2a2c4b344b7f3f2837397b089b722d433cc9
2022-04-08 08:04:26 +00:00
Jakob Ackermann
4d18dcb377 Merge pull request #7210 from overleaf/jpa-switch-to-admin
[web] add a button for switching to the admin domain from www.

GitOrigin-RevId: 7e14b9c1415ef6cad5f369d77530599bac3148e7
2022-04-05 12:19:00 +00:00
Jakob Ackermann
34627b98a2 Merge pull request #7040 from overleaf/jpa-project-url-lookup
[web] add admin-only page for looking up projects by common URL patterns

GitOrigin-RevId: 988b64f3b5888f2154be0592abf3e31f5fbedc37
2022-04-05 12:18:38 +00:00
Jakob Ackermann
e82a053c85 Merge pull request #6614 from overleaf/jpa-msm-separate-admin-app
[misc] move admin capability from www. to admin. subdomain

GitOrigin-RevId: e0daeacf3c06b856ffb9fd35dce76e71f14e8459
2022-04-05 12:18:24 +00:00
Alf Eaton
4610734f07 Add new fat footer (#6260)
GitOrigin-RevId: 64c50caac2ec8d56b3f49d6f97c8a1c4d4b3a496
2022-03-02 09:02:45 +00:00
Miguel Serrano
41475ca14a Merge pull request #6764 from overleaf/msm-fix-toggle-marketing-navbar
Fix collapsed menu toggling in marketing pages

GitOrigin-RevId: f1075d46242ad6265ebaa0e65031e99f902fe503
2022-02-16 11:39:06 +00:00
Alexandre Bourdin
3b9da1d57e Merge pull request #6587 from overleaf/ab-split-test-create-edit
Split tests admin - create/edit

GitOrigin-RevId: a256bf6fe8350214b1ef01ff5e6fa68a812a59be
2022-02-16 11:35:39 +00:00
Alexandre Bourdin
931c53d04c Split Tests Admin UI - test list (#6411)
* Admin page to list split tests

Admin page to list split tests

Update split test model

Display optional split test fields + Only display link in admin menu in SaaS mode

Add a separate endpoint to update split test info (to avoid creating a new version)

Fix split test tests after rebase

Add name and activeOnly filtering to split test list

Sort split tests by descending order of last modification

Fix lint build error

Add buttons to copy variant assignment as query string

* Move react components to follow our file structure guidelines

* Cleanup and improvements from review

* Small change of report URLs display

* Improve filters display for small screens

GitOrigin-RevId: 498531a1f080419de017883e33d6afed05a3f5c9
2022-01-31 09:03:42 +00:00
Miguel Serrano
2667e9a11c Unified Navigation Bar + Split Test (#5972)
GitOrigin-RevId: 9fbde79aba1395956d591989b6161290777cc28f
2021-12-03 09:03:27 +00:00
Jakob Ackermann
66ea2e613c Merge pull request #5281 from overleaf/jpa-rework-language-picker
[web] rework the language picker UI in the footer

GitOrigin-RevId: fb9fe9a560a0f059f58c76d6a85f31ffabc14f4f
2021-10-07 08:04:10 +00:00
Jakob Ackermann
7e06ca22f3 Merge pull request #5009 from overleaf/jpa-fix-no-js-style
[web] fix css import for no-js pages

GitOrigin-RevId: a7bf516319b2a3c7b908468eedad28dbe80a53b3
2021-09-09 08:03:23 +00:00
Jakob Ackermann
267b7fc17d Merge pull request #4941 from overleaf/jpa-as-homepage-prototype
[web] de-ng homepage prototype

GitOrigin-RevId: 030a5bf0b4f05eac7d69fda928c906f3c9c962f0
2021-09-09 08:03:04 +00:00
Jakob Ackermann
a1c74f27d9 Merge pull request #4926 from overleaf/jpa-webpack-dynamic-entrypoint-chunks
[web] get the list of js/css entrypoint chunks from webpack manifest

GitOrigin-RevId: 42a8d3606e461e8d9eebcc754e3207d5be1746ab
2021-09-09 08:02:57 +00:00
Jakob Ackermann
fe4c48b7fb Merge pull request #4325 from overleaf/jpa-core-tests-in-saas-ce-pro
[misc] run core tests in SAAS/Server CE/Server Pro environment

GitOrigin-RevId: 6278ae1eb760a4c0c16da1b71efdde844764a526
2021-07-20 11:33:46 +00:00
Jakob Ackermann
78326fb352 Merge pull request #3903 from overleaf/as-clean-up-error-pages
Clean up error pages

GitOrigin-RevId: 764375124ef5349c97416339119471a166d727b5
2021-04-16 02:05:30 +00:00
Jakob Ackermann
b99690d365 Merge pull request #3327 from overleaf/jpa-users-email-update
[frontend] after changing the primary email, use the new one everywhere

GitOrigin-RevId: c4397483f4b3779497a7655de34754525d033636
2020-10-31 03:05:41 +00:00
Alasdair Smith
3ca5c4b26a Merge pull request #3268 from overleaf/msm-fix-left-footer-links
Skip left footer translation when no url is set

GitOrigin-RevId: c282edfa5189094b9a1b727d3a36e189e4b494a0
2020-10-13 02:04:10 +00:00
nate stemen
344b2b2395 Merge pull request #2702 from overleaf/ta-subscription-links
Fix Language Change Links

GitOrigin-RevId: e47f59dfd53102d4569c3ffeb950d3259c65215b
2020-03-31 03:18:45 +00:00
Paulo Jorge Reis
6c6bc1216a Merge pull request #1670 from sharelatex/pr-fix-contrast-issues
Fix contrast issues (and others)

GitOrigin-RevId: 5882978b70163e65efdf0ef7d5f82a8fc29b48ec
2019-04-17 10:25:55 +00:00
Alasdair Smith
41f75b5936 Merge pull request #1543 from sharelatex/as-fix-potential-angular-xss
Fix potential Angular XSS issues

GitOrigin-RevId: a18a609a25b29e910cb78e28a37398417cfe4842
2019-03-18 10:37:15 +00:00
Jessica Lawshe
b8bb118fe3 Merge pull request #1528 from sharelatex/jel-portal-print
Update portals for printing

GitOrigin-RevId: ad3861b8464f0e5a8d8e70daa0166ebcf7d2312d
2019-03-11 10:59:47 +00:00
Ersun Warncke
87b2c72449 Merge pull request #1410 from sharelatex/ew-make-logout-area-clickable
make area around logout button clickable

GitOrigin-RevId: 8f080c6bedb7dce2ac39d877e8076b83241a4c12
2019-01-16 17:21:21 +00:00
Ersun Warncke
330f878085 Merge pull request #1378 from sharelatex/ew-post-logout
POST logout instead of GET

GitOrigin-RevId: b502a6ed945acd336d1a921e5c4c5433d8b7c7b7
2019-01-15 16:48:00 +00:00
Brian Gough
8bf9d79d2f Merge pull request #1157 from sharelatex/jel-aria-hidden-fix
Add value to aria-hidden attribute

GitOrigin-RevId: 09b17a269b8d91c5f4b4e231877db0431b0308a9
2018-11-19 09:57:35 +00:00
Jessica Lawshe
d97fe4e39d Merge pull request #1142 from sharelatex/jel-img-alt-and-icon-alt-a11y
Image alt tags and accessible icons

GitOrigin-RevId: 58f0609682c0dbeec95cad4e234e3f94b7b3c004
2018-11-15 17:41:22 +00:00
Alasdair Smith
945894e89e Reset showNavItem bool if fails check 2018-09-21 12:53:57 +01:00
Jessica Lawshe
bfcb91e60f Hide content page links in nav when on dash 2018-09-20 11:16:18 -05:00
Paulo Reis
ebad9091c7 Create class to scope main header changes (avoids overriding too much Bootstrap stuff); apply styles. 2018-02-15 11:08:12 +00:00
James Allen
745ae8d081 Add in Features module to handle feature flags, and use it to cleanly turn off registration 2017-11-20 10:47:32 +00:00
Paulo Reis
500dcc5bc2 Quick accessibility fixes for the dashboard. 2017-10-09 11:59:03 +01:00
Paulo Reis
9047e9a365 Make SL theme closer to original. 2017-10-05 18:16:52 +01:00
Paulo Reis
60a76c45c3 Some more footer adjustments. 2017-10-05 16:41:11 +01:00
Shane Kilkelly
b0dd7475b0 fix pug syntax 2017-01-31 14:57:22 +00:00
Shane Kilkelly
57cd54bf55 WIP: migrate from jade to pug 2017-01-20 12:03:02 +00:00
Shane Kilkelly
411cb4330c Fix typo in hyperlink 2017-01-11 10:39:34 +00:00
Shane Kilkelly
731f280e2e Move auth parts of top menu out of config and into web templates.
Move the remaining configuration into a new config var: `nav.header_extras`.
Add a `nav.showSubscriptionLink` var to control visibility of subscription link
in the Account menu.

This will allow admins to more easily configure extra links in the top
navigation bar, without the danger of overwriting the important auth menus.
2017-01-11 10:27:38 +00:00
Shane Kilkelly
cf94429e05 Add a user_email option to the nav "Account" dropdown. 2016-11-29 16:04:20 +00:00
Shane Kilkelly
b0a10c948c wip refactor 2016-09-06 15:22:13 +01:00
Paulo Reis
fac3698c40 Better namespacing of sprite CSS classes. 2016-07-05 11:08:58 +01:00
Paulo Reis
4f49a25639 Use a figure element instead of an img, as there is no src attribute. 2016-07-01 16:02:01 +01:00
Henry Oswald
6f4a7f4779 mvp for using sprites for flags, needs border removing 2016-07-01 15:04:39 +01:00
Henry Oswald
d27d19e02a added override for navbar background image 2016-06-17 14:18:52 +01:00