Spacebrew / spacebrew

A dynamic re-routable software toolkit for choreographing interactive spaces.
MIT License
222 stars 47 forks source link

change 'number' to 'range' in redesigned admin #15

Closed quinkennedy closed 12 years ago

quinkennedy commented 12 years ago

or really, remove the casting from one type to another, and just display the type raw. if the type doesn't match Boolean, Range, or String, then we should show the type but not a custom anchor color.

ericie commented 12 years ago

Are you planning to differentiate between Ints and Floats? Or just have one number type?

On Oct 3, 2012, at 11:05 PM, quinkennedy notifications@github.com wrote:

or really, remove the casting from one type to another, and just display the type raw. if the type doesn't match Boolean, Range, or String, then we should show the type but not a custom anchor color.

— Reply to this email directly or view it on GitHub.

quinkennedy commented 12 years ago

Josh and James have been defining range as "a number between 0 and 1023 (inclusive)." Josh had noted that the Server currently does not force you to use only those 3 "approved" types, so maybe the admin shouldn't force that either, it will just look prettier if you use one of the 3 supported types.

or, crazy stretch goal, use an algorithm to generate the color for whatever type is specified, so any new crazy type someone comes up with (such as "Binary_butWithALisp") will get hashed to a color.

quinkennedy commented 12 years ago

to clarify: "an integer between 0 and 1023 (inclusive)"

quinkennedy commented 12 years ago

no more translation. all non-supported types appear with black anchor