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

289/267: fix comments popover bug and improve ux #270

Merged
merged 2 commits into from
Jan 11, 2025

Conversation

lessej
Copy link
Collaborator

@lessej lessej commented Jan 10, 2025

Context

Fixes: tnc-ca-geo/animl-api#289, #261
Adds: #267

Fixes a bug which caused errors when editing comments to include no content. Instead, show the delete comment ui/ux similar to Slack.

Fixes bug which caused comments popover to stay open when changing images with keyboard.

Adds the 'confirm edit on enter' functionality that the new comments ui/ux has. New lines can be added with shift + enter.

Commits

  • feat: confirm comment edits using enter.
  • fix: when removing all content from comment, show delete comment ux

fix: when removing all content from comment, show delete comment ux
Copy link
Member

@nathanielrindlaub nathanielrindlaub left a comment

Choose a reason for hiding this comment

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

Looks great @lessej! Merging & deploying now.

@nathanielrindlaub nathanielrindlaub merged commit 6531efc into main Jan 11, 2025
2 checks passed
@nathanielrindlaub nathanielrindlaub deleted the fix/289-267-comments-improvements-and-fixes branch January 11, 2025 16:34
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.

Bug: updating comment with empty string throws error
2 participants