-
-
Notifications
You must be signed in to change notification settings - Fork 588
[6.x] Collection Calendar mode #12597
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
base: master
Are you sure you want to change the base?
Conversation
…are already accessible
I love this thing! ❤️ |
Thanks @ryanmitchell! |
@jackmcdade I don't know if you got my comment, so sorry for cross-posting: do you know that the fist day of the week depends from the locale / the country? Mostly Monday or Sunday throughout the world , but also Saturday? This view could benefit from a setting to change that (but perhaps you did it already). Thanks. |
I did get it — it's all driven by your user's locale. I think it might be buggy tho cuz I'm having a hard time getting it to work correctly. I won't merge it until it's sorted. |
Suuuuuper slick! Does this allow you to change the date an entry is published by dragging and dropping it to a different date? Or is this a read-only way to visualize entries across a calendar view? |
It doesn't support drag and drop (yet) but you can create a new entry by clicking on a date/time slot. Hadn't even thought of that honestly... 🤔 |
Drag and drop would be awesome as a future improvement, but even if its just a visual view its really helpful for content editors. |
# Conflicts: # resources/js/components/entries/CreateEntryButton.vue # resources/js/pages/collections/Show.vue # resources/views/collections/show.blade.php
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…he surrounding months you see in month view
…have between <slot>
762c659
to
ba7d75a
Compare
I did a thing.
Mobile view:
Note
Introduces a calendar (month/week) view for collections with drag‑and‑drop rescheduling, saves/cancels pending changes, and persists view preference; adds supporting components/utilities and minor UI tweaks.
calendar
view (month/week) toresources/js/components/collections/View.vue
, with toggle, dirty-state tracking, save/cancel actions, and preference-based view persistence.CollectionCalendar.vue
(fetch, DnD, save/cancel),CalendarMonthView.vue
,CalendarWeekView.vue
,CalendarEntry.vue
,CalendarWeekEntry.vue
, anduseCalendarDates.js
utility.resources/views/collections/show.blade.php
to pass required props (includingdated
) and reorder attributes.CollectionCalendar
inresources/js/bootstrap/components.js
.CreateEntryButton.vue
with optional custom trigger slot,icon
prop, and blueprint dropdown support in calendar cells.Combobox.vue
: preserves externalclass
by moving it toComboboxTrigger
, adds sizexl
, tweakslg
, and avoids passingclass
viav-bind
usingomit
.Popover.vue
: adjusts content styling (removes overflow-hidden) and improves arrow colors for dark mode.Written by Cursor Bugbot for commit 05196ff. This will update automatically on new commits. Configure here.