OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Updates to date picker
Parimal Satyalbc1780c76fe9
diff --git a/frontend/src/stories/Datepicker-Basic.stories.mdx b/frontend/src/stories/Datepicker-Basic.stories.mdxindex de3cc6e7f4d..755bc54827a 100644--- a/frontend/src/stories/Datepicker-Basic.stories.mdx+++ b/frontend/src/stories/Datepicker-Basic.stories.mdx@@ -1,6 +1,6 @@import { Meta, Story, Canvas } from '@storybook/addon-docs';-<Meta title="Date Picker/Basic Date Picker" />+<Meta title="Patterns/Date Picker (2): Basic" /># Basic Date Picker@@ -16,15 +16,15 @@ The structure is very basic and consists only of one mini calendar. There are tw### Single-**Range:** allows inputing a range (2023-02-09 - 2023-02-14)+**Single** allows picking just one date (2023-02-09)> **Example**: An example of a basic range date picker (with date pre-filled in the attached date input field)### Range-**Single** allows picking just one date (2023-02-09)+**Range:** allows inputing a range (2023-02-09 - 2023-02-14), and shows the date picker with two months.-> **Example**: An example of a basic range date picker (with date pre-filled in the attached date input field)+> **Example**: An example of a basic range date picker (with date pre-filled in the attached date input field).## Mobilediff --git a/frontend/src/stories/Datepicker-Common.stories.mdx b/frontend/src/stories/Datepicker-Common.stories.mdxindex d9e2d6c5bd6..c283e92f612 100644--- a/frontend/src/stories/Datepicker-Common.stories.mdx+++ b/frontend/src/stories/Datepicker-Common.stories.mdx@@ -1,6 +1,6 @@import { Meta, Story, Canvas } from '@storybook/addon-docs';-<Meta title="Date picker/Common elements" />+<Meta title="Patterns/Date Picker (1): Common elements" /># Date picker: Common elements@@ -93,13 +93,13 @@ Mini days are set in Caption/Regular.- **Regular** days are the default state and cover the vast majority of cases.- Enabled: *Grey 1* text on *White* background.- - On Hover: Grey 1 text on *Primary/Light* background.+ - On Hover: add stroke, 1px, Grey 3 (not-rounded)- Disabled: *Grey 3* text on *White* background.- Used when certain dates that are restricted by relations.- **A non-working day** can be a weekend or one that's individually-defined in the admin settings:- Enabled: *Grey 1* text on *Grey 6* background- Used when the "Working days only" switch is OFF.- - On Hover: Grey 1 text on *Primary/Light* background.+ - On Hover: add stroke, 1px, Grey 3 (not-rounded)- Disabled: *Grey 3* text on *Grey 6* background.- Default state, when the "Working days only" switch is ON.- **Selected-start, select-end or selected-single** indicate the start and finish dates of a range, or the selected date for a single date.@@ -117,7 +117,7 @@ Mini days are set in Caption/Regular.- Used when the selected range spans non-working days that are not included (Working days only switch is ON).- **Today** indicates today's date.- Enabled: *Grey 1* text on *Indication*/*Current* background.- - On Hover: Grey 1 text on *Primary/Light* background.+ - On Hover: add stroke, 1px, Grey 3 (not-rounded)- Disabled: *Grey 3* text on *Indication*/*Current* background.- Used when today falls on a non-working day and "Working days only" switch is ON.diff --git a/frontend/src/stories/Datepicker-Modal.stories.mdx b/frontend/src/stories/Datepicker-Modal.stories.mdxindex 83acfb60458..b951248ea5d 100644--- a/frontend/src/stories/Datepicker-Modal.stories.mdx+++ b/frontend/src/stories/Datepicker-Modal.stories.mdx@@ -1,6 +1,6 @@import { Meta, Story, Canvas } from '@storybook/addon-docs';-<Meta title="Date Picker/Modal date picker" />+<Meta title="Patterns/Date Picker (3): Modal" /># Modal Date Pickerdiff --git a/frontend/src/stories/Datepicker-WorkPackage.stories.mdx b/frontend/src/stories/Datepicker-WorkPackage.stories.mdxindex beba0c2fa9b..ee954d03a27 100644--- a/frontend/src/stories/Datepicker-WorkPackage.stories.mdx+++ b/frontend/src/stories/Datepicker-WorkPackage.stories.mdx@@ -1,6 +1,6 @@import { Meta, Story, Canvas } from '@storybook/addon-docs';-<Meta title="Date Picker/Work Package Date Picker" />+<Meta title="Patterns/Date Picker (4): Work Package" /># Work Package Date Picker