Skip to content

Storage Analyzer: Improve UX for exclusion creation and selection - #1791

Merged
d4rken merged 2 commits into
mainfrom
analyzer-top-level-exclusions
May 27, 2025
Merged

Storage Analyzer: Improve UX for exclusion creation and selection#1791
d4rken merged 2 commits into
mainfrom
analyzer-top-level-exclusions

Conversation

@d4rken

@d4rken d4rken commented May 18, 2025

Copy link
Copy Markdown
Member
  • Always enable selection for all items, regardless of accessibility.
  • Disable "Delete" and "Create Filter" actions in the CAB menu if any selected item is inaccessible.
  • When a single item is excluded, the "View" action in the Snackbar now directly opens the created exclusion instead of navigating to the general exclusions list.
  • Refactored event handling for exclusion creation to pass the affected content items, enabling more specific UI updates.

Implements #1643

Draft: Check #1644 and #1645

@d4rken d4rken added enhancement New feature, request, improvement or optimization c: StorageAnalyzer labels May 18, 2025
- Always enable selection for all items, regardless of accessibility.
- Disable "Delete" and "Create Filter" actions in the CAB menu if any selected item is inaccessible.
- When a single item is excluded, the "View" action in the Snackbar now directly opens the created exclusion instead of navigating to the general exclusions list.
- Refactored event handling for exclusion creation to pass the affected content items, enabling more specific UI updates.

Implements #1643
@d4rken
d4rken force-pushed the analyzer-top-level-exclusions branch from 0fe8828 to 924e0cc Compare May 26, 2025 04:05
Refactored `keepResourceHoldersAlive` and `keepResourcesAlive` to accept varargs instead of collections for `SharedResource` and `HasSharedResource` respectively. This simplifies callsites by removing the need to create explicit collections.

Additionally, introduced a new `Collection<T>.useRes` extension function for more concise handling of multiple `SharedResource` instances within a block.
@d4rken
d4rken force-pushed the analyzer-top-level-exclusions branch from ab39c0c to aa5ad2e Compare May 27, 2025 18:22
@d4rken
d4rken marked this pull request as ready for review May 27, 2025 18:47
@d4rken
d4rken merged commit 97950a6 into main May 27, 2025
@d4rken
d4rken deleted the analyzer-top-level-exclusions branch May 27, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: StorageAnalyzer enhancement New feature, request, improvement or optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant