aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* chore: update FOSSA status badges to HydroRoll-Team/DropOutchore/update-fossa-badgekrypton2026-03-312-8/+8
|
* chore(release): bump versions (#132)dropout-v0.2.0-alpha.6苏向夜2026-03-2914-47/+47
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Releases ## dropout ## v0.2.0-alpha.6 ### Refactors - [`5b799a1`](https://github.com/HydroRoll-Team/DropOut/commit/5b799a125a970e5e56f29a08b3c86450855fb6c4): Full rewrite instance create with stepper page instead of modal. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) - [`ffbfce8`](https://github.com/HydroRoll-Team/DropOut/commit/ffbfce895c37e8e8306d426a2e59e73647ed6a86): Refactor game store and rename `HomePage` component. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) - [`18aceb4`](https://github.com/HydroRoll-Team/DropOut/commit/18aceb4ddf01e964d0b81a4e926e42b72c64e355): Rewrite `ParticleBackground` to modern component design instead of global `window` api call. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) - [`97fe504`](https://github.com/HydroRoll-Team/DropOut/commit/97fe5046f68b5e4ee5f750945bcc39a27f5eb37b): Rewrite effect instance nullish checking. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) ### New Features - [`32a4d85`](https://github.com/HydroRoll-Team/DropOut/commit/32a4d85af937e4fd882fa671aee8b72878cc564f): Remove all legacy codes in `stores/`. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) ### Chores - [`ef478b2`](https://github.com/HydroRoll-Team/DropOut/commit/ef478b29605afbd1c3ec88184b64960e8ad01e71): Fix vite config to integrate with Tauri. ([#128](https://github.com/HydroRoll-Team/DropOut/pull/128) by @fu050409) ## @dropout/docs ## v0.1.0-alpha.1 ### Chores - [`906a042`](https://github.com/HydroRoll-Team/DropOut/commit/906a04226be13a7435b775c0f21a685d95fdbf34): Partially apply docs frontend lint fixes ([#123](https://github.com/HydroRoll-Team/DropOut/pull/123) by @fu050409) ## @dropout/ui ## v0.1.0-alpha.4 ### Chores - [`ef478b2`](https://github.com/HydroRoll-Team/DropOut/commit/ef478b29605afbd1c3ec88184b64960e8ad01e71): Fix vite config to integrate with Tauri. ([#128](https://github.com/HydroRoll-Team/DropOut/pull/128) by @fu050409) ### Refactors - [`5b799a1`](https://github.com/HydroRoll-Team/DropOut/commit/5b799a125a970e5e56f29a08b3c86450855fb6c4): Full rewrite instance create with stepper page instead of modal. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) - [`ffbfce8`](https://github.com/HydroRoll-Team/DropOut/commit/ffbfce895c37e8e8306d426a2e59e73647ed6a86): Refactor game store and rename `HomePage` component. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) - [`18aceb4`](https://github.com/HydroRoll-Team/DropOut/commit/18aceb4ddf01e964d0b81a4e926e42b72c64e355): Rewrite `ParticleBackground` to modern component design instead of global `window` api call. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) - [`97fe504`](https://github.com/HydroRoll-Team/DropOut/commit/97fe5046f68b5e4ee5f750945bcc39a27f5eb37b): Rewrite effect instance nullish checking. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) ### New Features - [`32a4d85`](https://github.com/HydroRoll-Team/DropOut/commit/32a4d85af937e4fd882fa671aee8b72878cc564f): Remove all legacy codes in `stores/`. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409)
| * chore(release): bump versionsgithub-actions[bot]2026-03-2914-47/+47
|/
* fix(release): fix release version tag苏向夜2026-03-296-0/+6
|
* revert: revert due to primary version (#131)苏向夜2026-03-2911-28/+39
|\ | | | | Reverts HydroRoll-Team/DropOut#124
| * Revert "chore(release): bump versions"苏向夜2026-03-2911-28/+39
|/
* chore(release): bump versions (#124)@dropout/ui-v0.1.0-alpha.4@dropout/docs-v0.1.0-alpha.1苏向夜2026-03-2911-39/+28
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Releases ## @dropout/docs ## v0.1.0-alpha.1 ### Chores - [`906a042`](https://github.com/HydroRoll-Team/DropOut/commit/906a04226be13a7435b775c0f21a685d95fdbf34): Partially apply docs frontend lint fixes ([#123](https://github.com/HydroRoll-Team/DropOut/pull/123) by @fu050409) ## @dropout/ui ## v0.1.0-alpha.4 ### Refactors - [`5b799a1`](https://github.com/HydroRoll-Team/DropOut/commit/5b799a125a970e5e56f29a08b3c86450855fb6c4): Full rewrite instance create with stepper page instead of modal. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) - [`ffbfce8`](https://github.com/HydroRoll-Team/DropOut/commit/ffbfce895c37e8e8306d426a2e59e73647ed6a86): Refactor game store and rename `HomePage` component. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) - [`18aceb4`](https://github.com/HydroRoll-Team/DropOut/commit/18aceb4ddf01e964d0b81a4e926e42b72c64e355): Rewrite `ParticleBackground` to modern component design instead of global `window` api call. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) - [`97fe504`](https://github.com/HydroRoll-Team/DropOut/commit/97fe5046f68b5e4ee5f750945bcc39a27f5eb37b): Rewrite effect instance nullish checking. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409) ### Chores - [`ef478b2`](https://github.com/HydroRoll-Team/DropOut/commit/ef478b29605afbd1c3ec88184b64960e8ad01e71): Fix vite config to integrate with Tauri. ([#128](https://github.com/HydroRoll-Team/DropOut/pull/128) by @fu050409) ### New Features - [`32a4d85`](https://github.com/HydroRoll-Team/DropOut/commit/32a4d85af937e4fd882fa671aee8b72878cc564f): Remove all legacy codes in `stores/`. ([#129](https://github.com/HydroRoll-Team/DropOut/pull/129) by @fu050409)
| * chore(release): bump versionsgithub-actions[bot]2026-03-2911-39/+28
|/
* fix(build): fix pnpm build (#130)苏向夜2026-03-291-0/+0
|\
| * fix(build): fix pnpm buildfix/build苏向夜2026-03-291-0/+0
|/
* refactor(ui): full rewrite instance and code struct (#129)苏向夜2026-03-2938-1981/+1380
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ## Summary by Sourcery Refactor the UI to modernize effect handling, routing, and legacy APIs while adding a reusable alert dialog component and cleaning up obsolete stores. New Features: - Introduce a shared SaturnEffect context via ParticleBackground so pages can access the effect without relying on global window APIs. - Add a Base UI–powered alert dialog component for consistent confirmation and warning flows across the app. - Define a central router configuration module with instance routes to standardize page wiring. Bug Fixes: - Ensure SaturnEffect nullish checks are handled safely when forwarding pointer and touch events from the home view. Enhancements: - Rewrite ParticleBackground to manage its own SaturnEffect lifecycle via React state and context instead of global accessors. - Update the home view to use the SaturnEffect hook, simplify pointer/touch handlers, and remove legacy game and release store usage. - Refine layout and accessibility attributes for various form field and label components, including field grouping and error rendering keys. - Simplify sidebar navigation and adjust the user dropdown trigger to work with the updated dropdown menu API. - Wrap the root outlet for the home route with ParticleBackground only on the index path to limit the effect to the intended view. - Clean up imports and code style in radio group and other UI primitives for consistency. Chores: - Remove deprecated UI stores and utility modules that are no longer used with the new architecture. - Add changeset entries documenting the Saturn effect refactor, ParticleBackground rewrite, and removal of legacy store code.
| * Merge branch 'refactor/fe' of https://github.com/HydroRoll-Team/DropOut into ↵苏向夜2026-03-292-2/+2
| |\ | | | | | | | | | refactor/fe
| * | refactor(ui): rewrite instance create苏向夜2026-03-2910-574/+1328
| | |
| * | refactor(ui): rewrite game store苏向夜2026-03-298-675/+135
| | |
| | * Update packages/ui/src/components/ui/field.tsx苏向夜2026-03-291-1/+1
| | | | | | | | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| | * Update .changes/particle-background.md苏向夜2026-03-291-1/+1
| |/ | | | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| * fix(lint): apply ui code lint苏向夜2026-03-298-23/+53
| |
| * Merge branch 'refactor/fe' of https://github.com/HydroRoll-Team/DropOut into ↵苏向夜2026-03-294-9/+27
| |\ | | | | | | | | | refactor/fe
| * | fix(ci): fix duplicate lint ci苏向夜2026-03-291-0/+4
| | |
| | * Merge branch 'main' into refactor/fe苏向夜2026-03-294-9/+27
| |/| | |/ |/|
* | fix(env): fix vite config to integrate with tauri (#128)苏向夜2026-03-294-9/+27
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ## Summary by Sourcery Align Vite development server configuration with Tauri requirements for the UI package. Enhancements: - Configure Vite dev server with fixed Tauri ports, optional host-based HMR, and ignored `src-tauri` directory to support Tauri development workflows. Chores: - Add a changeset entry documenting the Vite–Tauri integration change and remove the unused example environment file.
| * | fix(env): fix vite config to integrate with taurifix/vite-tauri苏向夜2026-03-294-9/+27
|/ /
| * feat(ui): remove all stores苏向夜2026-03-298-886/+5
| |
| * chore(ui): refactor effect instance check苏向夜2026-03-298-168/+497
| |
| * Merge branch 'main' into refactor/fe苏向夜2026-03-2619-737/+1735
| |\ | |/ |/|
| * chore: add missing file苏向夜2026-03-261-3/+7
| |
| * refactor(ui): rewrite particle background苏向夜2026-03-265-363/+62
| |
| * chore: update shadcn components苏向夜2026-03-263-25/+25
| |
* | Add game lifecycle management and instance import/export tools (#117)苏向夜2026-03-2619-737/+1735
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ## Summary by Sourcery Add centralized game process and instance lifecycle management, shared cache-aware path resolution, and instance import/export/repair capabilities across backend and UI. New Features: - Track a single running game process in the backend, expose stop-game control, and emit structured game-exited events with instance and version context. - Introduce instance path resolution that supports shared caches for versions, libraries, and assets, and use it across game start, install, and version management APIs. - Add import, export, and repair operations for instances, including zip-based archive support and automatic recovery of on-disk instances. - Expose new instance lifecycle and repair APIs to the frontend and wire them through the client and instance store. - Add per-instance start/stop controls in the instances view and instance selection in the bottom bar for launching games. Enhancements: - Guard instance operations with per-instance locks and track active operations such as launch, install, delete, and import/export. - Improve handling of Microsoft login errors and polling status, with clearer user feedback and safer interval management. - Simplify config mutation during shared cache migration and centralize instance directory resolution in the backend. - Initialize a game lifecycle listener at app startup to keep UI state in sync with backend game exit events. Build: - Configure the Vite dev server to use a fixed localhost host and port for the UI dev environment.
| * Merge branch 'main' into feature/multi-instances简律纯2026-03-2632-6904/+4113
| |\ | |/ |/|
* | chore(lint): partial apply docs code lints (#123)苏向夜2026-03-2632-6904/+4113
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc @NtskwK ptal, and, some codes cannot pass the code lint, check plz. ## Summary by Sourcery Apply linting and formatting updates across the docs app, and align tooling and release config for the @dropout/docs package. Enhancements: - Normalize imports, string literals, and JSX formatting across the docs app for consistent style and lint compliance. - Tidy i18n, routing, and docs loader code without changing behavior, improving readability and maintainability. Build: - Register the @dropout/docs package in the release/config system with nodejs resolver and alpha pre-release tagging. - Update docs-related Vite and TypeScript config files to match the new linting and path conventions. - Remove the nodejs publish command block from the shared changes config to simplify release behavior. Chores: - Bump @biomejs/biome to the latest version and add core-js to onlyBuiltDependencies for tooling compatibility. - Add a changeset for @dropout/docs describing the docs linting patch release. - Introduce or update Biome and docs content metadata config files to support the new linting setup.
| * \ Merge branch 'main' into chore/docs-lint苏向夜2026-03-261-0/+2
| |\ \ | |/ / |/| |
| * | Update .changes/docs-lint.md苏向夜2026-03-261-1/+1
| | | | | | | | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| * | chore(pnpm): fix pnpm lock file苏向夜2026-03-263-6692/+3872
| | |
| * | chore(smif): add missing version field苏向夜2026-03-261-0/+1
| | |
| * | chore(smif): add docs and patch bump苏向夜2026-03-264-11/+13
| | |
| * | chore(lint): partial apply docs code lint苏向夜2026-03-2624-201/+227
| | |
| | * fix(instance): InstanceManager -> InstanceStateHsiangNianian2026-03-182-7/+4
| | |
| | * fix(macro): update ts export macroHsiangNianian2026-03-185-15/+18
| | | | | | | | | | | | https://github.com/HydroRoll-Team/DropOut/pull/117#discussion_r2922886584
| | * fix(modpack): 将 CurseForge API Key 改为编译期可选常量 (#118)Begonia, HE2026-03-185-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # fix(modpack): 将 CurseForge API Key 改为编译期可选常量 修复 `env!()` 宏在开发者本地无 `CURSEFORGE_API_KEY` 时导致编译失败的问题,改用 `option_env!()` + build.rs 中的 `dotenvy` 读取 .env 文件,实现编译期嵌入、缺失时优雅降级。 ## 更改类型 - [x] Bug 修复(修复问题的非破坏性更改) - [ ] 新功能(添加功能的非破坏性更改) - [ ] 破坏性更改(会导致现有功能无法正常工作的修复或功能) - [ ] 文档更新 - [ ] UI/UX 改进 - [ ] 性能优化 - [ ] 代码重构(无功能性更改) - [x] 配置更改 - [ ] 测试添加或更新 ## LLM 生成代码声明 - [x] 此 PR 不包含 LLM 生成的代码,我**提供**质量担保 ## 相关 Issue 相关 #110 #117 ## 更改内容 ### 后端 (Rust) - modpack.rs:将 `env!("CURSEFORGE_API_KEY")` 替换为 `const CURSEFORGE_API_KEY: Option<&str> = option_env!("CURSEFORGE_API_KEY")`,key 不存在时编译为 `None`,调用 CurseForge 功能时返回友好错误而非 panic - build.rs:添加 `dotenvy::dotenv()` 调用,允许通过 .env 文件在编译期注入 key,并注册 `cargo:rerun-if-changed` / `cargo:rerun-if-env-changed` 确保增量构建正确 ### 前端 (Svelte) - 无 ### 配置 - Cargo.toml:在 `[build-dependencies]` 中添加 `dotenvy = { version = "0.15", default-features = false }` - .gitignore:添加 .env / `.env.local` 忽略规则,防止 key 被意外提交 - .env.example:新增示例文件,说明可选配置项及获取方式 ## 测试 ### 测试环境 - **操作系统**:Fedora Linux 6.19.6-300.fc44.x86_64 x86_64 - **DropOut 版本**:0.2.0-alpha.5 - **测试的 Minecraft 版本**:N/A - **Mod 加载器**:N/A ### 测试用例 - [ ] 已在 Windows 上测试 - [ ] 已在 macOS 上测试 - [x] 已在 Linux 上测试 - [ ] 已测试原版 Minecraft - [ ] 已测试 Fabric - [ ] 已测试 Forge - [ ] 已测试游戏启动 - [ ] 已测试登录流程 - [ ] 已测试 Java 检测/下载 ### 测试步骤 1. 不设置 `CURSEFORGE_API_KEY`,不创建 .env 文件,直接执行 `cargo check` → 应编译通过(无报错) 2. 创建 .env 文件并写入 `CURSEFORGE_API_KEY=test_key`,执行 `cargo check` → 应编译通过,key 被嵌入二进制 3. 不含 key 的构建中触发 CurseForge modpack 导入 → 应返回友好错误提示而非 panic ## 检查清单 ### 代码质量 - [x] 我的代码遵循项目的代码风格指南 - [x] 我已对自己的代码进行了自审 - [ ] 我已对难以理解的区域添加了注释 - [x] 我的更改没有产生新的警告或错误 ### 测试验证 - [x] 我已在本地测试了我的更改 - [ ] 我已添加测试来证明我的修复有效或功能正常工作 - [x] 新的和现有的单元测试在本地通过 - [x] 我至少在一个目标平台上进行了测试 ### 文档更新 - [ ] 我已相应地更新了文档 - [ ] 如有需要,我已更新 README - [ ] 我已在必要处添加/更新代码注释 ### 依赖项 - [x] 我已检查没有添加不必要的依赖项 - [x] 所有新依赖项都已正确记录 - [x] Cargo.lock 已更新 ## 附加说明 `dotenvy` 仅作为 **build-dependency**,不会进入最终二进制。官方发布构建通过 CI 环境变量注入 key,普通开发者无需任何操作即可正常编译和运行。 Co-authored-by: 简律纯 <i@jyunko.cn>
| | * Potential fix for pull request finding简律纯2026-03-181-1/+18
| | | | | | | | | Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| | * Potential fix for pull request finding简律纯2026-03-181-6/+11
| | | | | | | | | Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| | * Potential fix for pull request finding简律纯2026-03-181-1/+2
| | | | | | | | | Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| | * Potential fix for pull request finding简律纯2026-03-181-2/+12
| | | | | | | | | Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| | * Potential fix for pull request finding简律纯2026-03-181-1/+3
| | | | | | | | | Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| | * revert(ui): remove hostHsiangNianian2026-03-181-1/+0
| | | | | | | | | | | | https://github.com/HydroRoll-Team/DropOut/pull/117#discussion_r2922898445
| | * Merge branch 'main' into feature/multi-instances简律纯2026-03-181-0/+2
| | |\ | |_|/ |/| |
* | | chore(docs): Add Repology package availability badge to README (#120)简律纯2026-03-131-0/+2
|/ / | | | | Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| * feat(instance): finish multi instances systemHsiangNianian2026-03-126-550/+1503
| |
| * feat(ui): add initGameLifecycleHsiangNianian2026-03-121-1/+4
| |