Skip to content

fix: deletion UI consistency fixed#872

Open
devxdebanjan wants to merge 2 commits intoCCExtractor:mainfrom
devxdebanjan:deletion-ui-consistency
Open

fix: deletion UI consistency fixed#872
devxdebanjan wants to merge 2 commits intoCCExtractor:mainfrom
devxdebanjan:deletion-ui-consistency

Conversation

@devxdebanjan
Copy link
Copy Markdown
Contributor

Description

Whenever an alarm is longpressed, the app goes into deletion mode. This deletion mode however shows the alarm separation getting wider with significant frame drops at times making it laggy and inconsistent. This PR fixes that.

Proposed Changes

  • Instead of Animated Container, use a simple widget which does not have to change margins.

Fixes #871

This issue is fixed and addressed by this PR. However, please let me know if you want some animation inside the alarm card itself, which will make it both consistent and less sudden for going into Deletion mode from Normal mode.

Screenshots

A Screen Recording for after the fix:

fix.mp4

Checklist

  • Tests have been added or updated to cover the changes
  • Documentation has been updated to reflect the changes
  • Code follows the established coding style guidelines
  • All tests are passing

@devxdebanjan devxdebanjan changed the title Deletion UI consistency fixed fix: deletion UI consistency fixed Mar 10, 2026
@MarkisDev
Copy link
Copy Markdown
Member

ideally, we'd like a smooth experience so some animation makes more sense than a sudden change.

@MarkisDev MarkisDev added the enhancement New feature or request label Apr 19, 2026
@devxdebanjan
Copy link
Copy Markdown
Contributor Author

devxdebanjan commented Apr 20, 2026

The animation that was currently in use was not consistent as the alarm tabs would move down once it entered the deletion mode. This would affect much more as the number of alarms, in the list above the alarm being selected, increases. So if an animation has to be in place, instead of shifting tabs vertically we have to either shrink or make a bounce effect horizontally or add component animation into the tab (like the alarm toggle button turns into a radio button) so that the tab places are fixed. What do you prefer between these? Or is there any other animation better suited?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: On Long Press the Deletion UI is opened which is not consistent with the previous normal screen

2 participants