Hide Non working Hours

106 views
Skip to first unread message

Harold Alexander

unread,
Jun 16, 2012, 12:28:45 PM6/16/12
to gwt...@googlegroups.com

Can anyone help me with hiding the non working hours on gwt-cal. I tried using setworkinghours and setoffsethourlabels and neither worked. I would like to display only the hours from 7am to 7pm without any other hours appearing on the calendar at all. Any help would be appreciated.

Carlos Tasada

unread,
Jun 16, 2012, 12:44:39 PM6/16/12
to gwt...@googlegroups.com
Hi Harold,

There's already an open issue with the same request. 
I was planning to add this feature for the next version. I estimate to have this change ready before August

Regards,
Carlos

On 16/06/2012, at 18:30, Harold Alexander <har...@alexandersoftware.net> wrote:

Can anyone help me with hiding the non working hours on gwt-cal. I tried using setworkinghours and setoffsethourlabels and neither worked. I would like to display only the hours from 7am to 7pm without any other hours appearing on the calendar at all. Any help would be appreciated.

--
You received this message because you are subscribed to the Google Groups "gwt-cal" group.
To post to this group, send email to gwt...@googlegroups.com.
To unsubscribe from this group, send email to gwt-cal+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwt-cal?hl=en.

MEsyM

unread,
Aug 20, 2012, 3:37:05 AM8/20/12
to gwt...@googlegroups.com
Dne sobota, 16. června 2012 18:44:39 UTC+2 ctasada napsal(a):
Hi, I would like to ask whether there has been any progress on this issue. Thanks a lot

Carlos Tasada

unread,
Sep 4, 2012, 3:11:16 AM9/4/12
to gwt...@googlegroups.com
Hi Petr,

In fact I started to do the needed changes, but I haven't had the time to follow up. Hopefully I will have some free time during this week to continue working on it. In any case I'm planning to have it ready before releasing version 0.94.

Regards,
Carlos.

To view this discussion on the web visit https://groups.google.com/d/msg/gwt-cal/-/m0cHeH4IEnkJ.

ctasada

unread,
Sep 7, 2012, 12:16:32 PM9/7/12
to gwt...@googlegroups.com
Hi guys,

I'm almost done with the changes, but I want to share with you some questions about the way it's implemented:

I've added a new setting CalendarSettings.seHideNonWorkingHours to decide if you want to, well, hide the non working hours. How does it behave? Any appointment that starts before the working hours or ends after the working hours, doesn't appear.

Now, my question is: what should happen with those appointments?
a) Don't show them, I'm not interested
b) Show them in the multiday section
c) Something else

Looking forward for your comments

Angelo Celoni

unread,
Sep 9, 2012, 2:07:59 AM9/9/12
to gwt...@googlegroups.com
Hi ctasada,
I think the best solution is to show these appointments in the All Day section

Brad Rydzewski

unread,
Sep 9, 2012, 1:43:40 PM9/9/12
to gwt...@googlegroups.com
Hey Carlos,

I've been thinking about this for the last couple days... I think this feature is difficult because it has many permutations:
1) appointment that starts before, and ends before working hours
2) appointment that starts after, and ends after working hours
3) appointment that starts before, and ends during working hours
4) appointment that starts during, and ends after working hours
5) appointment that starts before and ends after working hours
we can then have all the same permutations but for multi-day appointments:
6) appointment that starts before, spans N days, and ends before working hours
7) appointment that starts after, spans N days, and ends after working hours
8) appointment that starts before, spans N days, and ends during working hours
9) appointment that starts during, spans N days, and ends after working hours
10) appointment that starts before spans N days, and ends after working hours

each of these permutations may be handled slightly differently in the UI

I think we need to evaluate how google calendar / outlook / ical implement this functionality, and we should try to implement in a similar fashion.

--
You received this message because you are subscribed to the Google Groups "gwt-cal" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gwt-cal/-/6R6isPSLdyoJ.

Carlos Tasada

unread,
Sep 10, 2012, 11:01:06 AM9/10/12
to gwt...@googlegroups.com
Hi Brad,

I will check if this feature exists somewhere else. 

Carlos Tasada

unread,
Sep 11, 2012, 5:10:36 PM9/11/12
to gwt...@googlegroups.com
Hi Brad,

I could not find how to do it with iCal, but Google Calendar has a plugin to do something similar. Take a look in to "Hide night and morning sections" plugin in the Configuration/Labs.

The way it works is basically reduce the section that we want to hide to work like the "MultiDay section" so those areas are not completely hide, but simply using a single row. To me looks like a good idea that simplifies quite a lot the different scenarios.

What do you thing?

Petr Pechoušek

unread,
Sep 9, 2012, 5:16:56 AM9/9/12
to gwt...@googlegroups.com
Hello,
in our scenario, the best solution would be to ignore those appointments. Maybe it asks for another option to show in all day section / not show at all.

Thx Petr

2012/9/9 Angelo Celoni <angelo...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "gwt-cal" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gwt-cal/-/4WBuVSnzSXAJ.
Reply all
Reply to author
Forward
0 new messages