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

Multiple review textarea after comment code #12573

Closed
1 of 7 tasks
davidglezz opened this issue Aug 23, 2020 · 11 comments
Closed
1 of 7 tasks

Multiple review textarea after comment code #12573

davidglezz opened this issue Aug 23, 2020 · 11 comments
Labels

Comments

@davidglezz
Copy link

davidglezz commented Aug 23, 2020

  • Gitea version (or commit ref): 12.3 +
  • Git version:
  • Operating system: Ubuntu
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Adding or editing a code comment causes multiple textarea fields to appear in the review button popover.

Screenshots

image

@zeripath
Copy link
Contributor

zeripath commented Oct 5, 2020

does this still occur on 1.12.5? I'm fairly certain I've already fixed this.

@davidglezz
Copy link
Author

Sorry, the problem stills in 1.12.5.
Adding comments seems to work fine, but editing one shows that the problem is still present.

@zeripath
Copy link
Contributor

zeripath commented Oct 5, 2020

Can you get it to occur on try?

zeripath added a commit to zeripath/gitea that referenced this issue Oct 5, 2020
go-gitea#11141 broke the appearance of dropzone attachments when editting
comments causing poorly updating lists.

This PR fixes this.

Fix go-gitea#12573

Signed-off-by: Andrew Thornton <art27@cantab.net>
@davidglezz
Copy link
Author

I have never compiled gitea, is there any way, for example with a docker, to compile without having to install all the tools?
https://docs.gitea.io/en-us/install-from-source/

@lunny lunny added the type/bug label Oct 6, 2020
@zeripath
Copy link
Contributor

zeripath commented Oct 6, 2020

Oh actually thinking on I think the attached pr is likely fixing a different problem... your problem appears to be in the review comment box on the files page of a pr right?

In terms of compiling Gitea - unfortunately you'd need to install the tools. Were you thinking of compiling on doze?

@davidglezz
Copy link
Author

Oh actually thinking on I think the attached pr is likely fixing a different problem... your problem appears to be in the review comment box on the files page of a pr right?

Yes

@zeripath
Copy link
Contributor

zeripath commented Oct 6, 2020

Can you tell me exactly how to replicate on try.gitea.io ? I'm struggling to replicate this.

@davidglezz
Copy link
Author

Cant reproduce in Gitea Version: 1.13.0+dev-737-gc584364b9
https://try.gitea.io/davidglezz2/issue-12573/

@davidglezz
Copy link
Author

But the problem may not appear because a javascript error occurs when saving or canceling the comment edition.
image

zeripath added a commit to zeripath/gitea that referenced this issue Oct 6, 2020
Signed-off-by: Andrew Thornton <art27@cantab.net>
@zeripath
Copy link
Contributor

zeripath commented Oct 6, 2020

OK the emit error appears to be another issue with dropzone that's quite easy to fix and I've copied it in to #13036

@wxiaoguang
Copy link
Contributor

Outdated

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants