the current way radical store items is a 2 dimension array. Nothing use the second dimension, so there is [1] everywhere in the code. The rational for this was that some menu need to be represented in 2D and radical.base is supposed to provide a complete abstraction that handle all use case. However, the grid menu show that having 2 dimension is [limited but] possible with 1 dimension. Adding the second dimension make the code more complicated and this is currently broken anyway. It was a mistake to add it in the first place.
I need to remove (of fix) it so I can implement abstract re-order / reflow support (have a pool of items, without order that can dynamically be added/moved/removed in batch). This is, in turn, necessary to port the tasklist and taglist to radical (yes, this is the hidden goal of most of the last ~30 commits).
the current way radical store items is a 2 dimension array. Nothing use the second dimension, so there is [1] everywhere in the code. The rational for this was that some menu need to be represented in 2D and radical.base is supposed to provide a complete abstraction that handle all use case. However, the grid menu show that having 2 dimension is [limited but] possible with 1 dimension. Adding the second dimension make the code more complicated and this is currently broken anyway. It was a mistake to add it in the first place.
I need to remove (of fix) it so I can implement abstract re-order / reflow support (have a pool of items, without order that can dynamically be added/moved/removed in batch). This is, in turn, necessary to port the tasklist and taglist to radical (yes, this is the hidden goal of most of the last ~30 commits).
This is an early warning, I will do it soon