quasar icon indicating copy to clipboard operation
quasar copied to clipboard

QDate: provide slot for individual days in month view

Open qyloxe opened this issue 5 years ago • 13 comments
trafficstars

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.

qyloxe avatar May 20 '20 14:05 qyloxe

New slot available in 1.12.9

webnoob avatar Jul 10 '20 11:07 webnoob

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.

webnoob avatar Jul 10 '20 12:07 webnoob

Any new info about this?

AruXc avatar Nov 11 '20 01:11 AruXc

Hi @webnoob , Any plan to re-add this. It's very helpfull. Thanks!

ttquoccuong avatar Jan 25 '21 13:01 ttquoccuong

Can this issue be closed?

hawkeye64 avatar Nov 26 '21 23:11 hawkeye64

Implementing the slot would turn the QDate almost into a full-featured calendar component that is missing in Quasar.

PetrPy avatar Jan 28 '22 19:01 PetrPy

@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!

ddenev avatar Nov 09 '22 14:11 ddenev

@webnoob @pdanpdan This feature would be really extremely helpfull. Any progress on this please?

akahanek avatar Mar 13 '23 07:03 akahanek

@pdanpdan, there are several hundred commit messages in this thread - does this mean you are working on this request? Thank you!

ddenev avatar Jul 11 '23 05:07 ddenev

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 avatar Jul 11 '23 05:07 pdanpdan

@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

ddenev avatar Jul 11 '23 07:07 ddenev

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 :(

pdanpdan avatar Jul 11 '23 08:07 pdanpdan

@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!

ddenev avatar Jul 11 '23 16:07 ddenev