fix(harmonia): the personal (my) surface honors view: range/calendar - a personal calendar replaces the list - #6352
Merged
Merged
Conversation
…- a personal calendar page replaces the list A view: range|calendar personal root downgraded to a plain form+list on the My shell - the leave calendar existed only on the power surface. The personal surface now renders its own calendar, exactly like the power one replaces the table: - new my-calendar page/view templates: the user's OWN records as x-h-calendar events (served by the scoped MyController - foreign rows and sensitive fields never arrive); date-click creates with the clicked day prefilled, event-click edits, both through the personal form; - generateUtils: personalCalendarModels (MANAGE_CALENDAR personal roots) + personalListModels (the list pair now excludes calendar roots - replaced, not duplicated); - the shell index routes /my/<Entity> to the personal calendar view and loads its page script. IntentEmissionCoverageIT: a personal view: range fixture (Leave) asserts the personal calendar page reads through the MyController, the view renders x-h-calendar, and /my/<Entity> routes to it. Ran green locally (1/1). Verified live: regenerated the leave module - the My shell renders the month grid with the own request as an event in its start cell (browser-checked).
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.
A
view: range|calendarpersonal root downgraded to a plain form+list on the My shell — the leave-calendar UX existed only on the power surface (the last of the personal-template parity family: #6347 lists, #6348 documents, now the view family).my-calendarpage/view templates: the user's own records asx-h-calendarevents, served by the scopedMyController(foreign rows and sensitive fields never arrive); date-click → personal create with the clicked day prefilled; event-click → personal edit.personalCalendarModels(MANAGE_CALENDAR personal roots) andpersonalListModels(the list pair excludes calendar roots — the calendar replaces the list, mirroring the power surface where the calendar replaces the table)./my/<Entity>routes to the personal calendar view and loads its page script.IT: a personal
view: rangefixture (Leave) asserts the personal calendar page reads through the MyController, the view rendersx-h-calendar, and/my/<Entity>lands on it — ran green locally (1/1).Verified live: regenerated a
view: rangemodule — the My shell renders the month grid with the own request as an event in its start cell (browser-checked, role-based locators).🤖 Generated with Claude Code