Skip to content

Enhanced Home View with Swipe Actions, Challenge Badges and Smart controls Badges#961

Open
NihalDR wants to merge 80 commits into
CCExtractor:mainfrom
NihalDR:UI-Swipe-Actions
Open

Enhanced Home View with Swipe Actions, Challenge Badges and Smart controls Badges#961
NihalDR wants to merge 80 commits into
CCExtractor:mainfrom
NihalDR:UI-Swipe-Actions

Conversation

@NihalDR

@NihalDR NihalDR commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Description

Enhanced the Home screen alarm list by introducing modern swipe interactions, improving the visual representation of alarm challenges, and adding quick actions for editing, duplicating, and previewing alarms. These changes improve usability while keeping alarm management more intuitive and consistent with Material Design patterns.

Proposed Changes

  • Added Dismissible swipe actions for alarm cards:

    • Left-to-right swipe (startToEnd) opens a bottom sheet with:

      • Edit Alarm
      • Duplicate Alarm
      • Preview Alarm
    • Right-to-left swipe (endToStart) displays a Delete action with a confirmation dialog.

  • Added a reusable _buildSwipeBackground() helper for consistent swipe action backgrounds.

  • Replaced inline challenge icons with visually enhanced challenge badges using _buildChallengeBadges() and _ChallengeBadge.

  • Assigned distinct colors and icons for each challenge type:

    • Math – Green
    • Steps – Teal
    • Shake – Red
    • QR – Purple
    • Location – Blue
    • Weather – Light Blue
    • Guardian – Pink
    • Shared – Primary color
  • Added tooltips to challenge badges for improved accessibility and feature identification.

  • Used Wrap to automatically arrange challenge badges across multiple lines when needed.

  • Implemented alarm duplication functionality:

    • Generates a new UUID.
    • Creates a complete copy of the alarm.
    • Appends "(Copy)" to the alarm title.
    • Resets isSharedAlarmEnabled to false.
    • Clears sharedUserIds and mutexLock so the duplicated alarm remains local.
  • Improved the overall Home screen experience with cleaner interactions and better visual feedback.

Rijuth Menon and others added 30 commits April 14, 2025 21:49
…l widget errors, and resolve overflow issues
SQLite Database Schema Migration for Alarm Clock App
Resolved merge conflicts between shared alarm functionality and system ringtones:
- Combined shared alarm features with system ringtone support
- Merged MainActivity.kt with both shared alarm methods and system ringtone methods
- Integrated time input controllers with shared alarm functionality
- Preserved both notification systems and audio management
- Fixed all import conflicts and maintained backward compatibility

Features merged:
✅ Shared alarm functionality with push notifications
✅ System ringtone selection and playback
✅ Max snooze count settings
✅ Time input controllers
✅ Guardian angel improvements
✅ Audio focus management
✅ Controller lifecycle improvements
…ed alarm functionality

- Combined negative condition alarm logic (4 activity condition types) with shared alarm system
- Updated database schema to version 3 with activityConditionType and weatherConditionType columns
- Enhanced AlarmReceiver to support both shared and local alarms with proper logging
- Updated BootReceiver with shared alarm rescheduling after boot
- Modified MainActivity with proper alarm cancellation logic preserving dual alarm types
- Fixed database providers to support both Firestore (shared) and SQLite (local) storage
- Integrated AlarmUtils.scheduleAlarm calls throughout the system
- Fixed snooze button instantly closing when duration is 0
- Added default 5-minute snooze when snoozeDuration is 0 or unset
- Enhanced debug logs UI with improved cards and filtering
- Added sunrise alarm effect widget for visual wake-up experience
- Improved alarm ring controller with better error handling
- Enhanced shared alarm functionality and location/weather conditions
vibhutomer and others added 30 commits April 28, 2026 22:01
…tor#915)

Fixes CCExtractor#914

- Removed duplicate import of debug_view.dart
- Removed unused import of DebugController
- Resolves analyzer warnings that fail CI
* Implement a graceful UI fallback when system ringtones are unavailable on iOS

* fix(android): remove null-unsafe unwraps in location/weather services

Resolve crash-prone null assertions in LocationFetcherService and WeatherFetcherService with guarded parsing, logging, and graceful exits.\n\nCloses CCExtractor#931

* fix(android): make foreground start API-safe for minSdk 24

Use SDK-gated foreground service startup to avoid 3-arg startForeground on older Android versions.\n\nRefs CCExtractor#933
…tractor#926)

* Implement a graceful UI fallback when system ringtones are unavailable on iOS

* Update alarm_challenge_controller.dart

* Update share_dialog.dart

* Fix email validation regex in share_dialog.dart

* docs: reflect support for subdomains and hyphens in shared emails
* fix: Stopped the laggy UI animation everytime the app is rebuilt

* fix: Used confirmDismiss instead of ondismissed which prevents unnecessary rebuilds and error

* fix: prevents default animation for when multipleSelected mode is true
…CCExtractor#833)

* Stage 1: Added alarmDate parameter to timeUntilAlarm

* Updated  and  Controller

* Done
Co-authored-by: Kush Choudhary <kushchoudhary@Kushs-MacBook-Pro.local>
…actor#940)

* feat(world-clock): add visible remove action for added clocks

* Enhance Shared Alarm System to Support Full Alarm Feature Set

- Extend shared alarm payload to include full alarm configuration and payload versioning

- Reconstruct accepted alarms from full payload with backward-compatible fallback

- Improve notification UI with time, label, and repeat schedule details

- Add robust deserialization defaults for legacy/partial payloads

- Add tests for serialization compatibility and notification payload parsing

Refs CCExtractor#939

* Delete test/shared_alarm_payload_test.dart
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.

10 participants