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

Fix the bug that the emoji does not disappear #11489

Merged
merged 9 commits into from May 20, 2020
Merged

Fix the bug that the emoji does not disappear #11489

merged 9 commits into from May 20, 2020

Conversation

L0veSunshine
Copy link
Contributor

@L0veSunshine L0veSunshine commented May 18, 2020

Fixes #11036

When you add one emoji here. and then cancel this emoji. The emoji will not disapper until you fresh the page.(This only occur when there is only one emoji)
This bug is on https://try.gitea.io/ and https://gitea.com/. You can have a try. Click here!
image

@L0veSunshine L0veSunshine changed the title Fix the bug that the emoticon does not disappear Fix the bug that the emojy does not disappear May 18, 2020
@CirnoT
Copy link
Contributor

CirnoT commented May 18, 2020

Can you explain better what exactly does this fixes?

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 18, 2020
@L0veSunshine
Copy link
Contributor Author

L0veSunshine commented May 18, 2020

Can you explain better what exactly does this fixes?

React only one emoji and then unreact it. The emoji will not disappear. It should disappear.

@CirnoT
Copy link
Contributor

CirnoT commented May 18, 2020

For anyone wondering, the issue is that attempting to unreact when there's only one emoji left has no effect on UI

@L0veSunshine
Copy link
Contributor Author

L0veSunshine commented May 19, 2020

For anyone wondering, the issue is that attempting to unreact when there's only one emoji left has no effect on UI

Yes, that's what this pr fix.

@L0veSunshine L0veSunshine changed the title Fix the bug that the emojy does not disappear Fix the bug that the emoji does not disappear May 19, 2020
web_src/js/index.js Outdated Show resolved Hide resolved
Co-authored-by: Lauris BH <lauris@nix.lv>
web_src/js/index.js Outdated Show resolved Hide resolved
Co-authored-by: Lauris BH <lauris@nix.lv>
@lafriks lafriks added backport/v1.12 type/bug topic/ui Change the appearance of the Gitea UI labels May 19, 2020
@lafriks lafriks added this to the 1.13.0 milestone May 19, 2020
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels May 19, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 20, 2020
@techknowlogick
Copy link
Member

ping LG-TM

@techknowlogick techknowlogick merged commit b6d01cc into go-gitea:master May 20, 2020
@techknowlogick
Copy link
Member

@L0veSunshine please send backport to release/v1.12 :)

techknowlogick added a commit that referenced this pull request May 22, 2020
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
@zeripath zeripath added the backport/done All backports for this PR have been created label May 29, 2020
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
* Fix the bug that the emoticon does not disappear

* Update web_src/js/index.js

Co-authored-by: Lauris BH <lauris@nix.lv>

* Update web_src/js/index.js

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: zeripath <art27@cantab.net>
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reverting a reaction gives no feedback
7 participants