DescriptionHandles edge conditions for charm container
The charm container previously could end up in an awkward situation if the
cutoff was higher than the number of charms passed in. This addresses that
situation.
-Cutoff must be a nonnegative number
-The expander control only renders if there are extra charm tokens; in other
words, only renders if more charms are passed in than the cutoff.
-The expand event is only created and bound if the same condition is met.
-As a side effect, the container is now made safe if no charms are passed in
at all.
https://code.launchpad.net/~jcsackett/juju-gui/charm-container-cutoff-boundary/+merge/156839
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 9
Patch Set 2 : Handles edge conditions for charm container #
Total comments: 1
Patch Set 3 : Handles edge conditions for charm container #Patch Set 4 : Handles edge conditions for charm container #Patch Set 5 : Handles edge conditions for charm container #
MessagesTotal messages: 11
|