[dev] event/note/task/etc. categories/labels

Jan Schneider jan at horde.org
Thu May 13 09:06:22 PDT 2004


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Chuck Hagenbuch <chuck at horde.org>:
>
>> What I'm leaning towards now is changing all of our apps that use 
>> this code to
>> simply accept text labels for events (probably giving up on the 
>> dropdown list,
>> though we can just store a list of labels on a per-user basis, too), 
>> instead of storing a number in the backend.
>
> Jan and I came up with the following on IRC:
>
> - we'll store categories as text in the event/task/etc. records
> - users will have a list of categories (global to all of Horde) in their
> prefernces.
> - shares will also have a list of categories, which comprises the list of all
> categories assigned to objects in that share.
> - users personal lists will be updated with any categories assigned to shares
> they access, to allow them to set colors on them.

And vice versa. As soon as a user assigns a label from his personal list to
a shared object, this label will be added to the share's labels. (Of
course, otherwise other users won't see this label ;-))

>> Then, we can maintain colors on a per-user basis, and just keep 
>> those in prefs, so that each user has their own color scheme 
>> completely independant of other users, even for viewing the same 
>> calendar.
>
> This will stay the same - colors would be completely personal.
>
> If we agree on this, my first step will be to update apps to store
> categories as
> text, instead of numbers.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the dev mailing list