Make check boxes clickable in issues #3406

Closed
opened 2025-11-02 05:11:58 -06:00 by GiteaMirror · 12 comments
Owner

Originally created by @troygeiger on GitHub (Jun 1, 2019).

  • Gitea version (or commit ref):1.8.2
  • Git version:
  • Operating system:All
  • 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

Would it be possible to have the check boxes clickable in issues where the user is assigned or has permission to edit; like the functionality in GitHub?
...

Screenshots

Originally created by @troygeiger on GitHub (Jun 1, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref):1.8.2 - Git version: - Operating system:All - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [X] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [X] Not relevant - Log gist: ## Description Would it be possible to have the check boxes clickable in issues where the user is assigned or has permission to edit; like the functionality in GitHub? ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/bountyissue/confirmedtype/enhancement labels 2025-11-02 05:11:58 -06:00
Author
Owner

@stale[bot] commented on GitHub (Jul 31, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jul 31, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@cuzzea commented on GitHub (Nov 21, 2019):

Any update on this? Would love to see it on.

@cuzzea commented on GitHub (Nov 21, 2019): Any update on this? Would love to see it on.
Author
Owner

@lunny commented on GitHub (Nov 21, 2019):

Noboy are working on this.

@lunny commented on GitHub (Nov 21, 2019): Noboy are working on this.
Author
Owner

@lordyavin commented on GitHub (Apr 28, 2020):

It is a pain the ass to edit a comment to check thing from a todo list. Please schedule this issue for the next milestones.

@lordyavin commented on GitHub (Apr 28, 2020): It is a pain the ass to edit a comment to check thing from a todo list. Please schedule this issue for the next milestones.
Author
Owner

@zeripath commented on GitHub (Apr 30, 2020):

This is actually the kind of issue that a small bounty might be able to spur development on.

@zeripath commented on GitHub (Apr 30, 2020): This is actually the kind of issue that a small bounty might be able to spur development on.
Author
Owner

@davidak commented on GitHub (Jun 7, 2020):

It's even worse. You can check boxes after you edited the comment, but it's lost when you reload the page. I would consider that a bug.

https://peertube.social/videos/watch/4be6219e-059d-4650-92cf-f0411f343b47

@davidak commented on GitHub (Jun 7, 2020): It's even worse. You _can_ check boxes **after** you edited the comment, but it's lost when you reload the page. I would consider that a bug. https://peertube.social/videos/watch/4be6219e-059d-4650-92cf-f0411f343b47
Author
Owner

@zeripath commented on GitHub (Jun 7, 2020):

PRs are welcome.

@zeripath commented on GitHub (Jun 7, 2020): PRs are welcome.
Author
Owner

@viceice commented on GitHub (Jan 12, 2021):

I've written a small greasemonkey / tampermonkey script to make gitea checkboxes clickable, see https://github.com/viceice/UserScripts/blob/master/gitea.cb.helper.js 🙃

@viceice commented on GitHub (Jan 12, 2021): I've written a small greasemonkey / tampermonkey script to make gitea checkboxes clickable, see https://github.com/viceice/UserScripts/blob/master/gitea.cb.helper.js 🙃
Author
Owner

@j2L4e commented on GitHub (Jan 12, 2021):

There's a PR in the making.

A proper implementation needs a prop on the checkbox that states its position in the raw text. This needs to be done on the go side of things. As I haven't written a single line of go in my life and am, frankly, unwilling to dig into it right now, I'd highly appreciate if someone could do it for me so I can take care of the remaining JS stuff.

from https://github.com/go-gitea/gitea/pull/14258#discussion_r552540733:

Does attaching a data-raw-position-start prop to the rendered checkboxes seem feasible to you? Somewhere around here?
https://github.com/go-gitea/gitea/blob/master/modules/markup/markdown/goldmark.go#L359
I'd expect the AST node to hold information about its origin (i.e. position in raw text)

If all checkboxes have that info attached replacing them becomes trivial and avoids brittle client-side parsing shenanigans.

@j2L4e commented on GitHub (Jan 12, 2021): There's a PR in the making. A proper implementation needs a prop on the checkbox that states its position in the raw text. This needs to be done on the go side of things. As I haven't written a single line of go in my life and am, frankly, unwilling to dig into it right now, I'd highly appreciate if someone could do it for me so I can take care of the remaining JS stuff. from https://github.com/go-gitea/gitea/pull/14258#discussion_r552540733: > Does attaching a data-raw-position-start prop to the rendered checkboxes seem feasible to you? Somewhere around here? https://github.com/go-gitea/gitea/blob/master/modules/markup/markdown/goldmark.go#L359 I'd expect the AST node to hold information about its origin (i.e. position in raw text) > If all checkboxes have that info attached replacing them becomes trivial and avoids brittle client-side parsing shenanigans.
Author
Owner

@viceice commented on GitHub (Jan 12, 2021):

@j2L4e I saw the pr after i finished my script 😅

@viceice commented on GitHub (Jan 12, 2021): @j2L4e I saw the pr after i finished my script 😅
Author
Owner

@silverwind commented on GitHub (Apr 13, 2021):

Github also allows to re-order task list items through a small drag handle on the left. I think this is also something we could implement via the sortablejs dependency that is already present.

@silverwind commented on GitHub (Apr 13, 2021): Github also allows to re-order task list items through a small drag handle on the left. I think this is also something we could implement via the `sortablejs` dependency that is already present.
Author
Owner

@kdumontnu commented on GitHub (Apr 29, 2021):

Bounty added! Bountysource

If you'd like to promote this, please add

[![Bountysource](https://api.bountysource.com/badge/issue?issue_id=74933799)](https://www.bountysource.com/issues/74933799-make-check-boxes-clickable-in-issues)

To the Issue summary

@kdumontnu commented on GitHub (Apr 29, 2021): Bounty added! [![Bountysource](https://api.bountysource.com/badge/issue?issue_id=74933799)](https://www.bountysource.com/issues/74933799-make-check-boxes-clickable-in-issues) If you'd like to promote this, please add ``` [![Bountysource](https://api.bountysource.com/badge/issue?issue_id=74933799)](https://www.bountysource.com/issues/74933799-make-check-boxes-clickable-in-issues) ``` To the Issue summary
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3406