Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't hide cancel if edit timer runs out #1520

Merged
merged 3 commits into from
Nov 2, 2024
Merged

Don't hide cancel if edit timer runs out #1520

merged 3 commits into from
Nov 2, 2024

Conversation

ekzyis
Copy link
Member

@ekzyis ekzyis commented Oct 25, 2024

Description

This often happens to me: I am editing something and then the timer runs out. Now I am stuck with a comment in edit mode that I can't exit

This PR fixes that by showing cancel 00:00 when the timer runs out so one can still exit edit mode.

Additional context

an edgy amount of props drilling was required here

Checklist

Are your changes backwards compatible? Please answer below:

yes

On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:

6. I edited a comment and waited until the timer runs out. It still showed the option to cancel.

For frontend changes: Tested on mobile? Please answer below:

yes, no changes

Did you introduce any new environment variables? If so, call them out explicitly here:

no

@ekzyis ekzyis added the ux label Oct 25, 2024
@huumn huumn merged commit fd5f649 into master Nov 2, 2024
6 checks passed
@huumn huumn deleted the edit-ux branch November 2, 2024 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants