Input Field Enhancments#2025
Draft
capricornunicorn123 wants to merge 75 commits into
Draft
Conversation
…and ConstellationInputField listeners
|
…le support with ContellationInputField
Collaborator
Collaborator
Collaborator
1 task
|
This pull request is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this pull request. |
1 task
This was referenced Nov 13, 2025
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.














Prerequisites
Reviewed the checklist
Reviewed feedback from the "Sonar Cloud" bot. Note that you have to wait
for the "CI / Unit Tests") to complete first. Failed Unit tests can be
debugged by adding the label "verbose logging" to the GitHub PR.
Description of the Change
This PR aims to address limitations with the current implementation of input fields in Constellation. A suite of classes will be introduced to provide a custom implementation of various input field utilized in constellation. This will provide a number of benefits including increasing reusability, increasing visual consistency and increasing the effectiveness of their use.
Each input field will be based off of a "Magic-Wand" Style input field classed as the abstract
ConstelationInputFildThis Base
ConstellationInputFieldenables a rich framework for facilitating a number of use cases. These Include:ConstellationInputField. All implementation ofConstellationInputField's must be able to provide a list ofMenuItem's which have a defines action that modifies the value of the Input Field if the option is selected. This allows for an implementation specific autocomplete functionality.ConstellationInputFieldFollowing the above image, the base class can be adapted and extended to suit any input field utilized in constellation.
The following rules will be used to ensure consistent appearance and use.
Below are the new input fields and their current completion level:
Password Input -

PasswordInputField(In Progress)Single Line Text Input -

TextInputField(TextType.SINGLELINE)(In Progress)Multi Line Text Input -
TextInputField(TextType.MULTILINE)(In Progress)File Chooser Input -

FileInput(FileKind.OPEN)(In Progress)Single Choice Input -

ChoiceInputField(ChoiceType.SINGLE)(Not Started)Multi Choice Input -

ChoiceInputField(ChoiceType.MULTIPLE)(Not Started)Color Input -

ColorInputField(In Progress)Number Input -

NumberInputField(In Progress)Alternate Designs
Input fields have historically been extended by adding tooltips and adjacent buttons which extend the functionality of the input field. Although this approach is convenient, the intended use of this buttons is not always clear and can lead to different appearances among related input fields
Why Should This Be In Core?
Input fields are a core feature of Constellation
Benefits
Increased interface visual quality
Increasing code reusability
Increasing resilience to change by decoupling the application from external input field providers such as ControlsFX
Possible Drawbacks
Input fields are used throughout Constellation and this change will require the manual updating of each module.
Verification Process
The verification process will need to be thorough as this change has the potential to impact every view, and interactive or Data Access Plugin. In most cases the integration of the new input fields into these vies and plugins will be deliberate so the verification process of each oof these changes can be detailed on a case-by-case- basis.
Applicable Issues
#1877
#1012
#1518