Skip to content

Commit c59cd4d

Browse files
authored
release: alpha (#61)
1 parent 2412d98 commit c59cd4d

21 files changed

+447
-110
lines changed

.changes/optimize-ui.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"algohub": patch:perf
3+
---
4+
5+
Optimize UI for better performance
6+
7+
- Use `postcss` instead of use `tailwindcss` directly.
8+
- Optimize color design in light mode.
9+
- Add `loading` state for pages.
10+
- Wrap problems list with PrimeVue `Panel` component.
11+
- Fix bread crumps padding if no links.
12+
- Remove `mode` and add `owner` when creating a problem.
13+
- Prepare for `alpha` release.

.changes/pre.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"tag": "nightly",
2+
"tag": "alpha",
33
"changes": [
44
".changes/add-icon.md",
55
".changes/breadcrumb.md",

.github/workflows/covector-version-or-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- alpha
78

89
permissions:
910
# required for npm provenance

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,5 @@ dist-ssr
2626
# unplugin-vue-components
2727
components.d.ts
2828

29-
# Tailwind CSS
30-
tailwind.css
31-
3229
# Autogenerated files
3330
.aur_ssh_key

farm.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
import { defineConfig } from "@farmfe/core";
22
import vue from "@vitejs/plugin-vue";
33
import worker from "@farmfe/plugin-worker";
4+
import postcss from "@farmfe/js-plugin-postcss";
45
import Components from "unplugin-vue-components/vite";
56
import { PrimeVueResolver } from "@primevue/auto-import-resolver";
67
import path from "path";
78

89
const host = process.env.TAURI_DEV_HOST;
910

1011
export default defineConfig({
11-
plugins: [worker()],
12+
plugins: [worker(), postcss()],
1213
vitePlugins: [
1314
vue(),
1415
Components({

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>AlgoHub</title>
88
</head>
99

10-
<body class="bg-zinc-200 dark:bg-zinc-950">
10+
<body class="bg-zinc-50 dark:bg-zinc-950">
1111
<div id="app"></div>
1212
<script type="module" src="/src/main.ts"></script>
1313
</body>

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,20 @@
1616
"publish:aur": "node scripts/release-aur.mjs"
1717
},
1818
"dependencies": {
19+
"@farmfe/js-plugin-postcss": "^1.9.0",
1920
"@farmfe/plugin-worker": "^0.0.6",
2021
"@monaco-editor/loader": "^1.4.0",
2122
"@primevue/forms": "^4.2.2",
2223
"@primevue/themes": "^4.2.2",
2324
"@tauri-apps/api": "^2.1.1",
2425
"@tauri-apps/plugin-shell": "^2.0.1",
26+
"autoprefixer": "^10.4.20",
2527
"axios": "^1.7.7",
2628
"md-editor-v3": "^5.0.2",
2729
"monaco-editor": "^0.52.0",
2830
"pinia": "^2.2.6",
2931
"pinia-plugin-persistedstate": "^4.1.3",
32+
"postcss": "^8.4.49",
3033
"primeicons": "^7.0.0",
3134
"primevue": "^4.2.2",
3235
"vue": "^3.5.13",

pnpm-lock.yaml

Lines changed: 53 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
}
File renamed without changes.

0 commit comments

Comments
 (0)