halo/ui/console-src/modules/contents/attachments/components
Ryan Wang bdbbbdf3af
Disable persistence of selected group and policy in attachment upload modal (#7738)
#### 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?

```release-note
在附件上传组件中取消所选分组和存储策略的持久化,默认选择为附件列表筛选条件相同的策略和分组。
```
2025-09-06 02:09:38 +00:00
..
selector-providers Disable persistence of selected group and policy in attachment upload modal (#7738) 2025-09-06 02:09:38 +00:00
AttachmentDetailModal.vue feat: add thumbnail records modal (#7630) 2025-07-22 13:54:18 +00:00
AttachmentError.vue feat: add support for video thumbnail preview in the attachment library (#6265) 2024-07-10 02:13:24 +00:00
AttachmentGroupBadge.vue chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
AttachmentGroupEditingModal.vue feat: add name existence check before creating attachment group and storage policy (#6959) 2024-10-30 03:30:38 +00:00
AttachmentGroupList.vue feat: add name existence check before creating attachment group and storage policy (#6959) 2024-10-30 03:30:38 +00:00
AttachmentListItem.vue fix: correct attachment selection state after new upload (#7487) 2025-05-30 10:10:28 +00:00
AttachmentLoading.vue feat: add support for video thumbnail preview in the attachment library (#6265) 2024-07-10 02:13:24 +00:00
AttachmentPoliciesModal.vue refactor: improve button component styles (#7517) 2025-06-09 15:38:34 +00:00
AttachmentPolicyBadge.vue refactor: improve ui/ux of attachment group and policy selector (#5996) 2024-05-27 08:30:57 +00:00
AttachmentPolicyEditingModal.vue refactor: update attachment policy form using new configMap API (#7531) 2025-06-10 09:58:35 +00:00
AttachmentSelectorModal.vue feat: enable asynchronous resolving for UI extension points (#6018) 2024-05-30 07:01:15 +00:00
AttachmentSingleThumbnailItem.vue feat: add thumbnail records modal (#7630) 2025-07-22 13:54:18 +00:00
AttachmentSingleThumbnailList.vue feat: add thumbnail records modal (#7630) 2025-07-22 13:54:18 +00:00
AttachmentThumbnailItem.vue feat: add thumbnail records modal (#7630) 2025-07-22 13:54:18 +00:00
AttachmentThumbnailsModal.vue feat: add thumbnail records modal (#7630) 2025-07-22 13:54:18 +00:00
AttachmentUploadModal.vue Disable persistence of selected group and policy in attachment upload modal (#7738) 2025-09-06 02:09:38 +00:00
DisplayNameEditForm.vue feat: support changing attachment display name (#6504) 2024-08-25 15:11:11 +00:00
UploadFromUrl.vue Disable persistence of selected group and policy in attachment upload modal (#7738) 2025-09-06 02:09:38 +00:00