danheron/Heron.MudCalendar

Multiday Appointment

Opened this issue · 18 comments

It should be recognizable that an appointment can go over days instead of drawing it each time as a single appointment.

image

Hey Dan, how's it looking?
I know you're doing this on the side.
I'm familiar with it.

But that would be really important for me.

I'm quite busy at the moment so I can't give you an ETA on that. However it's an open source project so you can fork it and add any extra functionality that you need.

What we need:

  • Drag-Areas for resizing start/end
  • Mouse-Over handle
  • evtl. DragStates (None, Start, End, Both)
  • Mouse pointer changes when these areas are entered

Should help with implementation (No matter who does it in the end):
image

@KevinKrueger Is there already a plan for implementation? I could also help.

I'd also vote for this. Not sure I could help though

@KevinKrueger Is there already a plan for implementation? I could also help.

@Int32Overflow Well, it should work in the same way as in the Outlook calendar.

I've tried a bit, but unfortunately haven't found a good solution yet :-(

For this experiment, I tried overlays with the help of the grid. But then MudDragDrop no longer works...
grafik
Here the example code:
grafik

@danheron Before I go any further and look for another solution, we need to resolve the limitations:

Limitations

  • Scrolling (overflow-y) of a cell: This is logically not possible. Another solution would be a manual overflow:
    grafik

I agree that removing scrolling would be better. I have created another issue to make this change: #119

If we are going to make the Month View more complicated, such as adding multiday appointments, then I think an overall redesign is needed. The Day/Week view is built with 2 layers: The first layer draws the cells, then the second layer draws the appointments on top of the cells. This way the appointments are not constrained to a single cell. I think we should do something similar with the Month view.

Please guide us how to achieve above functionality, or any progress with the above?

@arunnagar1991 It's like I wrote - 2 layers like the Day/Week view. Look at the code for the Day/Week view to see how to do it.

I can do it, but I won't have time for a few weeks.

Is this still considered for 2.0?

Hey just FYI I am using this calendar: https://github.com/valincius/BlazorScheduler
It has the multi day functionality you want so maybe you can use it as inspiration.

Hey just FYI I am using this calendar: https://github.com/valincius/BlazorScheduler It has the multi day functionality you want so maybe you can use it as inspiration.

Is that project still maintained? Might be an option.

@marcusjm I think he has moved on to other projects.

@marcusjm I think he has moved on to other projects.

Yes, looks no better. I am simply using FullCalendar for now but I hope this Project gets some of the additions, it is much nicer with BlazorFirst approach :).

Lets face it. Heron Calendar would be perfect it added this "last" thing. I don't need anything else. Let's hope @danheron gets around to it.

@marcusjm I think he has moved on to other projects.

Yes, looks no better. I am simply using FullCalendar for now but I hope this Project gets some of the additions, it is much nicer with BlazorFirst approach :).

Lets face it. Heron Calendar would be perfect it added this "last" thing. I don't need anything else. Let's hope @danheron gets around to it.

You realize you are on Github and the project is open source right? Why don't you "get around to it" lol.

Also I meant like inspiration to use some code snippets in this project, to get the multiday functionality.

Since, as I said, he moved on to other projects.

@marcusjm I think he has moved on to other projects.

Yes, looks no better. I am simply using FullCalendar for now but I hope this Project gets some of the additions, it is much nicer with BlazorFirst approach :).
Lets face it. Heron Calendar would be perfect it added this "last" thing. I don't need anything else. Let's hope @danheron gets around to it.

You realize you are on Github and the project is open source right? Why don't you "get around to it" lol.

If it was that simple. That requires a) That you have very good knowledge of every aspects of this component b) Also use a coding style where a PR would be readily accepted. You also have to understand that this is part of MudBlazor so everything should work well with the MudBlazor Framework as well. It is not as easy as you think.

But I do use FullCalendar in Blazor and it works well until we get a more "native" solution.

Actually Radzen Scheduler seems to do all this and works great within MudBlazor. This could be an option for those waiting for potential updates. At least for those of us with budget constraints ;).