-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Post Schedule: show post events (#29716)
* post-schedule: collect and pass calendar events * post-schedule: re-write component using function * date-time: remove onMonthPreviewed() and highlight * post-schedule: update current month * date-time: render day events using own component * date-time: styling when not selected day * fixing eslint issues * date-time: tweak calendar events style * post-schedule: exlude current post from evenys * date-time: decouple onMonthChange with keepFocusInside * date-time: check events before to pick events day * fix rebasing issues * date-time: events replace circles by dots * fix rebasing bug * post-schedule: split up processing post events * date-time: revert prop name change * date-time: add screen reader support * date-time: update content for screen reader * date-time: fix eslint error * post-schedule: get events by post type * date-time: rephrase events number for readers * date-time: add events to aria label * date-time: fix lint error. tidy. * date-time: set aria-label value * date-time: update e2e test * date-time: clean comment * date-time: join day-with-events string to improve its translation * date-time: remove ref as hook dependency The ref nevers changes its value * post-scheudle: use title.rendered prop for events
- Loading branch information
Showing
5 changed files
with
166 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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