webOS Nation Forums >  Homebrew >  webOS patches > [PATCH] All Day Events in Month View
[PATCH] All Day Events in Month View

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/23/2009, 04:04 PM   #1 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Post [PATCH] All Day Events in Month View

This is a fix for the patch mentioned:

Patch Calendar Show All-Day Events in Month View - WebOS Internals and here http://forums.precentral.net/webos-p...iew-patch.html

It shows all day events in the monthly calender.
Be sure to switch the calendar in the upper right! From all to a particular calendar.

Things i fixed:
# Works on 1.2.1
# All day events now have the same color as the calendar they are on (only if the correct calendar is selected, otherwise will show grey in all view)
# Doesn't have same same issues as 1.2 (hiding all other events, and showing on other months)
# Its pimp

Original credits to:
d2globalinc

For anyone who appreciates this, donate to wiki:
WebOS Internals:Site support - WebOS Internals

Link:
http://thenxtlvl.com/pre/all-day-eve..._1.2.1-1.patch

Has been submitted to preware

If someone has dBsooner's email address, could you get the images to him please? Didn't submit those for preware

Last edited by daventx; 10/23/2009 at 06:53 PM.
daventx is offline   Reply With Quote
Old 10/23/2009, 04:37 PM   #2 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

Screenshot? Or is there one in Preware when it comes up there?
jhoff80 is offline   Reply With Quote
Old 10/23/2009, 04:57 PM   #3 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default

Yay! Thanks for fixing this. I'm not seeing any colors though, like you mentioned.

Screenshot:
__________________
Twitter
gage006 is offline   Reply With Quote
Old 10/23/2009, 05:02 PM   #4 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

I was going to wait till it showed up in Preware myself, but tried it anyway, no colors for me either.
jhoff80 is offline   Reply With Quote
Old 10/23/2009, 05:55 PM   #5 (permalink)
Member
 
Join Date: Apr 2008
Posts: 148
Likes Received: 0
Thanks: 19
Thanked 10 Times in 8 Posts
Default

oh manthx u
twentythreemx is offline   Reply With Quote
Old 10/23/2009, 05:59 PM   #6 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

I have colors with the patch above.

Are you switching calendars at the top right?
daventx is offline   Reply With Quote
Old 10/23/2009, 06:11 PM   #7 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

Ahh, I misunderstood. I thought you meant that in "All" view, that each day would have a color for whichever category it was in. I didn't know you had to go into a specific view to see that.
jhoff80 is offline   Reply With Quote
Old 10/23/2009, 06:18 PM   #8 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

Yeah, sorry about that.. I rephrased my intro.

It obviously could be possible to have all colors on one page, but if all (grey) works fine.. why make it more difficult..?

I may look into making a multi color all page later.. but for now.. just suffer
daventx is offline   Reply With Quote
Thanked By: jhoff80
Old 10/23/2009, 06:28 PM   #9 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default

Quote:
Originally Posted by daventx View Post
Yeah, sorry about that.. I rephrased my intro.

It obviously could be possible to have all colors on one page, but if all (grey) works fine.. why make it more difficult..?

I may look into making a multi color all page later.. but for now.. just suffer
Coloring the day by calendar would be really nice but this is great for the way it is, better than nothing. Thanks a ton!
__________________
Twitter
gage006 is offline   Reply With Quote
Old 10/24/2009, 02:17 AM   #10 (permalink)
Member
 
Bigchris's Avatar
 
Join Date: Jan 2005
Location: Southern California
Posts: 644
Likes Received: 0
Thanks: 126
Thanked 43 Times in 22 Posts
Default

Thanks a lot, really glad to have this back up...
__________________
Remember, this is my opinion ! We all have a right to our own.....

Treo's 650-800..NOW,
Palm Pre
Bigchris is offline   Reply With Quote
Old 10/26/2009, 11:11 PM   #11 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

I wonder, would it be possible to use a different patterned background then the top right to bottom left slanted stripes?

Maybe slanted in the other direction? This way, if I have an all-day event on a day, AND other events during the day I could see both by looking at month view, because the parts where I had another event would have it in both directions, and the parts that only had the all-day event would just have the one direction- or at least sort of like that but divided into thirds of the day like the calendar automatically does it as it is.
jhoff80 is offline   Reply With Quote
Old 10/26/2009, 11:56 PM   #12 (permalink)
Member
 
GregandTink's Avatar
 
Join Date: Jul 2009
Posts: 180
Likes Received: 0
Thanks: 17
Thanked 14 Times in 13 Posts
Default

This is nice and a leap forward, thanks.

Any chance we might see in the future color coded dots like the calendar on Centro?
GregandTink is offline   Reply With Quote
Old 10/27/2009, 12:33 AM   #13 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

Quote:
Originally Posted by jhoff80 View Post
I wonder, would it be possible to use a different patterned background then the top right to bottom left slanted stripes?

Maybe slanted in the other direction? This way, if I have an all-day event on a day, AND other events during the day I could see both by looking at month view, because the parts where I had another event would have it in both directions, and the parts that only had the all-day event would just have the one direction- or at least sort of like that but divided into thirds of the day like the calendar automatically does it as it is.
Quote:
Originally Posted by GregandTink View Post
This is nice and a leap forward, thanks.

Any chance we might see in the future color coded dots like the calendar on Centro?
I looked around real quick for the "centro color coded dots" and couldn't find an example.. so i'm not sure what it looks like.

I could pretty easily get the "all day" pattern to look different than just a partial view. I'll mess around with it over the next week and see what i can come up with and find issues. Also would need to see how to create a graphic with a patch, if i do need additional graphics for it.
daventx is offline   Reply With Quote
Thanked by Bigchris, jhoff80
Old 10/27/2009, 07:16 AM   #14 (permalink)
Member
 
DNic's Avatar
 
Join Date: Jun 2009
Posts: 599
Likes Received: 0
Thanks: 174
Thanked 44 Times in 34 Posts
Default

Thanks for this, I was really missing this patch.
DNic is offline   Reply With Quote
Old 11/22/2009, 07:01 PM   #15 (permalink)
Member
 
crazyazn23's Avatar
 
Join Date: Feb 2009
Location: County USC
Posts: 61
Likes Received: 0
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Is there an update for 1.3.1?
__________________
crazyazn23 is offline   Reply With Quote
Old 11/22/2009, 07:03 PM   #16 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

Quote:
Originally Posted by crazyazn23 View Post
Is there an update for 1.3.1?
It's been in Preware for a while.
jhoff80 is offline   Reply With Quote
Old 11/24/2009, 12:44 PM   #17 (permalink)
Member
 
crazyazn23's Avatar
 
Join Date: Feb 2009
Location: County USC
Posts: 61
Likes Received: 0
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jhoff80 View Post
It's been in Preware for a while.
Then i guess i'm having issues then... I installed it through webos install & preware, but it's not showing up. I also uninstalled with device management... Does anyone have any ideas?
__________________
crazyazn23 is offline   Reply With Quote
Old 11/27/2009, 12:29 PM   #18 (permalink)
Member
 
deCorvett's Avatar
 
Join Date: Jul 2006
Location: Zaragoza, Spain
Posts: 1,789
Likes Received: 177
Thanks: 45
Thanked 385 Times in 217 Posts
Default

Hi,

I think this patch is great, but in my case, i.e. I have a Weather Calendar configured in Google, so if I want to show it in my All Calendars option, It shows me the next few days occupied (and of course is my weather calendar).

It would be doable to hide this kind of calendars in month view?
deCorvett is offline   Reply With Quote
Old 01/21/2010, 10:43 AM   #19 (permalink)
Member
 
Join Date: Nov 2009
Posts: 64
Likes Received: 0
Thanks: 4
Thanked 4 Times in 2 Posts
Default

Quote:
Originally Posted by daventx View Post
I may look into making a multi color all page later.. but for now.. just suffer
Is there any chance of implementing this ? ... this would make this patch so much better.
Northernlanes is offline   Reply With Quote
Old 03/04/2010, 07:39 PM   #20 (permalink)
Member
 
Join Date: Sep 2009
Posts: 141
Likes Received: 0
Thanks: 30
Thanked 41 Times in 22 Posts
Default

Ok.. i've looked it over.. and due to my limited skills.. I would need some help.

I'm listing some issues below.

1) The current code only grabs ONE calendar color at a time. Grey (All), or the various others for the calendar.

2) I have no idea what i is doing.. :P My current patch adds the ability to see all day events, i used what i saw in day/week view. But what month is doing, makes no sense to me.. weird java stuff

Basically, i would need some help creating an external loop. Reusing some of the stuff from lines 354-406 in month-assistant.js.. like moving the calendar color outside.

Here is a link to my current patch for others to look at, and hopefully help out. For some reason, i can't attach files?

http://www.webos-internals.org/wiki/..._in_Month_View

I know its possible, if we got the above plus a little css.. it would work!

Last edited by daventx; 03/04/2010 at 08:09 PM.
daventx is offline   Reply With Quote
Reply

 

Tags
all day, all day events, month view

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0