Skip to content

Commit

Permalink
release: beta release (#71)
Browse files Browse the repository at this point in the history
* release: alpha (#61)

* release: bump version (#63)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* fix(lint): fix code spell check

* ci(release): remove `tailwindcss` building

* fix(profile): fix profile problem panel (#65)

* chore: fix aur release

* release: bump version (#66)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* chore: fix code spell check

* feat: add `NProgress` bar (#67)

* feat: add n progress bar

* chore: bump version

* release: bump version (#68)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* chore: fix aur ssh known hosts

* chore: fix version check

* release: alpha releases (#62)

* refactor(submit): enable code submission (#69)

* release: bump version (#70)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* chore: try split aur release

* chore: fix aur action

* ci: add string in aur release

* ci(release): retry to aur release

* ci(release): fix covector ci

* release: bump version (#72)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* revert(ci): revert aur release

* refactor(asset): full rewrite asset logic (#73)

* refactor(asset): full rewrite asset logic

* release: bump version (#74)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* chore: fix aur release

* release: bump version (#75)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* feat: optimize monaco editor error notification (#76)

* release: bump version (#77)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* refactor(problem): sync changes with backend (#78)

* release: bump version (#79)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* feat: optimize the code and add splash screen (#80)

* release: bump version (#81)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* refactor: create problem page (#82)

* refactor: create problem page

* chore: fix code spell check

* feat: optimize problem page (#84)

* release: bump version (#83)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* fix(problem): fix markdown preview (#85)

* release: bump version (#86)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* feat(register): support for birthday (#87)

* feat(problem): support auto load submissions (#89)

* feat(problem): support auto load submissions

* chore: bump version

* release: bump version (#88)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* feat(contest): support create contest (#90)

* release: bump version (#91)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* fix: upload size limit (#92)

* fix(signup): fix optional fields (#93)

* release: bump version (#94)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* feat(contest): support for contest page (#95)

* chore: prepare for beta release

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: fix ci branches

* release: bump version (#96)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* feat(contest): support acc (#97)

* feat(contest): support acc

* chore: bump version

* release: bump version (#98)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* fix: text size (#104)

* fix(fix profile problems)

* Create fix-text-size.md

---------

Co-authored-by: 苏向夜 <[email protected]>

* release: bump version (#105)

chore: publish new versions

Co-authored-by: fu050409 <[email protected]>

* chore: deps (#101)

chore: update

* chore: prepare for release on main branch

* release: bump version (#108)

chore: publish new versions

Co-authored-by: K0nnyaku <[email protected]>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 落 <[email protected]>
Co-authored-by: K0nnyaku <[email protected]>
Co-authored-by: K0nnyaku <[email protected]>
  • Loading branch information
5 people authored Dec 16, 2024
1 parent f022399 commit aec1b8e
Show file tree
Hide file tree
Showing 59 changed files with 3,071 additions and 1,623 deletions.
5 changes: 5 additions & 0 deletions .changes/birthday.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:feat
---

Support for Birthday datetime picker in the register page.
5 changes: 5 additions & 0 deletions .changes/chores.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:chore
---

Update tauri and pnpm
5 changes: 5 additions & 0 deletions .changes/contest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:feat
---

Support create new contest.
5 changes: 5 additions & 0 deletions .changes/fix-acc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:fix
---

Fixed accuracy calculation in the contest.
5 changes: 5 additions & 0 deletions .changes/fix-md-preview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:fix
---

Fix scroll height of rendered markdown in preview mode.
7 changes: 7 additions & 0 deletions .changes/fix-signup-birthday.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"algohub": patch:feat
---

Fixed the issue of not being able to sign up without a birthday.

> All fields are now not required.
5 changes: 5 additions & 0 deletions .changes/fix-text-size.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch
---

Fix text size on small screen at `views/account/[id].vue`.
5 changes: 5 additions & 0 deletions .changes/main-contest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:feat
---

Support for contest page.
5 changes: 5 additions & 0 deletions .changes/n-progress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:feat
---

Add `NProgress` loading bar to the whole frontend.
5 changes: 5 additions & 0 deletions .changes/optimize-editor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:feat
---

Optimize monaco editor error notification.
5 changes: 5 additions & 0 deletions .changes/optimize-problem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:feat
---

Optimize problem pages, including create and edit pages.
13 changes: 13 additions & 0 deletions .changes/optimize-ui.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"algohub": patch:perf
---

Optimize UI for better performance

- Use `postcss` instead of use `tailwindcss` directly.
- Optimize color design in light mode.
- Add `loading` state for pages.
- Wrap problems list with PrimeVue `Panel` component.
- Fix bread crumps padding if no links.
- Remove `mode` and add `owner` when creating a problem.
- Prepare for `alpha` release.
22 changes: 21 additions & 1 deletion .changes/pre.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,58 @@
{
"tag": "nightly",
"tag": "beta",
"changes": [
".changes/add-icon.md",
".changes/birthday.md",
".changes/breadcrumb-bg.md",
".changes/breadcrumb.md",
".changes/chores.md",
".changes/contest.md",
".changes/create-panel-bg.md",
".changes/create-panel.md",
".changes/create-problem.md",
".changes/fetch-version.md",
".changes/fix-acc.md",
".changes/fix-aur.md",
".changes/fix-dark-mode.md",
".changes/fix-layout.md",
".changes/fix-login.md",
".changes/fix-md-preview.md",
".changes/fix-sha256.md",
".changes/fix-signup-birthday.md",
".changes/fix-tauri-version.md",
".changes/fix-text-size.md",
".changes/fix-toast.md",
".changes/fix-windows-ci.md",
".changes/fix-windows.md",
".changes/index-page.md",
".changes/list-problem.md",
".changes/login.md",
".changes/main-contest.md",
".changes/n-progress.md",
".changes/optimize-dark.md",
".changes/optimize-editor.md",
".changes/optimize-monaco.md",
".changes/optimize-problem.md",
".changes/optimize-ui.md",
".changes/problem-page.md",
".changes/problem-panel.md",
".changes/refactor-asset.md",
".changes/refactor-login.md",
".changes/refactor-problem-create.md",
".changes/refactor-problem.md",
".changes/refactor-submit.md",
".changes/release-nightly.md",
".changes/release-url.md",
".changes/resize-toolbar.md",
".changes/rust-nightly.md",
".changes/rust-stable.md",
".changes/side-panel.md",
".changes/signup-panel.md",
".changes/splash.md",
".changes/submission.md",
".changes/update-icon.md",
".changes/update-profile.md",
".changes/upload-max.md",
".changes/use-farm.md",
".changes/user-home.md"
]
Expand Down
5 changes: 5 additions & 0 deletions .changes/problem-panel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:fix
---

Fix multiple panels displaying on the user profile page.
5 changes: 5 additions & 0 deletions .changes/refactor-asset.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:feat
---

Full rewrite asset logic, use latest api and support get assets by api.
5 changes: 5 additions & 0 deletions .changes/refactor-problem-create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:refactor
---

Refactored problem creation page.
9 changes: 9 additions & 0 deletions .changes/refactor-problem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"algohub": patch:refactor
---

Fully refactored the problem api to sync changes with the `algohub-server`, also:

- Fixed icon sizes in markdown editor.
- Extract supported languages from ts enum.
- Refactored problem editor.
5 changes: 5 additions & 0 deletions .changes/refactor-submit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:refactor
---

Refactor and enable code submission in monaco editor.
5 changes: 5 additions & 0 deletions .changes/splash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:feat
---

Add splash screen before loading index page.
5 changes: 5 additions & 0 deletions .changes/submission.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:feat
---

Support auto load submissions in AlgoHub.
5 changes: 5 additions & 0 deletions .changes/upload-max.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"algohub": patch:fix
---

Fix upload max size limit.
5 changes: 4 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
"agplv",
"algohub",
"amannn",
"archlinux",
"cdylib",
"clippy",
"confirmationservice",
"covector",
"dtolnay",
"emptydirs",
"farmfe",
"Gridlines",
"icns",
"ICPC",
"jbolda",
Expand Down Expand Up @@ -53,6 +55,7 @@
"usetoast"
],
"ignorePaths": [
"pnpm-lock.yaml"
"pnpm-lock.yaml",
"CHANGELOG.md"
]
}
3 changes: 0 additions & 3 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ jobs:
- name: Install frontend dependencies
run: pnpm install

- name: Build TailwindCSS
run: pnpx tailwindcss -i ./input.css -o ./src/assets/tailwind.css

- name: Bump Tauri version
run: pnpm version:bump tauri --version ${{ needs.version-or-publish.outputs.version }}

Expand Down
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@ dist-ssr
# unplugin-vue-components
components.d.ts

# Tailwind CSS
tailwind.css

# Autogenerated files
.aur_ssh_key
/release
6 changes: 5 additions & 1 deletion farm.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import { defineConfig } from "@farmfe/core";
import vue from "@vitejs/plugin-vue";
import worker from "@farmfe/plugin-worker";
import postcss from "@farmfe/js-plugin-postcss";
import Components from "unplugin-vue-components/vite";
import { PrimeVueResolver } from "@primevue/auto-import-resolver";
import path from "path";

const host = process.env.TAURI_DEV_HOST;

export default defineConfig({
plugins: [worker()],
plugins: [worker(), postcss()],
vitePlugins: [
vue(),
Components({
Expand All @@ -24,6 +25,9 @@ export default defineConfig({
},
},
treeShaking: false,
define: {
"process.env.LOCAL": process.env.LOCAL ? true : false,
},
},
server: {
port: 1420,
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>AlgoHub</title>
</head>

<body class="bg-zinc-200 dark:bg-zinc-950">
<body class="bg-zinc-50 dark:bg-zinc-950">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
Expand Down
37 changes: 21 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,43 @@
"publish:aur": "node scripts/release-aur.mjs"
},
"dependencies": {
"@farmfe/js-plugin-postcss": "^1.10.0",
"@farmfe/plugin-worker": "^0.0.6",
"@monaco-editor/loader": "^1.4.0",
"@primevue/forms": "^4.2.2",
"@primevue/themes": "^4.2.2",
"@primevue/forms": "^4.2.5",
"@primevue/themes": "^4.2.5",
"@tauri-apps/api": "^2.1.1",
"@tauri-apps/plugin-shell": "^2.0.1",
"axios": "^1.7.7",
"@tauri-apps/plugin-shell": "^2.2.0",
"autoprefixer": "^10.4.20",
"axios": "^1.7.9",
"md-editor-v3": "^5.0.2",
"monaco-editor": "^0.52.0",
"pinia": "^2.2.6",
"monaco-editor": "^0.52.2",
"nprogress": "^0.2.0",
"pinia": "^2.3.0",
"pinia-plugin-persistedstate": "^4.1.3",
"postcss": "^8.4.49",
"primeicons": "^7.0.0",
"primevue": "^4.2.2",
"primevue": "^4.2.5",
"vue": "^3.5.13",
"vue-picture-cropper": "^0.7.0",
"vue-router": "^4.4.5",
"zod": "^3.23.8"
"vue-router": "^4.5.0",
"zod": "^3.24.1"
},
"devDependencies": {
"@farmfe/cli": "^1.0.4",
"@farmfe/core": "^1.4.1",
"@primevue/auto-import-resolver": "^4.2.2",
"@farmfe/core": "^1.5.0",
"@primevue/auto-import-resolver": "^4.2.5",
"@tauri-apps/cli": "^2.1.0",
"@types/node": "^22.9.0",
"@types/node": "^22.10.2",
"@types/nprogress": "^0.2.3",
"@types/path-browserify": "^1.0.3",
"@vitejs/plugin-vue": "^5.2.0",
"@vitejs/plugin-vue": "^5.2.1",
"archons": "^0.2.5",
"core-js": "^3.39.0",
"covector": "^0.12.3",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"unplugin-vue-components": "^0.27.4",
"tailwindcss": "^3.4.16",
"typescript": "^5.7.2",
"unplugin-vue-components": "^0.27.5",
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
Expand Down
Loading

0 comments on commit aec1b8e

Please sign in to comment.