Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add New SelectionBox Control with TimeRangePicker and DayOfWeekPicker Subclasses #209

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

leewyatt
Copy link
Contributor

This PR introduces a new component called SelectionBox, which resembles the appearance of ComboBox or ChoiceBox but differs in the following ways:

Multi-selection support: Unlike ComboBox and ChoiceBox, SelectionBox supports both single and multi-selection options, providing more flexibility for users.
Customizable buttons: The component allows for the addition of custom buttons to enable quick selections based on user-defined logic.
In addition to the SelectionBox, two new subclasses have been added:

TimeRangePicker: A specialized selection box for choosing time ranges.
DayOfWeekPicker: A customized picker for selecting days of the week.

image image image

Introduces a versatile and customizable selection control, SelectionBox, which supports single and multiple selection modes with enhanced features. The SelectionBoxSkin handles the visual representation and behavior, including extra button functionality and popup management.
Introduced a new `SimpleControlPane` class to manage and display a list of controls with titles. Added corresponding CSS for styling the control pane, ensuring consistent appearance in the demo module.
Introduce the TimeRangePicker custom control for selecting time ranges, supporting both single and multiple selection modes. Additionally, include a demo application showcasing the usage of the new control with various example time ranges and interaction features.
Introduce a new DayOfWeekPicker control for selecting days of the week with single and multiple selection modes. Related changes include demo application updates and minor text adjustments for better user experience.
@leewyatt leewyatt requested a review from dlemmermann October 18, 2024 16:21
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@dlemmermann dlemmermann merged commit 45ff841 into master Oct 18, 2024
3 of 4 checks passed
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.

2 participants