重构总览页横屏布局 by megumiss · Pull Request #265 · megumiss/NIKKEAutoScript · GitHub
Skip to content

重构总览页横屏布局 - #265

Open
megumiss wants to merge 4 commits into
masterfrom
codex/dashboard-ui-layout
Open

megumiss wants to merge 4 commits into
masterfrom
codex/dashboard-ui-layout

Conversation

@megumiss

@megumiss megumiss commented Sep 2, 2026 •

Copy link
Copy Markdown
Owner

Sourcery 总结

重构总览页布局,使其支持横屏自定义编排,并增加实例级概览信息面板。

新功能:

  • 为总览页引入可编辑的横屏网格布局,支持区域和实例概览卡片的拖拽、缩放、重置及本地持久化。
  • 为每个实例新增包含账号信息和今日任务的双栏概览卡片,并提供待接入数据的占位提示。

错误修复:

  • 优化活动日历在可调整布局中的高度适配,并避免重复显示日历标题。

改进:

  • 将窄屏总览降级为不可编辑的单列布局,并移除总览页中的新建实例入口。
  • 补充总览布局相关的多语言界面文案和视觉样式。

构建:

  • 新增 grid-layout-plus 前端依赖并更新构建产物。

杂项:

  • 新增总览布局状态管理,协调实例的增删和布局配置。
Original summary in English

Sourcery 总结

重构总览页以支持横屏自定义编排,并提供实例级概览信息。

新功能:

  • 为总览页加入支持拖拽、缩放、重置和本地持久化的横屏自定义网格布局。
  • 为各实例增加包含账号信息和本日任务占位数据的双栏概览面板。

问题修复:

  • 优化活动日历的动态高度适配并移除重复标题。

功能增强:

  • 在窄屏下将总览降级为不可编辑的单列布局,并将实例创建入口集中到多开页面。
  • 补充总览布局、实例概览及占位信息的多语言文案和视觉样式。

构建:

  • 引入 grid-layout-plus 布局依赖并更新前端构建产物。

杂项:

  • 新增总览布局状态管理,协调实例变化与布局持久化。
Original summary in English

Sourcery 摘要

将仪表盘重新设计为响应式、可自定义的卡片布局,并加入实例级别的概览信息。

新功能:

  • 添加可自定义的桌面端仪表盘卡片,支持拖动、调整大小、重置以及布局持久化。
  • 添加按实例划分的账户和每日任务概览面板,并提供数据占位符。

错误修复:

  • 根据可调整大小的仪表盘布局适配活动日历高度,并移除重复标题。

增强功能:

  • 在窄屏设备上使用不可编辑的单列仪表盘,并将实例创建功能移至多实例页面。
  • 添加本地化的仪表盘控件、概览标签、占位提示文本以及配套的视觉样式。

构建:

  • 添加 grid-layout-plus 前端依赖,并刷新编译后的前端资源。

杂项:

  • 添加仪表盘布局状态管理,以协调实例变更并持久化布局配置。
Original summary in English

Sourcery 总结

将仪表盘重构为响应式、可自定义的卡片布局,并添加实例级概览信息。

新功能:

  • 添加可自定义的桌面端仪表盘网格,支持拖动、调整大小、隐藏、重置,以及在本地持久化各个分区。
  • 添加按实例划分的账户和每日任务概览面板,并为尚未连接的数据添加占位内容。

Bug 修复:

  • 根据内容自适应活动日历的高度,并防止日历标题重复显示。

改进:

  • 在窄屏设备上使用不可编辑的单列仪表盘,并将实例创建功能移至多实例页面。
  • 添加仪表盘布局控件、响应式样式,以及用于全新概览体验的本地化标签。

构建:

  • 添加 grid-layout-plus 前端依赖,并更新编译后的前端资源。

杂项:

  • 添加仪表盘布局状态管理,用于协调实例变更,并持久化可见和隐藏卡片的配置。
Original summary in English

Summary by Sourcery

Refactor the dashboard into a responsive, customizable card layout with instance-level overview information.

New Features:

  • Add a customizable desktop dashboard grid with draggable, resizable, hideable, resettable, and locally persisted sections.
  • Add per-instance account and daily-task overview panels with placeholders for data that is not yet connected.

Bug Fixes:

  • Adapt the activity calendar height to its content and prevent duplicate calendar headings.

Enhancements:

  • Use a non-editable single-column dashboard on narrow screens and move instance creation to the multi-instance page.
  • Add dashboard layout controls, responsive styling, and localized labels for the new overview experience.

Build:

  • Add the grid-layout-plus frontend dependency and refresh the compiled frontend assets.

Chores:

  • Add dashboard layout state management to reconcile instance changes and persist visible and hidden card configurations.

@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.

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

You can request another review in 14 hours and 36 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Sep 2, 2026

Copy link
Copy Markdown

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant