lego issueshttps://gitlab.torproject.org/tpo/web/lego/-/issues2021-11-03T15:54:03Zhttps://gitlab.torproject.org/tpo/web/lego/-/issues/29create default gitlabCI.yaml file for lektor websites2021-11-03T15:54:03Zemmapeelcreate default gitlabCI.yaml file for lektor websitesAs we are moving out of jenkins to gitlabCI, we need to create a default gitlabCI file for our lektor websites.
The integration with gitlabCI will also help us to review merge requests, as merge requests should get results and appear un...As we are moving out of jenkins to gitlabCI, we need to create a default gitlabCI file for our lektor websites.
The integration with gitlabCI will also help us to review merge requests, as merge requests should get results and appear under users gitlab 'pages'.
First version was made by Gus at https://gitlab.torproject.org/tpo/web/support/-/snippets/89
I have made some changes and they are at https://gitlab.torproject.org/tpo/manual/-/blob/translations/.gitlab-ci.yml
Currently there are working gitlabCI files in community, tb-manual, support and tpo.
There are still some unresolved issues:
- [x] The translations are not complete
- [x] The packages are not the same we use on production, especially lektor and lektor-i18n package
- [ ] reduce the traffic w/docker, maybe have local images ready
- [ ] test before build
- [x] stop spamming tor-bots (it is sending a minimum of 3 messages per event)
- [x] the gitlabCI.yaml file should be configured in a way that allows contributors without commit rights on the repo to push a branch to their own fork and be able to see the build on their own 'pages'. This will allow them to preview their changes before submitting the merge request, without the need to install lektor and build it in local.
- [ ] we should do some more QA.Retire Jenkinshttps://gitlab.torproject.org/tpo/web/lego/-/issues/36[QA]Make a test for gitlabCI that searches for broken links on our lektor builds2022-05-11T20:37:52Zemmapeel[QA]Make a test for gitlabCI that searches for broken links on our lektor buildsTo prevent a bad ux experience to our documentation readers, we should have a test that finds broken links on our lektor builds.To prevent a bad ux experience to our documentation readers, we should have a test that finds broken links on our lektor builds.https://gitlab.torproject.org/tpo/web/lego/-/issues/14Improve menu and navigation header for mobile devices2022-05-11T20:39:27ZGusImprove menu and navigation header for mobile devicesOn small screen device, we have a fixed header (Training, Localization, Outreach, User Research, Relay Operations, Onion Services), a breadcrumb and also a menu (a white square) with internal pages.
We should improve this navigation hav...On small screen device, we have a fixed header (Training, Localization, Outreach, User Research, Relay Operations, Onion Services), a breadcrumb and also a menu (a white square) with internal pages.
We should improve this navigation having mobile users on mind.
Some ideas that we can discuss/implement, only for mobile devices:
* Change the fixed header size so it can fit on small screen devices.
* Remove breadcrumbs, because you can easily swipe back on mobile
Screenshot how it looks now:
![mobile-menu-community-portal](/uploads/0a01473885ecb7a40d1e5c2bf49cdaef/mobile-menu-community-portal.png)https://gitlab.torproject.org/tpo/web/lego/-/issues/2Add lang attribute to the html start tag to declare the language of the webpages2019-10-19T07:54:24ZemmapeelAdd lang attribute to the html start tag to declare the language of the webpagesWe should provide a lang attribute to the webpages, that is inherited by all elements on the page:
https://www.w3.org/International/techniques/authoring-html.en?open=language&open=langvalues#langvalues
This will improve our SEO, and wil...We should provide a lang attribute to the webpages, that is inherited by all elements on the page:
https://www.w3.org/International/techniques/authoring-html.en?open=language&open=langvalues#langvalues
This will improve our SEO, and will help users to reach a better language option, diversifying our audience.