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

release-4.0.0 (HDS-2069) Select component (part I) #1240

Merged
merged 10 commits into from
Jul 8, 2024

Conversation

NikoHelle
Copy link
Contributor

Note: target branch is another select component branch with its own PR.

Description

First commits for the Select component. Skeleton version with only single select and basic components.

Related Issue

https://helsinkisolutionoffice.atlassian.net/browse/HDS-2069

Motivation and Context

Making multiple PRs for the Select instead of one huge.

How Has This Been Tested?

Unit tests

Demo

Screenshots (if appropriate):

Add to changelog

Not until whole Select is ready

@NikoHelle NikoHelle requested a review from a team March 8, 2024 16:50
@NikoHelle NikoHelle force-pushed the hds-2069-select-part-i branch 2 times, most recently from f0b0722 to bb2e048 Compare March 14, 2024 18:57
Copy link
Contributor

@laurakarhu laurakarhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, couple of questions and remarks. Please have developer reviews as well :D

@laurakarhu laurakarhu added the Breaking changes Issue or pull request that includes breaking changes. label Apr 9, 2024
@laurakarhu laurakarhu added this to the HDS 4.0.0 milestone Apr 23, 2024
Base automatically changed from hds-2069-data-component to hds-2069-feat-branch July 8, 2024 07:19
@NikoHelle NikoHelle force-pushed the hds-2069-select-part-i branch from bb2e048 to ff6da96 Compare July 8, 2024 10:15
Copy link

github-actions bot commented Jul 8, 2024

Test Results

1 tests   1 ✅  0s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 37dc258.

♻️ This comment has been updated with latest results.

NikoHelle added 10 commits July 8, 2024 13:48
The select button must show number of hidden elements.

This util can find the last visible one.
The option list should close on outside click.

Same feature has been used in other components, but no common hook has existed.
And a hook for using the DataProvider with Select data types.
Components trigger events that change the data. This is one common place for all events.
When an event is triggered, dataUpdater listens to them and changes Select component's data
@NikoHelle NikoHelle force-pushed the hds-2069-select-part-i branch from ff6da96 to 37dc258 Compare July 8, 2024 10:56
@NikoHelle NikoHelle merged commit ad1e698 into hds-2069-feat-branch Jul 8, 2024
7 checks passed
@NikoHelle NikoHelle deleted the hds-2069-select-part-i branch July 8, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking changes Issue or pull request that includes breaking changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Combobox: removing selected option and/or displaying all options if selection exists
2 participants