Energinet-DataHub / greenforce-frontend

GreenForce monorepo for the DataHub and Energy Origin frontends. Part of Energinet DataHub.
Apache License 2.0
72 stars 13 forks source link

feat(dh): allow future period when scheduling #3460

Closed ManBearTM closed 3 weeks ago

ManBearTM commented 3 weeks ago

Description

When scheduling, you weren't allowed to choose periods in the future. This severely limited the usefulness of the scheduling feature. This PR fixes that by moving the schedule field up, so that we can adjust the period validator accordingly. That also means I had to update the watt-placeholder-mask to support dynamically updating the Maskito mask, as it was previously only set once on initialization.

References

nx-cloud[bot] commented 3 weeks ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 92eb9e867e858bbd5f5627e62bab0cb655b83fca. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target - [`nx build app-eo`](https://cloud.nx.app/runs/0uPeQ7qY8y?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.