Re: Debconf - adding "treeselect" type(s)?

2020-12-03 Thread Alper Nebi Yasak
On 03/12/2020 03:48, Steve McIntyre wrote: > Thomas Goirand wrote: >> Otherwise, what would be the way to describe a tree? > > I'm playing with ideas so far, let's see shortly. :-) I have an idea to do this without new types but I'm not sure how feasible/suitable it is. I'd define the template

Re: Debconf - adding "treeselect" type(s)?

2020-12-02 Thread Steve McIntyre
Thomas Goirand wrote: >On 11/29/20 11:37 PM, Timo Weingärtner wrote: >> >> Would checking "a" automatically also check "a/*"? >> Is it only about UI, meaning "a/*" would be collapsed under "a"? >> Shall it be possible to check "a", but uncheck "a/b"? >> >> Grüße >> Timo > >I very much agree

Re: Debconf - adding "treeselect" type(s)?

2020-12-02 Thread Steve McIntyre
Thomas Goirand wrote: >On 11/30/20 11:18 AM, Steve McIntyre wrote: >> I'm envisaging treating the Choices *mostly* like in an existing >> select/multiselect, but with extra decoration to indicate the position >> in the tree for display. It would then be up to the frontend to decode >> that and

Re: Debconf - adding "treeselect" type(s)?

2020-12-01 Thread Thomas Goirand
On 11/30/20 11:18 AM, Steve McIntyre wrote: > I'm envisaging treating the Choices *mostly* like in an existing > select/multiselect, but with extra decoration to indicate the position > in the tree for display. It would then be up to the frontend to decode > that and work out a sensible way to

Re: Debconf - adding "treeselect" type(s)?

2020-12-01 Thread Thomas Goirand
On 11/29/20 11:37 PM, Timo Weingärtner wrote: > What are the proposed semantics of this multitreeselect? > > If we imagine something like: > > [ ] a > [ ] a/b > [ ] a/c > [ ] b > [ ] b/a > > Would checking "a" automatically also check "a/*"? > Is it only about UI, meaning "a/*" would be

Re: Debconf - adding "treeselect" type(s)?

2020-12-01 Thread Steve McIntyre
Timo wrote: >-=-=-=-=-=- > >Hallo Steve McIntyre, > >30.11.20 16:36 Steve McIntyre: >> I'll admit that I'm thinking of this *mostly* in terms of the needs of >> tasksel so far, but I'd expect switching to a new template type is >> likely to need a rethink to make best use of them anyway. > >In my

Re: Debconf - adding "treeselect" type(s)?

2020-12-01 Thread Timo Weingärtner
Hallo Steve McIntyre, 30.11.20 16:36 Steve McIntyre: > I'll admit that I'm thinking of this *mostly* in terms of the needs of > tasksel so far, but I'd expect switching to a new template type is > likely to need a rethink to make best use of them anyway. In my mind there is also locales where we

Re: Debconf - adding "treeselect" type(s)?

2020-11-30 Thread Steve McIntyre
Colin Watson wrote: >On Mon, Nov 30, 2020 at 10:24:56AM +, Steve McIntyre wrote: >> Timo wrote: >> >What are the proposed semantics of this multitreeselect? >> > >> >If we imagine something like: >> > >> >[ ] a >> > [ ] a/b >> > [ ] a/c >> >[ ] b >> > [ ] b/a >> > >> >Would checking "a"

Re: Debconf - adding "treeselect" type(s)?

2020-11-30 Thread Colin Watson
On Mon, Nov 30, 2020 at 10:18:05AM +, Steve McIntyre wrote: > Colin Watson wrote: > >On Sun, Nov 29, 2020 at 07:21:54PM +, Steve McIntyre wrote: > >> AFAICS I'd need to add at least basic support for the new type(s) into > >> all the frontends that *can* support it. So, I have a couple of

Re: Debconf - adding "treeselect" type(s)?

2020-11-30 Thread Colin Watson
On Mon, Nov 30, 2020 at 10:24:56AM +, Steve McIntyre wrote: > Timo wrote: > >What are the proposed semantics of this multitreeselect? > > > >If we imagine something like: > > > >[ ] a > > [ ] a/b > > [ ] a/c > >[ ] b > > [ ] b/a > > > >Would checking "a" automatically also check "a/*"? >

Re: Debconf - adding "treeselect" type(s)?

2020-11-30 Thread Steve McIntyre
Colin Watson wrote: >On Sun, Nov 29, 2020 at 07:21:54PM +, Steve McIntyre wrote: >> On and off, I've been hacking on tasksel for quite a while to improve >> the UI there and add better support for things like Blends. I've made >> some progress in my hacking, but I think I've hit a brick wall

Re: Debconf - adding "treeselect" type(s)?

2020-11-30 Thread Steve McIntyre
Hi! Timo wrote: >29.11.20 20:21 Steve McIntyre: >> On and off, I've been hacking on tasksel for quite a while to improve >> the UI there and add better support for things like Blends. I've made >> some progress in my hacking, but I think I've hit a brick wall and I >> need to change tack. :-/ >>

Re: Debconf - adding "treeselect" type(s)?

2020-11-29 Thread Timo Weingärtner
Hallo Steve McIntyre, 29.11.20 20:21 Steve McIntyre: > On and off, I've been hacking on tasksel for quite a while to improve > the UI there and add better support for things like Blends. I've made > some progress in my hacking, but I think I've hit a brick wall and I > need to change tack. :-/ >

Re: Debconf - adding "treeselect" type(s)?

2020-11-29 Thread Colin Watson
On Sun, Nov 29, 2020 at 07:21:54PM +, Steve McIntyre wrote: > On and off, I've been hacking on tasksel for quite a while to improve > the UI there and add better support for things like Blends. I've made > some progress in my hacking, but I think I've hit a brick wall and I > need to change

Debconf - adding "treeselect" type(s)?

2020-11-29 Thread Steve McIntyre
Hey folks, On and off, I've been hacking on tasksel for quite a while to improve the UI there and add better support for things like Blends. I've made some progress in my hacking, but I think I've hit a brick wall and I need to change tack. :-/ What I've ended up doing so far is hacking tasksel