Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from Windi to Tailwind #4614

Merged
merged 60 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
7658ab7
windi -> tailwind
pat-s Dec 23, 2024
251b3bb
missed files
pat-s Dec 23, 2024
11db140
refactor custom hover class
pat-s Dec 23, 2024
96ac374
standalone tailwind.css
pat-s Dec 23, 2024
6e64b94
use .js
pat-s Dec 23, 2024
200f08f
working build
pat-s Dec 23, 2024
18c5727
format
pat-s Dec 23, 2024
3a73832
fix too large padding
pat-s Dec 23, 2024
160837b
fix overflowing input field
pat-s Dec 23, 2024
877981f
max-w-full
pat-s Dec 23, 2024
44e78f5
yamllint ignore pnpm lock
pat-s Dec 23, 2024
627a9d3
use custom w-fill
pat-s Dec 23, 2024
ccac6de
readd p-4
pat-s Dec 23, 2024
76c5952
fix login div
pat-s Dec 23, 2024
4b53893
use scoped admin repos style
pat-s Dec 23, 2024
ec66deb
w and h for login
pat-s Dec 23, 2024
e1a09d7
fromat
pat-s Dec 23, 2024
c6c5c82
override padding for pipeline list
pat-s Dec 23, 2024
7b05372
move p-4 to scoped class
pat-s Dec 23, 2024
f514def
clean
pat-s Dec 23, 2024
99fd2d5
delete package.json
pat-s Dec 24, 2024
a270216
fix yamllint ignore
pat-s Dec 24, 2024
8229584
Merge branch 'main' into refactor/windi-to-tailwind
pat-s Dec 24, 2024
798cd3c
fix lockfiles
pat-s Dec 24, 2024
141e134
lint
pat-s Dec 24, 2024
99afa10
border-b-1 -> border-b
pat-s Dec 25, 2024
a521d1b
fix admin-agent list padding
pat-s Dec 25, 2024
52876d4
remove rounded-non override for pipeline list
pat-s Dec 25, 2024
0cd2fec
also add sub-styles for admin orgs and admin users
pat-s Dec 25, 2024
e728910
Merge branch 'main' into refactor/windi-to-tailwind
pat-s Dec 28, 2024
8649dd8
update
pat-s Dec 28, 2024
d345998
fix webkit colors
pat-s Dec 28, 2024
52908b3
Merge branch 'main' into refactor/windi-to-tailwind
pat-s Dec 28, 2024
1a763da
use tailwind.config.ts and fix important modifier
xoxys Dec 28, 2024
c57745e
cleanup unused eslint-disable directive
xoxys Dec 28, 2024
947c62d
switch back to ignore-from-file and add .yamlignore
xoxys Dec 28, 2024
648087a
drop vite-plugin-windicss
xoxys Dec 28, 2024
7a09948
use pre-defined class
xoxys Dec 28, 2024
39e853f
Merge branch 'main' into refactor/windi-to-tailwind
pat-s Jan 4, 2025
2ae5f77
apply linters
pat-s Jan 4, 2025
0577341
reduce sorting diffs
pat-s Jan 4, 2025
f6057ee
.
pat-s Jan 4, 2025
10258d0
.
pat-s Jan 4, 2025
c0a320a
.
pat-s Jan 4, 2025
03a2fa9
Merge branch 'main' into refactor/windi-to-tailwind
pat-s Jan 5, 2025
0ac0088
style web/
pat-s Jan 5, 2025
f7f30c6
border-l-6 -> border-l-4
pat-s Jan 6, 2025
090af52
Merge branch 'main' into refactor/windi-to-tailwind
pat-s Jan 6, 2025
7cb1155
update pnpm pkgs
pat-s Jan 6, 2025
ce43a77
Merge branch 'main' into refactor/windi-to-tailwind
xoxys Jan 6, 2025
009c4f6
add custom spacing classes
xoxys Jan 6, 2025
89d8e93
cleanup login view
xoxys Jan 6, 2025
56be84b
remove scoped style again
xoxys Jan 6, 2025
388ba07
use mobile-first approach to fix media-query selectors
xoxys Jan 6, 2025
c8272b0
fix important classifier
xoxys Jan 6, 2025
409ba6f
disable pipeline gap on mobile
xoxys Jan 6, 2025
6fc50af
fix ListItem dark mode
xoxys Jan 6, 2025
1df4be6
fmt
xoxys Jan 6, 2025
e2617d9
fix error hover and cleanup error color in dark mode
xoxys Jan 6, 2025
87a5c5a
fix mobile view of pipeline status panel
xoxys Jan 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ vscode:
- 'EditorConfig.EditorConfig'
- 'dbaeumer.vscode-eslint'
- 'esbenp.prettier-vscode'
- 'voorjaar.windicss-intellisense'
- 'bradlc.vscode-tailwindcss'
- 'Vue.volar'
- 'redhat.vscode-yaml'
- 'davidanson.vscode-markdownlint'
Expand Down
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"EditorConfig.EditorConfig",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"voorjaar.windicss-intellisense",
"bradlc.vscode-tailwindcss",
"Vue.volar",
"redhat.vscode-yaml",
"davidanson.vscode-markdownlint",
Expand Down
1 change: 1 addition & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ignore-from-file:
- .gitignore
- server/store/datastore/migration/test-files/.gitignore
- web/.gitignore
- web/.yamlignore

rules:
line-length: disable
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/92-development/03-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ The following list contains some tools and frameworks used by the Woodpecker UI.
- use `setup` and composition api
- place (re-usable) components in `web/src/components/`
- views should have a route in `web/src/router.ts` and are located in `web/src/views/`
- [Windicss](https://windicss.org/) (similar to Tailwind)
- use Windicss classes where possible
- if needed extend the Windicss config to use new classes
- [Tailwind CSS](https://tailwindcss.com/)
- use Tailwind classes where possible
- if needed extend the Tailwind config to use new classes
- classes are sorted following the [prettier tailwind sort plugin](https://tailwindcss.com/blog/automatic-class-sorting-with-prettier)
- [Vite](https://vitejs.dev/) (similar to Webpack)
- [Typescript](https://www.typescriptlang.org/)
Expand Down
1 change: 1 addition & 0 deletions web/.yamlignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.pnpm-lock.yaml
28 changes: 17 additions & 11 deletions web/package.json
pat-s marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,39 @@
"dependencies": {
"@kyvg/vue3-notification": "^3.4.1",
"@mdi/js": "^7.4.47",
"@vueuse/core": "^12.2.0",
"@tailwindcss/postcss": "4.0.0-beta.8",
"@tailwindcss/typography": "^0.5.15",
"@tailwindcss/vite": "4.0.0-beta.8",
"@vueuse/core": "^12.3.0",
"ansi_up": "^6.0.2",
"autoprefixer": "^10.4.20",
"dompurify": "^3.2.3",
"fuse.js": "^7.0.0",
"js-base64": "^3.7.7",
"lodash": "^4.17.21",
"marked": "^15.0.4",
"marked": "^15.0.5",
"node-emoji": "^2.2.0",
"pinia": "^2.3.0",
"postcss": "^8.4.49",
"prettier-plugin-tailwindcss": "^0.6.9",
"prismjs": "^1.29.0",
"semver": "^7.6.3",
"simple-icons": "^14.0.0",
"simple-icons": "^14.1.0",
"tailwindcss": "^3.4.17",
"textlint": "^14.4.2",
pat-s marked this conversation as resolved.
Show resolved Hide resolved
"vue": "^3.5.13",
"vue-i18n": "^11.0.0",
"vue-i18n": "^11.0.1",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.12.1",
"@eslint/js": "^9.17.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"@intlify/eslint-plugin-vue-i18n": "3.2.0",
"@intlify/unplugin-vue-i18n": "^6.0.2",
"@intlify/unplugin-vue-i18n": "^6.0.3",
"@types/eslint__js": "^8.42.3",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.2",
"@types/lodash": "^4.17.14",
"@types/node": "^22.10.5",
"@types/prismjs": "^1.26.5",
"@types/semver": "^7.5.8",
"@types/tinycolor2": "^1.4.6",
Expand All @@ -58,14 +65,13 @@
"jsdom": "^25.0.1",
"prettier": "^3.4.2",
"tinycolor2": "^1.6.0",
"ts-node": "^10.9.2",
"typescript": "5.7.2",
"vite": "^6.0.5",
"vite": "^6.0.7",
"vite-plugin-prismjs": "^0.0.11",
"vite-plugin-windicss": "^1.9.4",
"vite-svg-loader": "^5.1.0",
"vitest": "^2.1.8",
"vue-tsc": "^2.2.0",
"windicss": "^3.5.6"
"vue-tsc": "^2.2.0"
},
"pnpm": {
"overrides": {
Expand Down
Loading