~sircmpwn/todo.sr.ht#8: Implement transferring tickets to other boards

Status
REPORTED
Submitter
~sircmpwn
Assigned to
No-one
Submitted
1 year, 11 months ago
Updated
6 months ago
Labels
No labels applied.

~sircmpwn 1 year, 8 months ago

via grayhatter:

I'm thinking something like moving the resolve button and select to the bottom of the details column. then adding a 2nd row for moving tickets.

Something like:

[resolve btn] [resolve reasons dropdown]

[move up btn] [parent board + indented sister boards dropdown]

[move down btn] [child board dropdowns]

My thoughts: I like grouping the comment and resolve buttons and dropdown together with the comment textarea. Because you can comment and resolve in the same action, I like that they are organizationally linked.

Regarding the option to move up or down, I don't like it. You should be able to move tickets anywhere (say that the bug is in a dependency, not you, for example). I'd rather have a textbox with the target tracker name. Bonus: if JavaScript is enabled, make it autocomplete.

~grayhatter 1 year, 2 months ago

how do you feel about jquery?

~sircmpwn 1 year, 2 months ago

Is this a joke?

~grayhatter 1 year, 2 months ago

I'd rather have a textbox with the target tracker name. Bonus: if JavaScript is enabled, make it autocomplete.

Say the bug is in an upstream repo (debian's bugzilla for example) should the textbox be a URI which could then then be polled to keep this issue up to date? when ever todo.sr.ht detects a change, this ticket would then get updated, and fire off set notifications?

~grayhatter 1 year, 2 months ago

Not a joke, autocomplete isn't trivial. So rather than add a huge list of js dependencies to the sr.ht suite, one for each minor feature. I'd like to know if you'd rather include jQuery, which is a nice framework that includes most of the JS needs.

~sircmpwn 1 year, 2 months ago

Let's do this one step at a time. First the ticket move feature, and a separate ticket for autocompletion.

~singpolyma 6 months ago

Autocomplete can be done without any JavaScript at all: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist

~sircmpwn 6 months ago

Aye, we use datalist today for autocompleting assignees. We pre-populate it with a list of people you've interacted with recently, then if JavaScript is enabled we use XHR-driven autocompletion for all users. Something similar is called for here.