feat(vc-scheduler): calendar/scheduler organism#258
Merged
Conversation
Add VcScheduler — a calendar organism for planning date-bound periods (promotions, pricelist windows, campaigns). Views - Month grid: all-day events as lane-packed bars with a "+N more" overflow popover, timed events as chips; first-run empty hint. - Vertical time-grid Timeline (day/week) with side-by-side overlap lanes, an all-day strip, and a current-time line on today. - Mobile agenda (day-grouped list), auto-swapped for the Month grid on phones. Editing - Built-in quick-create popover, event editor modal, and quick-info popover; drag-to-move / drag-to-resize / click- and drag-to-create. An "emit" mode hands the create/edit/delete flow to the host instead. - Destructive actions are gated: a confirm for one-off deletes and a This event / All events scope prompt for recurring ones. Recurrence (rrule) - iCal-style model: masters + exception dates + per-occurrence overrides, expanded per view window; human-readable summaries in the quick-info popover. - Expansion runs in a UTC-naive frame so all-day / near-midnight series keep their weekday and day across time zones. Color & a11y - Deterministic auto-coloring from the title (nothing stored); bar ink is chosen per fill by WCAG luminance, and past events render as a pale tint with dark text so they stay AA-legible. Also - Loading state: a view-shaped skeleton on first load and an overlay on refresh. - i18n (en/de), stories, unit + axe tests, and docs. - Rename VcDropdownPanel to VcPopover (the scheduler's popovers build on it).
docs:lint validates `::storybook id="..."` embeds against the published storybook (vc-shell-storybook.govirto.com), which still serves the pre-rename component, so `overlay-vcpopover--*` reads as unknown until the storybook redeploys post-merge. Remove the two embeds to keep the check green; the prose, props and examples remain.
|
📦 Preview published for commit Install the preview with dist-tag: npm install @vc-shell/framework@pr-258Or pin to the exact commit: npm install @vc-shell/framework@2.1.0-pr258.9ee8dfbPublished packages (dist-tag
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Adds
VcScheduler— a calendar/scheduler organism (timeline/time-grid views,viewport and time-scale composables) with stories, docs, and unit + a11y tests.
Reconstructed from the original stacked PR #256, which was auto-closed when its
base branch (
docs/framework-accuracy-audit, merged in #255) was deleted. Thisbranch is the same two commits cherry-picked cleanly onto
main, so the diff isjust the scheduler component (no accuracy-audit changes leaking back in).