Skip to content

Organize launcher tools and set native window branding - #33

Merged
CodeZhangBorui merged 3 commits into
mainfrom
feat/ui-temporary
Nov 26, 2026
Merged

CodeZhangBorui merged 3 commits into
mainfrom
feat/ui-temporary

Conversation

@CodeZhangBorui

@CodeZhangBorui CodeZhangBorui commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Organize the existing launcher tools into Home, Instances, Settings, and Debug using the GPUI Kit sidebar and controls. Keep form state and background work when switching pages.
  • Align sidebar entries and settings paths. Size the version mode button and instance Java picker to their content.
  • Set the native window title to Axolotl Launcher so tools that skip untitled windows can list it. Reuse the original launcher icons for Windows, X11, Wayland desktop integration, and macOS bundles.

Verification

  • Windows workspace Clippy and Nextest passed with 530 tests. All seven embedded worker smoke tests passed separately.
  • GPUI headless checks covered sidebar alignment, settings path columns, and the width of both instance controls before the final branding changes.
  • Verified all six Windows icon sizes in the executable and checked the macOS bundle metadata and Linux desktop entry against their icon assets.
  • Architecture, formatting, dependency, and license checks passed. Tombi ran offline.
  • Native icon display on Linux and macOS and enumeration in a screenshot application still need direct verification.

Sourcery 摘要

将启动器整理为可导航的工作区,并在受支持的桌面平台上统一采用原生品牌标识。

新功能:

  • 将启动器功能划分为“主页”“实例”“设置”和“调试”页面,并添加可折叠侧边栏,同时确保在页面导航过程中保留应用程序的共享状态。
  • 在窗口标题、桌面集成和各平台应用程序图标中采用原生 Axolotl Launcher 品牌标识。

错误修复:

  • 改进焦点处理,避免后台更新抢走当前视图以外控件的焦点。

增强功能:

  • 优化设置、环境、服务来源和实例控件,使布局更清晰,并根据内容调整呈现尺寸。

构建:

  • 添加嵌入式 Windows、Linux 和 macOS 应用程序图标的平台打包与构建支持。

部署:

  • 添加 Linux 桌面集成元数据,并提供有关应用程序 ID 和图标资源的安装说明。

文档:

  • 更新 macOS 打包说明,改为使用随应用捆绑的图标资源。

杂项:

  • 登记导入的启动器图标资源,以便进行许可证和署名追踪。
Original summary in English

Sourcery 摘要

将启动器整理为可导航的工作区,并统一其在支持平台上的原生桌面品牌形象。

新功能:

  • 将启动器功能划分为主页、实例、设置和调试页面,并添加可折叠侧边栏,同时确保在导航过程中保留应用程序的共享状态。
  • 在原生窗口、桌面集成和各平台的应用程序包中统一采用 Axolotl Launcher 品牌形象。

错误修复:

  • 防止后台更新和表单切换抢占当前视图之外控件的焦点。

改进:

  • 优化设置和环境布局,并根据内容调整实例控件的尺寸。

构建:

  • 添加平台专属的打包支持,为嵌入式 Windows、Linux 和 macOS 应用程序添加图标。

部署:

  • 添加 Linux 桌面集成元数据,以及有关应用程序 ID 和图标资源的安装指南。

文档:

  • 更新 macOS 打包说明,改用随附的应用程序图标。

杂项:

  • 登记导入的启动器图标资源,以便进行许可证和署名追踪。
Original summary in English

Summary by Sourcery

Organize the launcher into navigable workspaces and standardize its native desktop branding across supported platforms.

New Features:

  • Organize launcher functionality into Home, Instances, Settings, and Debug pages with a collapsible sidebar while preserving shared application state across navigation.
  • Apply consistent Axolotl Launcher branding to the native window, desktop integration, and platform application bundles.

Bug Fixes:

  • Prevent background updates and form transitions from stealing focus from controls outside the active view.

Enhancements:

  • Improve settings and environment layouts and size instance controls to their content.

Build:

  • Add platform-specific packaging support for embedded Windows, Linux, and macOS application icons.

Deployment:

  • Add Linux desktop integration metadata and installation guidance for the application ID and icon assets.

Documentation:

  • Update macOS packaging instructions to use the bundled application icon.

Chores:

  • Register imported launcher icon assets for license and attribution tracking.

Assisted-by: Codex
Signed-off-by: CodeZhangBorui <zhangborui.2008@foxmail.com>
Give the main window a native title so capture tools can list it. Reuse the original launcher icons across desktop platforms.

Assisted-by: Codex
Signed-off-by: CodeZhangBorui <zhangborui.2008@foxmail.com>
@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Sorry @CodeZhangBorui, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 3 days and 2 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T13:59:24.658204Z a1101c2 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added module: frontend State, layout and window wiring module: platforms Platform shells module: repository Build, tooling and CI module: ui Palette and gpui-kit vocabulary version: 0.1.0 Version a report or pull request belongs to status: unreviewed No maintainer has reviewed this yet labels Nov 26, 2026
@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

审阅者指南

API

通过 UI crate 暴露共享侧边栏组件和 Linux 应用图标解码器,供前端和窗口初始化使用。

  • apps/ui/src/lib.rs L16, L29, L36-44

API 的使用

设置主窗口的原生标题和应用 ID,并将嵌入的图标传递给 Linux 窗口后端。

  • apps/frontend/src/lib.rs L125-131(另有 3 处小改动)

实现

添加焦点范围,确保只有在受影响的表单仍拥有焦点时,账户和整合包更新才会恢复或保留焦点。

  • apps/frontend/src/modpacks/view.rs L44-365(另有 4 处小改动)
  • apps/frontend/src/panel/accounts.rs L46-246(另有 4 处小改动)
  • apps/frontend/src/panel/accounts/render.rs L108
  • apps/frontend/src/panel/accounts/third_party.rs L194-203, L310-314, L362-368(另有 4 处小改动)

UI

新增“主页”“实例”“设置”和“调试”页面,并加入可折叠侧边栏;将现有工具移至对应的工作区页面。

  • apps/frontend/src/panel/download_debug/sources.rs L11-12, L203-250, L252(已删除的行)
  • apps/frontend/src/panel/mod.rs L4-333(另有 7 处小改动)
  • apps/frontend/src/panel/shell.rs L1-191
  • apps/frontend/src/panel/download_debug.rs L269(已删除的行)

调整设置路径和控件,并使配置文件模式和实例 Java 控件的尺寸适应其内容。

  • apps/frontend/src/panel/environment.rs L199-203, L211-233(另有 5 处小改动)
  • apps/frontend/src/panel/java/instance.rs L14, L72
  • apps/frontend/src/panel/profile_creation/view.rs L77

配置

添加可复用的平台图标资源,并将其接入 Linux 桌面集成、Windows 资源嵌入和 macOS 应用包说明。

  • Cargo.toml L49, L54
  • apps/ui/Cargo.toml L16-18
  • packaging/linux/com.axolotl.axlauncher.desktop L1-10
  • platforms/windows/Cargo.toml L20-22
  • platforms/windows/axlauncher.rc L1-5
  • platforms/windows/build.rs L1-10
  • packaging/icons/axolotl-launcher.icns
  • packaging/icons/axolotl-launcher.ico
  • packaging/icons/axolotl-launcher.png

文档

说明 Linux 桌面条目和图标的安装方式,更新 macOS 打包说明以复制提供的图标,并记录图标资源的出处。

  • REUSE.toml L90-95
  • packaging/linux/README.md L1-10
  • packaging/macos/README.md L49

更新前端 crate 文档,介绍其桌面视图和窗口接线方式。

  • apps/frontend/src/lib.rs L4

锁定文件和 vendored 代码

记录新增图像解码和 Windows 资源嵌入依赖项所带来的依赖解析变更。

  • Cargo.lock L786, L870

提示和命令

与 Sourcery 交互

  • 触发新的审阅: 在拉取请求中评论 @sourcery-ai review。
  • 继续讨论: 直接回复 Sourcery 的审阅评论。
  • 根据审阅评论创建 GitHub issue: 回复审阅评论,请 Sourcery 根据该评论创建 issue。也可以回复审阅评论并输入 @sourcery-ai issue,以此创建 issue。
  • 生成拉取请求标题: 在拉取请求标题的任意位置输入 @sourcery-ai,即可随时生成标题。也可以在拉取请求中评论 @sourcery-ai title,以便随时重新生成标题。
  • 生成拉取请求摘要: 在拉取请求正文中想要插入摘要的位置输入 @sourcery-ai summary,即可随时生成摘要。也可以在拉取请求中评论 @sourcery-ai summary,以便随时重新生成摘要。
  • 生成审阅者指南: 在拉取请求中评论 @sourcery-ai guide,即可随时重新生成审阅者指南。
  • 解决所有 Sourcery 评论: 在拉取请求中评论 @sourcery-ai resolve,即可解决所有 Sourcery 评论。如果你已处理完所有评论且不想再看到它们,此功能会很有用。
  • 忽略所有 Sourcery 审阅: 在拉取请求中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 审阅。如果你想从头开始进行新的审阅,这个功能尤其有用——别忘了评论 @sourcery-ai review 来触发新的审阅!

自定义使用体验

访问你的控制面板,以便:

  • 启用或停用审阅功能,例如由 Sourcery 生成的拉取请求摘要、审阅者指南等。
  • 更改审阅语言。
  • 添加、移除或编辑自定义审阅说明。
  • 调整其他审阅设置。

获取帮助

Original review guide in English

Reviewer's Guide

API

Expose the shared sidebar components and Linux application-icon decoder through the UI crate for the frontend and window setup to use.

  • apps/ui/src/lib.rs L16, L29, L36-44

Uses of the API

Set the main window’s native title and app ID, and pass the embedded icon to the Linux window backend.

  • apps/frontend/src/lib.rs L125-131 (+3 small edits)

Implementation

Add focus scopes so account and modpack updates restore or retain focus only when the affected form still owns it.

  • apps/frontend/src/modpacks/view.rs L44-365 (4 small edits)
  • apps/frontend/src/panel/accounts.rs L46-246 (4 small edits)
  • apps/frontend/src/panel/accounts/render.rs L108
  • apps/frontend/src/panel/accounts/third_party.rs L194-203, L310-314, L362-368 (+4 small edits)

UI

Introduce Home, Instances, Settings, and Debug pages with a collapsible sidebar, moving the existing tools into their corresponding workspace pages.

  • apps/frontend/src/panel/download_debug/sources.rs L11-12, L203-250, L252 (removed lines)
  • apps/frontend/src/panel/mod.rs L4-333 (7 small edits)
  • apps/frontend/src/panel/shell.rs L1-191
  • apps/frontend/src/panel/download_debug.rs L269 (removed lines)

Adjust settings paths and controls, and size the profile-mode and instance Java controls to their content.

  • apps/frontend/src/panel/environment.rs L199-203, L211-233 (+5 small edits)
  • apps/frontend/src/panel/java/instance.rs L14, L72
  • apps/frontend/src/panel/profile_creation/view.rs L77

Configuration

Add reusable platform icon assets and wire them into Linux desktop integration, Windows resource embedding, and macOS bundle instructions.

  • Cargo.toml L49, L54
  • apps/ui/Cargo.toml L16-18
  • packaging/linux/com.axolotl.axlauncher.desktop L1-10
  • platforms/windows/Cargo.toml L20-22
  • platforms/windows/axlauncher.rc L1-5
  • platforms/windows/build.rs L1-10
  • packaging/icons/axolotl-launcher.icns
  • packaging/icons/axolotl-launcher.ico
  • packaging/icons/axolotl-launcher.png

Documentation

Document Linux desktop-entry and icon installation, update macOS bundling instructions to copy the supplied icon, and record icon asset attribution.

  • REUSE.toml L90-95
  • packaging/linux/README.md L1-10
  • packaging/macos/README.md L49

Update the frontend crate documentation to describe its desktop views and window wiring.

  • apps/frontend/src/lib.rs L4

Lock files and vendored code

Record dependency resolution changes for the new image-decoding and Windows resource-embedding dependencies.

  • Cargo.lock L786, L870

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Organize launcher pages and brand native windows

✨ Enhancement 🐞 Bug fix ⚙️ Configuration changes 🕐 40+ Minutes

Grey Divider

AI Description

• Organize launcher tools into four sidebar pages without discarding form state or background work.
• Align settings controls and prevent hidden workflows from reclaiming focus.
• Set the native window title and integrate launcher icons across desktop platforms.
Merge Risk 🟡 Medium

Blast radius 🔴 High 💥 5 capabilities

  • 5 affected capabilities span independent functional scopes: desktop form workflows, desktop workspace, desktop workspace presentation, download and authentication configuration, platform application packaging.
  • The changed page selector and sidebar jointly control access to the bounded desktop workspace surfaces; the propagation path ends at the workspace navigation capability rather than treating each rendered panel as a separate technical capability.
  • The changes govern focus continuity during replacement and closure of interactive forms across modpack import and account workflows.
  • They share one bounded desktop form interaction scope; the propagation path is focus behavior, not account or modpack persistence.
  • The changed component owns the user-visible source selectors and Fallen-Proxy setting, while the page relocation changes only their access surface within the same bounded configuration integration.
  • These changes are independent visual/layout adjustments to existing controls within the same desktop workspace presentation scope; their paths do not alter the underlying account, profile, Java, or settings operations.
  • The changed runtime window metadata, Linux desktop entry, Windows resource embedding, and macOS bundle asset all implement the bounded application identity and icon integration.
  • They are separate platform hops of one user-visible packaging capability, not independent functional domains.
Sources

apps/frontend/src/modpacks/view.rs[363-365]

        if self.focus_scope.contains_focused(window, cx) {
            focus.focus(window, cx);
        }

apps/frontend/src/panel/shell.rs[141-165]

impl Render for RootView {
    fn render(&mut self, _: &mut Window, cx: &mut Context<'_, Self>) -> impl IntoElement {
        h_flex()
            .size_full()
            .bg(cx.theme().background)
            .child(self.render_sidebar(cx))
            .child(
                v_flex()
                    .h_full()
                    .flex_1()
                    .min_w_0()
                    .gap_4()
                    .child(div().px_6().pt_6().child(self.render_header(cx)))
                    .child(
                        div()
                            .v_flex()
                            .flex_1()
                            .min_h_0()
                            .px_6()
                            .pb_6()
                            .gap_5()
                            .overflow_y_scrollbar()
                            .id(ElementId::named_usize("page-scroll", self.page as usize))
                            .children(self.page_sections(cx)),
                    ),

apps/frontend/src/lib.rs[125-131]

            titlebar: Some(TitlebarOptions {
                title: Some(BRAND_NAME.into()),
                ..Default::default()
            }),
            app_id: Some(APP_ID.to_owned()),
            #[cfg(target_os = "linux")]
            icon: Some(axlauncher_ui::application_icon()),
Behavioral complexity 🟡 Medium 🧩 Interacting branches

  • Before, all sections rendered in one scrollable surface.
  • After, Page state selects one of four section sets and sidebar state independently changes navigation presentation.
  • New correctness condition: every navigation value must select the intended complete section set while preserving the existing stateful child entities.
  • The branches are explicit and source-supported; no additional consumer propagation is inferred.
Sources

apps/frontend/src/panel/shell.rs[141-165]

impl Render for RootView {
    fn render(&mut self, _: &mut Window, cx: &mut Context<'_, Self>) -> impl IntoElement {
        h_flex()
            .size_full()
            .bg(cx.theme().background)
            .child(self.render_sidebar(cx))
            .child(
                v_flex()
                    .h_full()
                    .flex_1()
                    .min_w_0()
                    .gap_4()
                    .child(div().px_6().pt_6().child(self.render_header(cx)))
                    .child(
                        div()
                            .v_flex()
                            .flex_1()
                            .min_h_0()
                            .px_6()
                            .pb_6()
                            .gap_5()
                            .overflow_y_scrollbar()
                            .id(ElementId::named_usize("page-scroll", self.page as usize))
                            .children(self.page_sections(cx)),
                    ),
Potential damage 🟡 Medium 🩹 Temporary loss

  • If the changed page selection or rendering logic regresses, one or more existing workspace surfaces could become inaccessible until the application is fixed or reverted.
  • The source shows the affected sections are explicitly partitioned among four pages; it does not support broader effects on stored accounts, profiles, settings, or launches.
  • Reverting the frontend restores the former all-sections workspace layout and stops new access loss; no persistent-state repair is indicated.
Sources

apps/frontend/src/panel/shell.rs[141-165]

impl Render for RootView {
    fn render(&mut self, _: &mut Window, cx: &mut Context<'_, Self>) -> impl IntoElement {
        h_flex()
            .size_full()
            .bg(cx.theme().background)
            .child(self.render_sidebar(cx))
            .child(
                v_flex()
                    .h_full()
                    .flex_1()
                    .min_w_0()
                    .gap_4()
                    .child(div().px_6().pt_6().child(self.render_header(cx)))
                    .child(
                        div()
                            .v_flex()
                            .flex_1()
                            .min_h_0()
                            .px_6()
                            .pb_6()
                            .gap_5()
                            .overflow_y_scrollbar()
                            .id(ElementId::named_usize("page-scroll", self.page as usize))
                            .children(self.page_sections(cx)),
                    ),
Assessed commit a1101c2
Diagram

graph TD
  Entry["Platform entry"] --> Window["Native window"] --> Root["Root workspace"] --> Sidebar["Kit sidebar"] --> Pages["Four pages"]
  Root --> State["Shared state"]
  Window --> Branding["Desktop branding"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Separate view entity for each page
  • ➕ Clearer ownership of page-specific rendering and lifecycle.
  • ➖ Requires shared-state coordination and extra care to preserve forms and background work across navigation.

Recommendation: Keep the PR's persistent RootView with conditional page rendering. It reorganizes the existing tools without moving their state or disrupting ongoing work; separate page entities would add coordination complexity for limited benefit at the current scope.

Files changed (21) +363 / -133

Enhancement (7) +298 / -128
lib.rsBrand the native main window +11/-2

Brand the native main window

• Sets the window title and application ID, and supplies the embedded icon on Linux.

apps/frontend/src/lib.rs

download_debug.rsRemove service sources from Debug +0/-1

Remove service sources from Debug

• Stops rendering source settings inside the download-debug section; they now appear on Settings.

apps/frontend/src/panel/download_debug.rs

sources.rsPresent service sources as a Settings group +47/-35

Present service sources as a Settings group

• Makes source controls available to the page shell and wraps them in a titled group without changing their settings behavior.

apps/frontend/src/panel/download_debug/sources.rs

environment.rsAlign and constrain Settings controls +31/-21

Align and constrain Settings controls

• Aligns path labels and values, permits the directory input to shrink, and reorganizes theme, language, and save controls for the page layout.

apps/frontend/src/panel/environment.rs

mod.rsRetain workspace state while moving rendering to the shell +7/-68

Retain workspace state while moving rendering to the shell

• Adds page and sidebar-collapse state to RootView and removes the former single-scroll-page renderer. Existing feature state remains on RootView across page switches.

apps/frontend/src/panel/mod.rs

shell.rsAdd four-page sidebar navigation +191/-0

Add four-page sidebar navigation

• Introduces collapsible, keyboard-operable sidebar controls and routes existing sections to Home, Instances, Settings, and Debug. Renders a page-specific scroll region and retains the reload header.

apps/frontend/src/panel/shell.rs

lib.rsExpose sidebar controls and a Linux application icon +11/-1

Expose sidebar controls and a Linux application icon

• Re-exports GPUI Kit icon and sidebar components through the UI facade. Adds a Linux-only helper that decodes the packaged PNG for the window backend.

apps/ui/src/lib.rs

Bug fix (4) +15 / -4
view.rsKeep modpack focus within its visible workflow +6/-1

Keep modpack focus within its visible workflow

• Tracks the import view's focus scope and restores focus after a state change only when that scope still owns focus.

apps/frontend/src/modpacks/view.rs

third_party.rsGuard third-party account focus restoration +6/-1

Guard third-party account focus restoration

• Tracks the form's focus scope and avoids refocusing its trigger after focus has moved elsewhere.

apps/frontend/src/panel/accounts/third_party.rs

instance.rsSize the instance Java picker to its content +2/-2

Size the instance Java picker to its content

• Wraps the picker control in a horizontal flex container so it does not stretch across the available width.

apps/frontend/src/panel/java/instance.rs

view.rsPrevent the version mode button from stretching +1/-0

Prevent the version mode button from stretching

• Aligns the button to the start of its container so its width follows its content.

apps/frontend/src/panel/profile_creation/view.rs

Documentation (3) +17 / -1
REUSE.tomlRecord icon asset licensing +6/-0

Record icon asset licensing

• Attributes the imported launcher icons to Garbage Human Studio under GPL-3.0-only.

REUSE.toml

README.mdDocument Linux desktop installation +10/-0

Document Linux desktop installation

• Specifies where to install the binary, desktop entry, and icon, and explains the desktop filename's relationship to the Wayland app ID.

packaging/linux/README.md

README.mdUse the supplied macOS bundle icon +1/-1

Use the supplied macOS bundle icon

• Replaces icon-generation guidance with a command that copies the packaged ICNS into the application bundle.

packaging/macos/README.md

Other (7) +33 / -0
Cargo.tomlDeclare icon integration dependencies +2/-0

Declare icon integration dependencies

• Adds shared embed-resource and PNG-enabled image dependencies for platform icon handling.

Cargo.toml

Cargo.tomlEnable Linux PNG decoding +3/-0

Enable Linux PNG decoding

• Adds the image dependency on Linux for the embedded window icon.

apps/ui/Cargo.toml

axolotl-launcher.icnsAdd the macOS launcher icon asset +0/-0

Add the macOS launcher icon asset

• Adds the application icon used by the macOS bundle.

packaging/icons/axolotl-launcher.icns

com.axolotl.axlauncher.desktopAdd a Linux desktop entry +10/-0

Add a Linux desktop entry

• Defines the launch command, display name, icon name, and game category for desktop integration.

packaging/linux/com.axolotl.axlauncher.desktop

Cargo.tomlAdd the Windows resource build dependency +3/-0

Add the Windows resource build dependency

• Adds embed-resource as a build dependency for the Windows launcher.

platforms/windows/Cargo.toml

axlauncher.rcDeclare the Windows launcher icon resource +5/-0

Declare the Windows launcher icon resource

• Assigns the packaged ICO to resource ID 1 for the Windows executable and window icon.

platforms/windows/axlauncher.rc

build.rsEmbed the Windows icon during build +10/-0

Embed the Windows icon during build

• Compiles the icon resource into the Windows launcher and reruns when the resource declaration or ICO changes.

platforms/windows/build.rs

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Impact analysis

Risk: Critical

26 files, 55 indexed symbols, 20 affected processes

Note

The changed-symbol list is capped. The counts and risk were computed over the full set.

6 per-symbol caller lookups could not resolve callers; confirm those symbols with a text search.

Changed symbols

Symbol Kind File
APP_ID Const apps/frontend/src/lib.rs
open_main_window Function apps/frontend/src/lib.rs
ModpackImport Struct apps/frontend/src/modpacks/view.rs
focus_scope Property apps/frontend/src/modpacks/view.rs
ModpackImport Impl apps/frontend/src/modpacks/view.rs
new Function apps/frontend/src/modpacks/view.rs
render Function apps/frontend/src/modpacks/view.rs
focus_modpack Function apps/frontend/src/modpacks/view.rs
AccountsPanel Struct apps/frontend/src/panel/accounts.rs
offline_scope Property apps/frontend/src/panel/accounts.rs
AccountsPanel Impl apps/frontend/src/panel/accounts.rs
new Function apps/frontend/src/panel/accounts.rs
RootView Impl apps/frontend/src/panel/accounts.rs
close_offline_form Function apps/frontend/src/panel/accounts.rs
RootView Impl apps/frontend/src/panel/accounts/render.rs
offline_form Function apps/frontend/src/panel/accounts/render.rs
Form Struct apps/frontend/src/panel/accounts/third_party.rs
focus_scope Property apps/frontend/src/panel/accounts/third_party.rs
Form Impl apps/frontend/src/panel/accounts/third_party.rs
new Function apps/frontend/src/panel/accounts/third_party.rs
render Function apps/frontend/src/panel/accounts/third_party.rs
retain_focus_when_replacing_fields Function apps/frontend/src/panel/accounts/third_party.rs
RootView Impl apps/frontend/src/panel/accounts/third_party.rs
close_third_party Function apps/frontend/src/panel/accounts/third_party.rs
choose_third_party Function apps/frontend/src/panel/accounts/third_party.rs
finish_third_party Function apps/frontend/src/panel/accounts/third_party.rs
RootView Impl apps/frontend/src/panel/download_debug.rs
render_download_debug Function apps/frontend/src/panel/download_debug.rs
RootView Impl apps/frontend/src/panel/download_debug/sources.rs
render_service_sources Function apps/frontend/src/panel/download_debug/sources.rs

Affected processes

  • Render_environment → Clear_password (7 steps) — root_controls
  • Render_environment → Sync_select (7 steps) — root_controls
  • Render_environment → Entry (7 steps) — root_controls
  • Render_environment → Service (6 steps) — root_controls
  • Render_environment → Update_paths (5 steps) — root_controls
  • Render_environment → Clear_feedback (5 steps) — root_controls
  • Render → New (4 steps) — render
  • Render_accounts → New (4 steps) — render, new
  • Render_accounts → Field (4 steps) — render
  • Render_accounts → Profile_button (4 steps) — render
  • Render_environment → New (4 steps) — path_row
  • Render_environment → Load_selected_root (4 steps) — root_controls
  • Render_instances → New_java_panel (4 steps) — new
  • Render_instances → New_modpack_import (4 steps) — new
  • Render → Auto_download_restricted (3 steps) — render
  • Render_download_debug → New (3 steps) — render_download_debug
  • Render_service_sources → New (3 steps) — render_service_sources
  • Render_service_sources → Fallen_proxy (3 steps) — fallen_proxy, render_service_sources
  • Render_instances → Entry (7 steps) — new
  • Render_accounts → Is_working (4 steps) — render

Upstream callers

Symbol Risk Direct callers Affected processes
open_main_window Low 1 1
focus_modpack Low 3 0
close_offline_form Low 1 1
offline_form Low 1 1

Note

Upstream callers were traced for 10 symbols; 24 further eligible symbols were not queried.

Analyzed fad862e921e0..a1101c2d9a08 with gitnexus@1.6.12.

The draw.io mind map, Mermaid source and SVG preview are in the pr-impact artifact for this run.

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Profile selection loses keyboard focus ✓ Resolved
Description
close_third_party restores focus to the sign-in trigger only when focus_scope.contains_focused
is true, but selecting a profile removes the focused profile button before the request completes.
When a keyboard user selects a profile and the save finishes, the button is no longer in the
rendered form, so the guard skips focus restoration.

Grey Divider

Tip of the day
💡 Did you know, you can tweak Display settings with a live preview to see your comment before it ships

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d27be2e53a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/frontend/src/panel/shell.rs Resolved
Restore focus only when the form still owns it. Keep focus within the third-party form while replacing its active controls.

Assisted-by: Codex
Signed-off-by: CodeZhangBorui <zhangborui.2008@foxmail.com>

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sourcery assessment

Approved.

@github-actions github-actions Bot added status: reviewed A maintainer has reviewed this and removed status: unreviewed No maintainer has reviewed this yet labels Nov 26, 2026
@CodeZhangBorui
CodeZhangBorui merged commit 28784b8 into main Nov 26, 2026
20 checks passed
@CodeZhangBorui
CodeZhangBorui deleted the feat/ui-temporary branch November 26, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: frontend State, layout and window wiring module: platforms Platform shells module: repository Build, tooling and CI module: ui Palette and gpui-kit vocabulary status: reviewed A maintainer has reviewed this version: 0.1.0 Version a report or pull request belongs to

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant