Global Staff Calendar Portlet not Showing Next 5 Events

Bug #900335 reported by Nat Katin-Borland
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Balazs Ree

Bug Description

The Global Staff Calendar portlet on the office home page should be showing the next 5 events. Right now it does not seem to be refreshing properly. It is showing 5 events, but most of the events are already in the past. In order to give visibility to upcoming events, the portlet should start on today's date and show events moving forward. If there happen to be 5 events all on the same day, then that's what we should show. Check out the screenshot to see what I mean.

Tags: r3.81
Revision history for this message
Nat Katin-Borland (nborland) wrote :
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

If for some reason there aren't 5 events in the future, just show whatever is there, right?

Changed in karl3:
assignee: nobody → Nat Katin-Borland (nborland)
importance: Undecided → Medium
milestone: none → m84
Revision history for this message
Nat Katin-Borland (nborland) wrote : RE: [Bug 900335] Re: Global Staff Calendar Portlet not Showing Next 5 Events

Yep

--
Nathaniel Katin-Borland
Support Specialist
Knowledge Management Initiative
KARL Support Team

Open Society Foundations - New York Office
400 West 59th Street
New York, NY 10019
Email: <email address hidden>
Phone: 212-547-6984
http://www.soros.org/
http://www.karlproject.org

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Paul Everitt
Sent: Monday, December 05, 2011 10:56 AM
To: Nathaniel Katin-Borland
Subject: [Bug 900335] Re: Global Staff Calendar Portlet not Showing Next 5 Events

If for some reason there aren't 5 events in the future, just show whatever is there, right?

** Changed in: karl3
   Importance: Undecided => Medium

** Changed in: karl3
    Milestone: None => m84

** Changed in: karl3
     Assignee: (unassigned) => Nat Katin-Borland (nborland)

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/900335

Title:
  Global Staff Calendar Portlet not Showing Next 5 Events

Status in KARL3:
  New

Bug description:
  The Global Staff Calendar portlet on the office home page should be
  showing the next 5 events. Right now it does not seem to be
  refreshing properly. It is showing 5 events, but most of the events
  are already in the past. In order to give visibility to upcoming
  events, the portlet should start on today's date and show events
  moving forward. If there happen to be 5 events all on the same day,
  then that's what we should show. Check out the screenshot to see what
  I mean.

To manage notifications about this bug go to:
https://bugs.launchpad.net/karl3/+bug/900335/+subscriptions

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Over to Balazs...

Changed in karl3:
assignee: Nat Katin-Borland (nborland) → Balazs Ree (ree)
Revision history for this message
Robert Marianski (rmarianski) wrote :

I spoke with Nat about it, and we think that we came up with something that made sense.

What it's currently doing is taking today's time, and querying for end dates past it. And then, it's sorting on start date. So what can end up happening in the display, as illustrated in the screen shot, is that it looks like it is showing stale events for events that span multiple days.

We still think that this is reasonable behavior, specifically that showing events that are in progress and sorting on their start time is correct. But what we can do to make the list seem fresh is for the display of the date, take the max of today's date and the event's start date. That way, it doesn't appear to show anything stale. So if an event started on 11/28, and today is 12/6, the portlet would display 12/6.

Thoughts?

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 900335] Re: Global Staff Calendar Portlet not Showing Next 5 Events

Sounds good, I'll get it assigned. Thanks Robert!

--Paul

On Dec 6, 2011, at 4:07 PM, Robert Marianski wrote:

> I spoke with Nat about it, and we think that we came up with something
> that made sense.
>
> What it's currently doing is taking today's time, and querying for end
> dates past it. And then, it's sorting on start date. So what can end up
> happening in the display, as illustrated in the screen shot, is that it
> looks like it is showing stale events for events that span multiple
> days.
>
> We still think that this is reasonable behavior, specifically that
> showing events that are in progress and sorting on their start time is
> correct. But what we can do to make the list seem fresh is for the
> display of the date, take the max of today's date and the event's start
> date. That way, it doesn't appear to show anything stale. So if an event
> started on 11/28, and today is 12/6, the portlet would display 12/6.
>
> Thoughts?
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/900335
>
> Title:
> Global Staff Calendar Portlet not Showing Next 5 Events
>
> Status in KARL3:
> New
>
> Bug description:
> The Global Staff Calendar portlet on the office home page should be
> showing the next 5 events. Right now it does not seem to be
> refreshing properly. It is showing 5 events, but most of the events
> are already in the past. In order to give visibility to upcoming
> events, the portlet should start on today's date and show events
> moving forward. If there happen to be 5 events all on the same day,
> then that's what we should show. Check out the screenshot to see what
> I mean.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/900335/+subscriptions

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Balazs, I think Robert gave a good spec in comment #5. I think that change should be pretty easy to do.

Changed in karl3:
milestone: m84 → m85
Balazs Ree (ree)
Changed in karl3:
status: New → In Progress
Revision history for this message
Balazs Ree (ree) wrote :

Fixed on branch: ree-fix-calendar-portlet-next-five

Changed in karl3:
status: In Progress → Fix Committed
JimPGlenn (jpglenn09)
tags: added: r3.76
Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
Revision history for this message
Nat Katin-Borland (nborland) wrote :

Hi All,

This seems to be broken again. Events that are multi-day are supposed to have their date updated to reflect "today's" date, so users don't feel like they are seeing stale content. This isn't happening right now (see screenshot). Re-opening this ticket.

-Nat

Changed in karl3:
status: Fix Released → In Progress
Revision history for this message
Balazs Ree (ree) wrote : Re: [Bug 900335] Global Staff Calendar Portlet not Showing Next 5 Events

On Jan 26, 2012, at 9:47 PM, Nat Katin-Borland wrote:

> Hi All,
>
> This seems to be broken again. Events that are multi-day are supposed
> to have their date updated to reflect "today's" date, so users don't
> feel like they are seeing stale content. This isn't happening right now
> (see screenshot). Re-opening this ticket.

Ack: I will look at it

> -Nat
>
> ** Attachment added: "staff calendar portlet.JPG"
> https://bugs.launchpad.net/karl3/+bug/900335/+attachment/2695365/+files/staff%20calendar%20portlet.JPG
>
> ** Changed in: karl3
> Status: Fix Released => In Progress
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/900335
>
> Title:
> Global Staff Calendar Portlet not Showing Next 5 Events
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/900335/+subscriptions

Changed in karl3:
milestone: m85 → m89
Revision history for this message
Balazs Ree (ree) wrote :

Fix committed and pull requested. Please make sure this gets tested on staging! (branch1)

Changed in karl3:
status: In Progress → Fix Committed
JimPGlenn (jpglenn09)
tags: added: r3.81
removed: r3.76
Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.