Skip to content

fix(web): preserve timed event stack order#1844

Merged
Uarmagan merged 2 commits into
mainfrom
fix/timed-event-stack-order
Jun 1, 2026
Merged

fix(web): preserve timed event stack order#1844
Uarmagan merged 2 commits into
mainfrom
fix/timed-event-stack-order

Conversation

@Uarmagan
Copy link
Copy Markdown
Contributor

@Uarmagan Uarmagan commented Jun 1, 2026

Summary

  • Keep focused or newly selected overlapping timed events in their normal fan-out stack order.
  • Preserve elevated stacking for active drag/resize motion.
  • Update Day and Week regression coverage for focused, clicked, and draft overlap cases.

Root cause

Focused/edited events were being treated as if they should always jump to the highest layer. That made an overlapping event cover the rest of its stack immediately after create/save or selection.

Validation

  • bun test --cwd packages/web src/views/Day/components/Calendar/DayCalendarGrid.test.tsx src/views/Week/components/Grid/MainGrid/MainGrid.test.tsx src/views/Week/components/Draft/grid/GridDraft.test.tsx
  • bunx typescript@6.0.3 -p packages/web/tsconfig.app.json --noEmit
  • bun lint
  • Browser check against local compass2 web app: created overlapping Day events and confirmed they immediately fan out with normal stack order.

@Uarmagan Uarmagan marked this pull request as ready for review June 1, 2026 14:40
@Uarmagan Uarmagan merged commit 536cf0f into main Jun 1, 2026
9 checks passed
@Uarmagan Uarmagan deleted the fix/timed-event-stack-order branch June 1, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant