Ticket #1216 (new enhancement)

Opened 14 years ago

Last modified 14 years ago

We need a way to distinguished events' ownership (colors ?)

Reported by: ogrisel Owned by: lregebro
Priority: P2 Milestone: CPS 3.5.7
Component: CalZope Version: TRUNK
Severity: normal Keywords: UI event display
Cc:

Description

On the month/week/day views, you can display other's people events. However, there is no way to guess which events are mine or Bob's or Alice's.

We need add additional CSS classes to add visual hints on event ownership.

Here is a 3 parts proposal:

  1. tag event markup with a new CSS class attribute:
    • class="user1" on my events
    • class="user2" on Alice's events
    • class="user3" on Bob's events
  2. add a legend at the bottom of the calendar view reusing the same class names + users' names:
    <p>Legend:</p>
    <p class="user1">My events</p>
    <p class="user2">Alice's events</p>
    <p class="user3">Bob's events</p>
    
  3. add some default "background-color" based CSS style to the stylesheet for classes 'user1' to 'user10' for instance (more than 10 users on the same calendar view would be unreadable anyway).

Problem: background-colors are already used to display wether an event is public/private/meeting. This is also done through the use of a set of semantic CSS classes. I don't know wheter we should use background-colors to display event ownership or event privacy status (like public/private/meeting).

Note: this is just a matter of default CSS stylesheet: we tag events with both types of classes and choose at the CSS level whether we want to display event ownership or event privacy status.

Or maybe we should find some way to let the user decide what kind of visual hint she wants to display.

Change History

comment:1 Changed 14 years ago by fguillaume

  • Milestone changed from CPS 3.4.0 to CPS 3.4.1

comment:2 Changed 14 years ago by lregebro

I'm not at all convinced there should be a difference.

  1. There is no reasonable way to distinguish bobs and alices events.
  2. This function is used mostly to create "group" calendars where all events from X users are shown. All events is then "somebody elses".

comment:3 Changed 14 years ago by lregebro

  • Milestone changed from CPS 3.4.1 to CPS 3.5.0

I'd like to close this, as I don't see the use case, or how it should be implemented in a consistent way.

Note: See TracTickets for help on using tickets.