Skip to content

[PER-10415] [BLOCKED] New date editing full screen#1009

Open
aasandei-vsp wants to merge 11 commits into
mainfrom
PER-10415-new-date-editing-full-screen
Open

[PER-10415] [BLOCKED] New date editing full screen#1009
aasandei-vsp wants to merge 11 commits into
mainfrom
PER-10415-new-date-editing-full-screen

Conversation

@aasandei-vsp
Copy link
Copy Markdown
Contributor

@aasandei-vsp aasandei-vsp commented May 1, 2026

Blocked by: #924

@aasandei-vsp aasandei-vsp self-assigned this May 1, 2026
@aasandei-vsp aasandei-vsp marked this pull request as draft May 1, 2026 12:33
@codecov
Copy link
Copy Markdown

codecov Bot commented May 1, 2026

Codecov Report

❌ Patch coverage is 82.48299% with 103 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.39%. Comparing base (937b84b) to head (c37d8a3).

Files with missing lines Patch % Lines
...debar-date-picker/sidebar-date-picker.component.ts 80.79% 19 Missing and 10 partials ⚠️
...c/app/shared/services/edtf-service/edtf.service.ts 84.26% 15 Missing and 13 partials ⚠️
...er/components/file-viewer/file-viewer.component.ts 26.31% 13 Missing and 1 partial ⚠️
...le-browser/components/sidebar/sidebar.component.ts 58.33% 9 Missing and 1 partial ⚠️
...-date-time-modal/edit-date-time-modal.component.ts 90.00% 3 Missing and 5 partials ⚠️
...nts/timepicker-input/timepicker-input.component.ts 81.81% 4 Missing and 4 partials ⚠️
...s/timezone-dropdown/timezone-dropdown.component.ts 88.00% 3 Missing ⚠️
...nts/datepicker-input/datepicker-input.component.ts 96.55% 0 Missing and 2 partials ⚠️
src/app/core/services/edit/edit.service.ts 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1009      +/-   ##
==========================================
+ Coverage   49.88%   51.39%   +1.50%     
==========================================
  Files         348      354       +6     
  Lines       11501    12035     +534     
  Branches     1974     2155     +181     
==========================================
+ Hits         5737     6185     +448     
- Misses       5576     5625      +49     
- Partials      188      225      +37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…splay dates

Add new getStelaFolderVOs method to retrieve updated folder information
from the v2 API endpoint. This method handles both single and multiple
folder requests with optional share token support.

Add updateStelaFolder method to update folder date ranges by combining
start and end dates into EDTF interval format before sending to the server.

These changes enable proper synchronization of folder date information
between the client and server when users edit date ranges in the UI.

ISSUE: PER-10475
Add displayTime and displayEndTime getters to parse EDTF interval strings
from the server. These getters split interval values like "1985-05-20/1990-06-15"
into separate start and end dates for display in the UI.

Update template to use the new getters instead of directly accessing displayDT
and displayEndDT properties. Add fallback logic to use legacy properties when
the displayTime interval is not available.

ISSUE: PER-10475
This new component will be presentational, it will get a date input
and it will also return a selected date. It includes a calendar.

Issue: PER-10416
The time picker is a presentational component, its input si a time
object and it returns a time object as well. It contains a time
selector. It works with meridian.

Issue: PER-10416
The edit date and time component is smart, because it manages its own
state, but also the states of the time and date pickers. But still
the state is isolated to this specific component, it gets as input
a date and time object and returns back a date and time object.
It handles the time picker, the date picker, the date qualifiers, start
and end time and also shows an edtf calculated value.

Issue: PER-10416
The service has the resposability to open the modal for the edit date time
component and provide the initial data.

Issue: PER-10416
Because we are using the timezone dropdown component in three places
now, extracting it into a presentational component for reusability
seems the right approach.

It will be a generic isolated component that will provide an input and
a dropdown for choosing the timezone.

Issue: PER-10416
This component will be the smaller version to set the date and time,
it will open the modal editor for more comporehensive choices.

Issue: PER-10416
Moved all logic related to date and time types and validations, including
EDTF mappings into a single point of truth, in the edtf service. This way
the components will only be presentational and only manipulate their own
internal state.

ISSUE: PER-10416
@aasandei-vsp aasandei-vsp force-pushed the PER-10415-new-date-editing-full-screen branch from f2608ad to c37d8a3 Compare May 6, 2026 13:56
@aasandei-vsp aasandei-vsp marked this pull request as ready for review May 6, 2026 13:57
@aasandei-vsp aasandei-vsp changed the title [WIP] Per 10415 new date editing full screen [PER-10415] [BLOCKED] New date editing full screen May 6, 2026
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