Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Times in weeks. #241

Open
steliosph opened this issue Feb 26, 2014 · 11 comments
Open

Times in weeks. #241

steliosph opened this issue Feb 26, 2014 · 11 comments

Comments

@steliosph
Copy link
Contributor

Hey, its been a while but life didn't allow me much of free time lately.

Anyway, just wanted to let you know that i am working on adding hours for the week days.
I initially thought that it would be easier than Day, but i was wrong ... way much to jangle around.
A first draft after of couple of hours trying to figure out what goes where.... ill try to do some more tommorow...

screenshot from 2014-02-27 00 19 30

@richthibault
Copy link

I could live without the times if I could figure out how to stop the cascade effect - Monday's events appear below Sunday's, Tuesday's below Monday's, etc. It would be great if they all lined up horizontally across the top. Any quick fixes for that?

I may try to come up with my own table-based template.......

@eleazan
Copy link
Collaborator

eleazan commented Aug 12, 2014

I have done these:

bootstrap-cl
With a little change on tmpls, and on calendar.js. But, i don't know how to trigger with the overlaped's events... and need's something for the width fix...

@Serhioromano
Copy link
Owner

Looks cool 👍

@steliosph
Copy link
Contributor Author

Looks good ... but i would recommend not wasting any more time on this.
I am currently working on this.
Fixing the days currently as there are some bugs that i need to squash.

The week is aligning almost correctly with each of the event on its own day, with the correct width and all
But there are some bugs on the week view as well ( mostly need to align them a bit better, and add before and after events)

Ill send a picture of what i currently have when i get home

Hopefully i will be done with this in aprx 2 week.
Its August and i am on an island ... hard to stay away from the sea !

@eleazan
Copy link
Collaborator

eleazan commented Aug 12, 2014

Don't worry... i live in a little island... it's hard to avoid the sea!

So, i need these for a project, and my calendar is a bit custom, so, i need to work on it. But i can wait a few weeks, need others things too!

PD: At these moment, i'm working on width... but, i freeze now... for the moment xD
bscl3

@steliosph
Copy link
Contributor Author

screenshot from 2014-08-12 19 51 42

So i am happier with the day. It handles more stuff correctly.
There are some improvements still left to be done here.
etc pushing the longest appointment to the start, when there is an event after or before don't split the others events that are overlapping it. And definitely some bugs.

Ill work on the week, as it is a bit messed up currently.

I wish i could merge this in, but it will need to wait for the week to finish.

@Serhioromano
Copy link
Owner

@steliosph - man, that is awesome!

@eleazan
Copy link
Collaborator

eleazan commented Aug 13, 2014

Nice!

But i have some questions... why show first the "First Event" (from 13 to 14h) than the "Overlapping event"(12.30 to 13.30)? Suppose you fetch the events with order by id, or similar?

And the appointments? Not need to be first Appointment 1?

@steliosph
Copy link
Contributor Author

Some work is still needed. Like pushing the longest ( or starting first ) appointment at the start.

I am not entirely sure how the appointments are sorted. It is not by id from as I have noticed. If it was the appointment 1 would be first.

This still needs some improvement.

@ferencbalogh
Copy link

@eleazan Can you share your tmpls and calendar.js?

@tonspeed
Copy link

Can you shere this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants