Commit 9412f31
feat(web): restrict someday event recurrence to weekly/monthly only (#1017)
* Initial plan
* feat(web): add SomedayRecurrenceSection with restricted frequency options
Co-authored-by: tyler-dane <30163055+tyler-dane@users.noreply.github.com>
* refactor(web): replace ConditionalRender with conditional rendering in RecurrenceSection components
* refactor(web): remove unused ConditionalRender component
* refactor(web): remove end date controls from SomedayRecurrenceSection
* refactor(web): modularize recurrence code
* test(web): add category prop to EventForm tests for better event categorization
* refactor(web): modularize RecurrenceSection children
* refactor(web): enhance SomedayRecurrenceSection with improved select handling and styling
* refactor(web): update SomedayRecurrenceSection to use role-based queries for better accessibility
* refactor(web): implement cancel edit functionality in SomedayRecurrenceSection
* refactor(web): improve event handling in SomedayEventForm and add combobox interaction checks
* style(web): update font size and text case in SomedayRecurrenceSection components
* style(web): adjust overflow handling in SomedayRecurrenceSelect component
* Update packages/web/src/views/Forms/EventForm/DateControlsSection/RecurrenceSection/useRecurrence/useRecurrence.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tyler-dane <30163055+tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler@switchback.tech>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 3fdfe4b commit 9412f31
File tree
21 files changed
+1038
-275
lines changed- packages/web/src
- components/ConditionalRender
- views/Forms
- EventForm
- DateControlsSection
- DateControlsSection
- RecurrenceSection
- SomedayRecurrenceSection
- SomedayRecurrenceSelect
- constants
- useRecurrence
- util
- SomedayEventForm
21 files changed
+1038
-275
lines changedLines changed: 0 additions & 13 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
packages/web/src/views/Forms/EventForm/DateControlsSection/RecurrenceSection/RecurrenceSection.tsx
Lines changed: 32 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 74 | + | |
78 | 75 | | |
79 | 76 | | |
80 | 77 | | |
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
84 | | - | |
| 81 | + | |
85 | 82 | | |
86 | 83 | | |
87 | 84 | | |
| |||
382 | 379 | | |
383 | 380 | | |
384 | 381 | | |
385 | | - | |
| 382 | + | |
386 | 383 | | |
387 | 384 | | |
388 | 385 | | |
389 | 386 | | |
390 | | - | |
| 387 | + | |
391 | 388 | | |
392 | | - | |
| 389 | + | |
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
396 | 393 | | |
397 | | - | |
| 394 | + | |
398 | 395 | | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
409 | 407 | | |
410 | | - | |
| 408 | + | |
411 | 409 | | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
422 | 421 | | |
423 | 422 | | |
424 | 423 | | |
0 commit comments