Skip to content

Conversation

@terrerox
Copy link
Contributor

@terrerox terrerox commented Jan 6, 2026

Description

Implement an informational modal that notifies users about the new automatic trash disposal
feature. The dialog displays tier-based retention periods (1 day for free users, 7 days for
essential, 14 days for premium, and 30 days for ultimate users).

  • Create AutomaticTrashDisposalDialog component with responsive dark mode styling
  • Add UI state management for dialog visibility
  • Display modal only to existing users (excludes new signups)
  • Add translation keys for dialog content
  • Integrate dialog into Trash view with proper state handling

Related Issues

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

Additional Notes

  Implement an informational modal that notifies users about the new automatic trash disposal
  feature. The dialog displays tier-based retention periods (1 day for free users, 7 days for
  essential, 14 days for premium, and 30 days for ultimate users).

  - Create AutomaticTrashDisposalDialog component with responsive dark mode styling
  - Add UI state management for dialog visibility
  - Display modal only to existing users (excludes new signups)
  - Add translation keys for dialog content
  - Integrate dialog into Trash view with proper state handling
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 6, 2026

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: a0e8e93
Status: ✅  Deploy successful!
Preview URL: https://977282ab.drive-web.pages.dev
Branch Preview URL: https://feature-automatic-trash-disp.drive-web.pages.dev

View logs

@terrerox terrerox self-assigned this Jan 7, 2026
import { userSelectors } from 'app/store/slices/user';
import localStorageService from 'services/local-storage.service';

const HAS_SEEN_TRASH_DISPOSAL_DIALOG_KEY = 'hasSeenTrashDisposalDialog';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Better to add the key with the rest of local storage ones

@terrerox terrerox requested a review from CandelR January 9, 2026 04:28
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 9, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

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