quasar
quasar copied to clipboard
QDate: provide slot for individual days in month view
Is your feature request related to a problem? Please describe. There is a events property which allows to mark individual days in month view with colored underline. Unfortunately I would prefer to have a different mark for the event, Maybe even a badge with number of events in this particular day.
Describe the solution you'd like If there would be available a specific slot in QDate component, for rendering of individual days, I could make my events or days visualisation as I wish. Heck, I could even capture mouseenter events and display some kind of hint, tip i popup when user moves the cursor over specific day. I could even put in some days other QComponents.
Describe alternatives you've considered The only viable alternative as of today to display different day rendering and capturing mouse events on particular days is just using another component from another library or single Vue component. The available app extension QCalendar is too big for using - for example I need to just display different colors for particular days in UMD mode, where every kb counts.
Additional context This doesn't seem as overly complicated, but it could IMHO dramatically improve quality of life and possible use cases for Quasar as a machine for presentation data based on time.
New slot available in 1.12.9
Unfortunately, I'm going to have to revert this commit. I've had a ping from Razvan about it. Will try and get more info going forward.
Any new info about this?
Hi @webnoob , Any plan to re-add this. It's very helpfull. Thanks!
Can this issue be closed?
Implementing the slot would turn the QDate almost into a full-featured calendar component that is missing in Quasar.
@webnoob @pdanpdan
is there any progress on this request? I see that you have reverted a commit some long time ago and then this was stalled. Do you think this could be implemented?
Thank you!
@webnoob @pdanpdan This feature would be really extremely helpfull. Any progress on this please?
@pdanpdan, there are several hundred commit messages in this thread - does this mean you are working on this request? Thank you!
This is done for a long time. But it's here just for reference, it's not going to be merged. If you use Q1 and you need this you can use my builds (https://pdanpdan.github.io/quasar-docs)
@pdanpdan, thanks for the reply!
so "it's not going to be merged" means it's not available for Q2, right? Are you planning to make it available for Q2 at some point?
I'm not using Q1
I don't think it's planned for Q2 (at least not now). Q2 is too different from Q1, so I don't plan to make and maintain another fork, sorry :(
@rstoenescu, is there a chance this feature makes it into Q2 at some point? There was some previous work done by @webnoob in 2020 which was reverted - do you have any take onto the future of this request?
Thank you!