Skip to content

Conversation

@ruibaby
Copy link
Member

@ruibaby ruibaby commented Sep 5, 2025

What type of PR is this?

/area ui
/kind improvement
/milestone 2.21.x

What this PR does / why we need it:

In the attachment upload modal, we previously persisted the user’s selected storage policy and group to make future uploads more convenient. However, this overlooked a common usage scenario—users often apply filters for storage policy and group in the attachment list before uploading. Persisting those previous selections could then conflict with the current filters and cause confusion. This PR removes the persistence of selected group and storage policy to avoid such mismatches.

Which issue(s) this PR fixes:

Fixes #7713

Does this PR introduce a user-facing change?

在附件上传组件中取消所选分组和存储策略的持久化,默认选择为附件列表筛选条件相同的策略和分组。

@f2c-ci-robot f2c-ci-robot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. area/ui Issues or PRs related to the Halo UI labels Sep 5, 2025
@f2c-ci-robot f2c-ci-robot bot added this to the 2.21.x milestone Sep 5, 2025
@f2c-ci-robot f2c-ci-robot bot added the kind/improvement Categorizes issue or PR as related to a improvement. label Sep 5, 2025
@f2c-ci-robot f2c-ci-robot bot requested review from LIlGG and guqing September 5, 2025 10:07
@codecov
Copy link

codecov bot commented Sep 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.51%. Comparing base (42c374d) to head (037a200).
⚠️ Report is 143 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7738      +/-   ##
============================================
- Coverage     59.55%   59.51%   -0.04%     
+ Complexity     3812     3808       -4     
============================================
  Files           677      678       +1     
  Lines         23248    23280      +32     
  Branches       1500     1503       +3     
============================================
+ Hits          13846    13856      +10     
- Misses         8764     8776      +12     
- Partials        638      648      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 5, 2025

Copy link
Member

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

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

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Sep 6, 2025
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Sep 6, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang

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

The pull request process is described here

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

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 6, 2025
@f2c-ci-robot f2c-ci-robot bot merged commit bdbbbdf into halo-dev:main Sep 6, 2025
9 checks passed
@ruibaby ruibaby deleted the refactor/upload-modal branch September 23, 2025 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/ui Issues or PRs related to the Halo UI kind/improvement Categorizes issue or PR as related to a improvement. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

史诗级建议!附件上传那里,一个非常影响体验的地方!

2 participants