Skip to content

修改主页面的启动画面 - #143

Open
YzmmQwQ wants to merge 3 commits into
Eric-Terminal:mainfrom
YzmmQwQ:main
Open

修改主页面的启动画面#143
YzmmQwQ wants to merge 3 commits into
Eric-Terminal:mainfrom
YzmmQwQ:main

Conversation

@YzmmQwQ

@YzmmQwQ YzmmQwQ commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

改动内容

修改主页面的启动画面

验证

已验证

截图或录屏

旧的:
image

修改:
image

CLA

  • [ x ] I have read the CLA Document and I hereby sign the CLA.

如果不勾选上面的声明,也可以由 PR 作者在评论区发送:

I have read the CLA Document and I hereby sign the CLA.

Summary by Sourcery

Redesign the landing page startup experience around a staged animated logo reveal and streamline the page by removing the personalization preview.

New Features:

  • Replace the landing page startup screen with a staged animated logo transition that expands into the page reveal.
  • Synchronize hero title animation with completion of the startup-screen transition.

Enhancements:

  • Remove the landing page personalization preview section and its related navigation, localization, styling, and phone-frame asset.

Chores:

  • Remove obsolete startup loader and personalization assets and styles.

@sourcery-ai

sourcery-ai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Reviewer's Guide

The PR redesigns the landing page startup experience around a timed SVG geometric-logo animation synchronized with the hero reveal, while removing the former personalization preview feature and all of its supporting UI, localization, asset, and CSS code.

Sequence diagram for the timed startup logo animation

sequenceDiagram
    participant AppVue
    participant useWaveLoader
    participant LoaderScreen
    participant HeroTitle

    AppVue->>useWaveLoader: useWaveLoader({ duration: 2600 })
    AppVue->>AppVue: onMounted()
    AppVue->>AppVue: setTimeout 950ms
    AppVue->>LoaderScreen: logoPhase = next
    AppVue->>AppVue: setTimeout 1750ms
    AppVue->>LoaderScreen: logoPhase = expand
    LoaderScreen-->>HeroTitle: loaderLeaving
    HeroTitle->>HeroTitle: animation-play-state running
    AppVue->>AppVue: onBeforeUnmount()
    AppVue->>AppVue: clearTimeout(logoPhaseTimer)
    AppVue->>AppVue: clearTimeout(logoExpandTimer)
Loading

File-Level Changes

Change Details Files
Replace the landing-page loader with a timed, multi-phase geometric logo animation that transitions into the page reveal.
  • Configure the wave loader duration to 2.6 seconds.
  • Drive first, next, and expand logo phases with mount timers and clean them up on unmount.
  • Render the loader logo as animated SVG rectangles and pause hero-title letter animations until the loader exits.
  • Update loader styling, colors, geometry, transitions, reduced-motion handling, and dark-mode background behavior.
docs/landing/src/App.vue
docs/landing/src/style.css
first.svg
next.svg
Remove the landing-page personalization demo and its associated navigation, localization, assets, and styling.
  • Delete the personalization navigation link and interactive preview section.
  • Remove wallpaper, color, toggle, object-URL, and reset logic from the app.
  • Delete personalization strings from all supported locales.
  • Remove the phone-frame asset and all personalization CSS, responsive rules, and animation references.
docs/landing/src/App.vue
docs/landing/src/i18n.js
docs/landing/src/style.css
docs/landing/public/images/phone-frame.svg

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

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

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="docs/landing/src/style.css" line_range="161" />
<code_context>
+  height: 100%;
+  animation: loaderMarkIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
+}
+.loader-mark-svg rect {
+  height: 100px;
+  rx: 50px;
+  transition:
+    x 0.7s cubic-bezier(0.16, 1, 0.3, 1),
+    y 0.7s cubic-bezier(0.16, 1, 0.3, 1),
+    width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
+    height 0.7s cubic-bezier(0.16, 1, 0.3, 1),
+    rx 0.7s cubic-bezier(0.16, 1, 0.3, 1),
+    fill 0.7s ease;
+}
+/* first 布局:白块 + 右上蓝块 + 底部浅色条(600×600 设计稿以中心平移而来) */
+.lm-white { x: calc(50% - 220px); y: calc(50% - 100px); width: 365px; height: 200px; fill: #f8f9fb; }
+.lm-blue { x: calc(50% + 20px); y: calc(50% - 220px); width: 200px; fill: #3477d3; }
+.lm-feeder { x: calc(50% - 260px); y: calc(50% + 160px); width: 520px; fill: #ecf5fb; }
</code_context>
<issue_to_address>
**issue (bug_risk):** The generic `.loader-mark-svg rect` rule has higher specificity than `.lm-white`, so its `height: 100px` overrides `.lm-white`'s declared `height: 200px`; the white logo block renders at half the intended height and the staged logo geometry is incorrect.

**Suggested fix:** Increase the class rule's specificity or move the shared rect defaults before the per-rectangle rules so `.lm-white { height: 200px; }` wins.

```suggestion
.loader-mark-svg .lm-white { x: calc(50% - 220px); y: calc(50% - 100px); width: 365px; height: 200px; fill: #f8f9fb; }
```
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: docs/landing/src/style.css:161


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

fill 0.7s ease;
}
/* first 布局:白块 + 右上蓝块 + 底部浅色条(600×600 设计稿以中心平移而来) */
.lm-white { x: calc(50% - 220px); y: calc(50% - 100px); width: 365px; height: 200px; fill: #f8f9fb; }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

issue (bug_risk): The generic .loader-mark-svg rect rule has higher specificity than .lm-white, so its height: 100px overrides .lm-white's declared height: 200px; the white logo block renders at half the intended height and the staged logo geometry is incorrect.

Suggested fix: Increase the class rule's specificity or move the shared rect defaults before the per-rectangle rules so .lm-white { height: 200px; } wins.

Suggested change
.lm-white { x: calc(50% - 220px); y: calc(50% - 100px); width: 365px; height: 200px; fill: #f8f9fb; }
.loader-mark-svg .lm-white { x: calc(50% - 220px); y: calc(50% - 100px); width: 365px; height: 200px; fill: #f8f9fb; }

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