SAMPLE APP: Crazy Calendar Hack

Hereโ€™s a new take on calendar views, based on some Virtual Column weirdness:

The sample app uses a public holiday calendar, and a WeekNum table with just two sheet columns:

https://www.appsheet.com/samples/Built-from-your-app-spec-?appGuidString=4fe2fb91-feca-4a6e-bee3-3ab...

Hereโ€™s a quick overview of how it works:

I used a public/read-only calendar so I could post it as a sample. But you could do a lot more with it if you connect your personal calendar and create inline actions next to each date.

Unfortunately, that makes the calendar table twice as wide, for nowโ€ฆ
shameless plug for my own feature request


This is a follow up to the first Crazy Calendar Hack, using a similar technique for Hours instead of WeekNums.

26 13 3,229
13 REPLIES 13

Hi @GreenFlux,

This is brilliant!
Thanks for sharing.

I would like to ask if you would know how I would have Sunday at the end of the week?

3X_c_4_c4b0c7159a7e5650ed12b8f769b391afb730cb9a.png 3X_4_1_410967ae539140685158f1a0c7d5bf7632e4560b.png

In this image, the week starts on Sunday 2/7/20, but if itโ€™s possible, is there something I could change to your sample app that will show the Sunday having a date of Saturday 2/12/20 +1?

Hope this makes sense.
Best,
Chris.

Hey @Chris_Jeal , glad you like the sample app!

Changing the week to end on Sunday is a little tricky. Iโ€™m using WEEKNUM() which always starts on Sunday. I think youโ€™d have to put in an exception for WEEKDAY()=7, and come up with a new [alt_weeknum] to group and filter the rows differently.

Thanks for the reply.
Youโ€™re not kidding there about the trickiness of this, Iโ€™ve been trying to tackle this one for a while now.
Iโ€™ve not thought about the alternate weeknum though so Iโ€™ll give it a go.

Thanks, and stay safe.
Chris.

Nice!! Somehow I didnโ€™t see this post when it was posted.

Played around a bit with it and made the dates on the right into an SVG through a virtual column:

Can you post the Appsheet based SVG expression?

Sure. Hereโ€™s the code with a bit of update:

CONCATENATE("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'>

--WEEK CIRCLE--
<circle cx=""60"" cy=""60"" r=""50"" fill=""rgb(3,123,228)"" stroke=""rgb(3,123,228)""  stroke-width=""12"" /> 

--WEEK NUMBERS--
<text x=""58""  font-family=""Roboto,Arial,sans-serif""  font-size=""60"" fill=""white""  y=""68%""  text-anchor=""middle"">
",RIGHT([Weeknum],LEN([Weeknum])-6),"
</text>

--TEXT STANDARD DAY_DATE--
<text font-family=""Roboto,Arial,sans-serif"" font-size=""65""   text-anchor=""left"" fill=""black"" x=""150"" y=""70%"">

<tspan  fill=""red"" >
",[Day],"
</tspan>

<tspan  fill=""rgb(3,123,228)"" >
",LEFT((TEXT([Date])),LEN(TEXT([Date]))-5),"
</tspan>

</text>

</svg>")

Thatโ€™s awesome, thanks!

So this 3X_8_c_8c751cd8716796ee19f5e108fa5311914fba21ab.png is all in one SVG.
Super cool @Ratatosk

Super cool indeed!!

As someone with a graphic designer background, to just have a little bit of say on the UI/UX feels great!

@Ratatosk @GreenFlux This calendar view is really interesting. Nice information design at work here.

Since weโ€™re always looking to evolve our apps, I wanted to ask:

Whatโ€™s the inspiration / context that motivated you to come up w/ this type of view? Do you have a domain specific problem, and how is this helping users in your app?

Any details are helpful, as weโ€™re interested on how specific configurations help app users with their tasks.

The best thing here imho is that we have a clickacle calendar. that would be amazing if we could just click on a day in our calendar and it ran an action, opened a form, something like that.

You mean a Row Selected Even Action like we have in table, galley, deck and card view. Yes that would be cool.

Fabian_Weller_0-1715880922904.png

 

You knowโ€ฆ came from the first one, now I have to do this instead

PS: I think Iโ€™m gonna make both
Thanks again! @GreenFlux

Top Labels in this Space