Skip to content

fix: register the user notice for Greeter account entry - #482

Merged
52cyb merged 1 commit into
linuxdeepin:release/2500u2-pajilfrom
52cyb:fix/384345-user-notice-2500u2-pajil
Nov 27, 2026
Merged

52cyb merged 1 commit into
linuxdeepin:release/2500u2-pajilfrom
52cyb:fix/384345-user-notice-2500u2-pajil

Conversation

@52cyb

@52cyb 52cyb commented Nov 27, 2026 •

Copy link
Copy Markdown

改动

将现有用户须知配置同时安装到 launch.conf.d 和 account-entry.conf.d。新建 Greeter 继续用前者,复用 Greeter 和 Greeter 内切换用户可通过后者运行同一份须知检查脚本和全屏程序。

验证

  • dde-user-notice 构建通过。
  • 用同一份配置验证两个任务选择入口,检查通过时选中须知,检查未通过时跳过。

PMS: BUG-384345

Summary by Sourcery

Bug Fixes:

  • Register the user notice configuration for Greeter account-entry flows so the notice check also runs when switching users within Greeter.

1. Install the existing user notice task in the account entry registry.
2. Keep the startup registration for newly launched Greeter sessions.
3. Share the notice checker and full-screen launcher across both paths.

Log: Make the user notice available before Greeter account entry.

Influence:
1. Verify installation into both Greeter task directories.
2. Check the notice on a new Greeter and when returning to an existing one.
3. Check that disabling the notice skips it in both paths.

fix: 为 Greeter 账号输入注册用户须知

1. 将现有用户须知任务安装到账号输入任务目录。
2. 保留新 Greeter 使用的启动任务注册。
3. 两个入口共用同一个须知检查脚本和全屏启动程序。

Influence:
1. 验证同一份任务配置安装到两个任务目录。
2. 验证新建和复用 Greeter 都能触发须知。
3. 验证关闭须知后两个入口都能直接进入登录流程。

Log: 账号输入流程可使用现有的用户须知任务。
PMS: BUG-384345
@sourcery-ai

sourcery-ai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Install the existing Greeter notice configuration in the account-entry task directory while retaining its launch-time registration, so both Greeter entry paths use the same notice task.

  • dde-user-notice/CMakeLists.txt L34-35

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 reviewed your changes and they look great!


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

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 52cyb, yixinshark

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@52cyb
52cyb merged commit 83e7709 into linuxdeepin:release/2500u2-pajil Nov 27, 2026
17 checks passed
@52cyb
52cyb deleted the fix/384345-user-notice-2500u2-pajil branch November 27, 2026 07:21
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.

3 participants