Commit 1c22fd4
fix: restore Day calendar parity with Week grid behavior (#1820)
* refactor(web): add shared calendar grid constants
* refactor(web): share calendar grid measurements
* refactor(web): add visible-date event positioning
* refactor(web): share calendar layout cache
* refactor(web): share timed deck layout
* refactor(web): extract calendar event cards
* refactor(web): share calendar grid shell
* refactor(web): share calendar event targeting
* feat(web): add day calendar interaction adapter
* feat(web): render day with shared calendar grid
* refactor(web): remove old day calendar agenda
* fix(web): restore day calendar parity
* refactor(web): move calendar interaction primitives to common
* refactor(web): use neutral calendar event DOM attributes
* refactor(web): keep day calendar focus helpers in day
* refactor(web): split day calendar grid responsibilities
* refactor(web): trust shared calendar event positioning
* refactor(web): clean shared calendar grid boundaries
* chore(web): remove unused drag dependencies
* refactor(web): clean calendar grid review findings
* feat(web): share calendar deck layout and refine event selection
- Reuse the shared timed-event deck layout across Day and Week, including
active timed draft decks
- Mark the event being edited with a lifted in-palette background instead of
a dark fill or accent ring
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* refactor(web): remove elf event state
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 64122e7 commit 1c22fd4
185 files changed
Lines changed: 8213 additions & 7938 deletions
File tree
- .cursorrules
- packages/web
- src
- __tests__/utils/agenda
- common
- calendar-grid
- components
- hooks
- interaction
- math
- model
- layout
- types
- calendar-interaction/react
- constants
- context
- hooks
- utils
- event
- position
- components
- CompassProvider
- ContextMenu
- DND
- FloatingEventForm
- PlannerSidebar/SomedayEventSections
- SomedayEvents/SomedayEventsContainer
- ducks/events
- selectors
- slices
- store
- views
- Day
- components
- Agenda
- AgendaSkeleton
- Events
- AgendaEventPreview
- AllDayAgendaEvent
- TimedAgendaEvent
- LoadingProgressLine
- NowLine
- TimeLabels
- Calendar
- ContextMenu
- TaskList
- hooks
- events
- shortcuts
- interaction
- adapter
- registry
- targeting
- util/agenda
- view
- Forms/hooks
- Week
- components
- Draft
- context
- grid
- Event/Grid/GridEvent
- Grid
- AllDayRow
- Columns
- TimesColumn
- MainGrid
- NowLine
- hooks
- grid
- shortcuts
- interaction
- adapter
- commit
- dom
- geometry
- interactions
- registry
- targeting
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 12 | | |
19 | 13 | | |
20 | 14 | | |
| |||
25 | 19 | | |
26 | 20 | | |
27 | 21 | | |
28 | | - | |
29 | 22 | | |
30 | 23 | | |
31 | 24 | | |
| |||
Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments