Pages: Update UI
What does this MR do and why?
Pages: Update UI:
- Cleans up UI
- Migrates button components
- Migrates to
GlNewCard
- Migrates CSS classes to Tailwind
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
No domain | |
![]() |
![]() |
Has domains | |
![]() |
![]() |
Add domain (SSL disabled) | |
![]() |
![]() |
Add domain | |
![]() |
![]() |
Add domain (Forced SSL) | |
![]() |
![]() |
Add domain (2nd step) | |
![]() |
![]() |
How to set up and validate locally
- Setup pages (see test pipeline config below)
- Enable custom domains (see instructions below)
- Go to a pages config page, e.g. http://gdk.test:3000/flightjs/Flight/pages
Simple pages pipeline config
image: node:18.18-alpine
before_script:
- yarn install --frozen-lockfile
cache:
paths:
- frontend/node_modules/
pages:
artifacts:
paths:
- public
script:
- yarn version
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- changes:
- public/**/*
Enable custom domains
- Edit
gdk.yml
and addgitlab_pages: enable_custom_domains: true
- gdk reconfigure
- gdk restart
Related to #452225 (closed)
Edited by Sascha Eggenberger