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

Move custom input to attribute UI part plus some refactoring #1672

Merged
merged 10 commits into from
Nov 22, 2023

Conversation

stuzart
Copy link
Member

@stuzart stuzart commented Nov 21, 2023

Updated the UI to handle setting on a sample attribute whether is allows free text.

Also some refactoring around the attribute-type-handlers so that they take the attribute in the initializer.
Also some refactoring to simplify how the handlers are used, so that they are used via the attribute rather than sample type. This was mainly being done through delegation anyway so makes things simpler

Final step to do is to change the "AttributeTypeHandlers" into just "AttributeHandlers" - they currently take the base_type and attribute, but it is now possible to get the base_type via the attribute. This will mostly require updating tests, but will be done as a separate PR to avoid large PRs

@stuzart stuzart added this to the v1.15.0 milestone Nov 21, 2023
@stuzart stuzart requested a review from kdp-cloud November 21, 2023 16:46
Copy link
Collaborator

@kdp-cloud kdp-cloud left a comment

Choose a reason for hiding this comment

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

Pushed a commit with changes for the dynamic table.

@stuzart stuzart merged commit 4655200 into main Nov 22, 2023
@stuzart stuzart deleted the move-custom_input-ui-1648 branch November 22, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants