google-code-export / webical

Automatically exported from code.google.com/p/webical
GNU General Public License v3.0
1 stars 1 forks source link

change 'show today' link to 'today' button #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the label 'show today' on the link to the right of the pager can be
abbreviated to 'today'.

also, i propose to make it a button. disabled when today is in the 'current
date range in view'.

the same as GC.

Original issue reported on code.google.com by zorre...@gmail.com on 11 Jan 2008 at 7:27

GoogleCodeExporter commented 9 years ago
I changed the link to a button by addong the "button" css class. Sjoerd should 
be
able to style it further.

I also disabled the button if today is in the current RANGE that is being 
viewed.
This opposes a problem in the month view when today is at the end of the 
preceding
month or the beginning of the following month. Today is not in range, but it is 
shown
as a help to the user (the view is filled with extra days of the preceding and
following month).
This means that the today button is disabled as today is not in RANGE, but 
today is
shown in the VIEW.

Is this an acceptable outcome(solution)?

Original comment by mattijsh...@gmail.com on 29 Jan 2008 at 3:51

GoogleCodeExporter commented 9 years ago
is it the same as GC?

Original comment by zorre...@gmail.com on 29 Jan 2008 at 4:03

GoogleCodeExporter commented 9 years ago
Google calendar disables the today button when today is shown on the view.

But this is how far I can get without introducing structural changes. The 
datepicker
is not aware of the days shown in the VIEW, it can only calculate the days in 
RANGE.
This does not include days in the preceding and following month (they are not 
in RANGE).
At the moment, it is impossible to determine the days in the VIEW as the 
datepicker
is seperated from the view.

I can however restructure the CalendarPanel to include information on the days 
in
VIEW, but this is going to cost more time as I need to figure out a durable 
solution. 

Original comment by mattijsh...@gmail.com on 29 Jan 2008 at 4:08

GoogleCodeExporter commented 9 years ago
i'd go for the quick solution :)

Original comment by zorre...@gmail.com on 29 Jan 2008 at 4:13

GoogleCodeExporter commented 9 years ago
then i guess this issue is fixed. If the button needs to be disabled when today 
is in
VIEW you should open a new issue. This can then be assigned to the next 
milestone.

Original comment by mattijsh...@gmail.com on 30 Jan 2008 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by choquol...@hotmail.com on 1 Feb 2008 at 10:44