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

Validate duration fields in UI #244

Closed
objectiser opened this issue Sep 4, 2018 · 1 comment
Closed

Validate duration fields in UI #244

objectiser opened this issue Sep 4, 2018 · 1 comment
Assignees

Comments

@objectiser
Copy link
Contributor

objectiser commented Sep 4, 2018

Requirement - what kind of business use case are you trying to solve?

Validate the duration fields before allowing the search

Problem - what in Jaeger blocks you from solving the requirement?

Currently an invalid duration field can be specified and sent to the backend, resulting in an error in the main area.

jaeger-invalid-min-duration

Proposal - what do you suggest to solve the problem or improve the existing situation?

Find Traces button only enabled if all of the fields are valid - so when user enters content into the min/max duration fields it must be valid before the search button is re-enabled.

Any open questions to address

everett980 added a commit to everett980/jaeger-ui that referenced this issue Dec 12, 2018
everett980 added a commit to everett980/jaeger-ui that referenced this issue Dec 12, 2018
@everett980 everett980 self-assigned this Dec 13, 2018
everett980 added a commit to everett980/jaeger-ui that referenced this issue Dec 20, 2018
everett980 added a commit that referenced this issue Jan 4, 2019
…291)

* Add validation for duration fields in SearchForm (#244)

Signed-off-by: Everett Ross <[email protected]>

* Add tests for redux-form-field-adapter

Signed-off-by: Everett Ross <[email protected]>

* Fix boolean prop type

Signed-off-by: Everett Ross <[email protected]>

* Add boolean for input validation, change popover to show when inactive

Signed-off-by: Everett Ross <[email protected]>

* Add tests for onChangeAdapter

Signed-off-by: Everett Ross <[email protected]>

* Create separate ValidatedAdaptedInput for duration fields

Signed-off-by: Everett Ross <[email protected]>

* Remove unnecessary curly braces

Signed-off-by: Everett Ross <[email protected]>
everett980 added a commit to everett980/jaeger-ui that referenced this issue Jan 16, 2019
…tracing#244) (jaegertracing#291)

* Add validation for duration fields in SearchForm (jaegertracing#244)

Signed-off-by: Everett Ross <[email protected]>

* Add tests for redux-form-field-adapter

Signed-off-by: Everett Ross <[email protected]>

* Fix boolean prop type

Signed-off-by: Everett Ross <[email protected]>

* Add boolean for input validation, change popover to show when inactive

Signed-off-by: Everett Ross <[email protected]>

* Add tests for onChangeAdapter

Signed-off-by: Everett Ross <[email protected]>

* Create separate ValidatedAdaptedInput for duration fields

Signed-off-by: Everett Ross <[email protected]>

* Remove unnecessary curly braces

Signed-off-by: Everett Ross <[email protected]>
Signed-off-by: Everett Ross <[email protected]>
@everett980
Copy link
Collaborator

I didn't use the correct syntax in the PR that addressed this, closing now. Please re-open if the issue persists.

vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this issue Jul 5, 2021
…tracing#244) (jaegertracing#291)

* Add validation for duration fields in SearchForm (jaegertracing#244)

Signed-off-by: Everett Ross <[email protected]>

* Add tests for redux-form-field-adapter

Signed-off-by: Everett Ross <[email protected]>

* Fix boolean prop type

Signed-off-by: Everett Ross <[email protected]>

* Add boolean for input validation, change popover to show when inactive

Signed-off-by: Everett Ross <[email protected]>

* Add tests for onChangeAdapter

Signed-off-by: Everett Ross <[email protected]>

* Create separate ValidatedAdaptedInput for duration fields

Signed-off-by: Everett Ross <[email protected]>

* Remove unnecessary curly braces

Signed-off-by: Everett Ross <[email protected]>

Signed-off-by: vvvprabhakar <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this issue Jul 5, 2021
…tracing#244) (jaegertracing#291)

* Add validation for duration fields in SearchForm (jaegertracing#244)

Signed-off-by: Everett Ross <[email protected]>

* Add tests for redux-form-field-adapter

Signed-off-by: Everett Ross <[email protected]>

* Fix boolean prop type

Signed-off-by: Everett Ross <[email protected]>

* Add boolean for input validation, change popover to show when inactive

Signed-off-by: Everett Ross <[email protected]>

* Add tests for onChangeAdapter

Signed-off-by: Everett Ross <[email protected]>

* Create separate ValidatedAdaptedInput for duration fields

Signed-off-by: Everett Ross <[email protected]>

* Remove unnecessary curly braces

Signed-off-by: Everett Ross <[email protected]>
Signed-off-by: Everett Ross <[email protected]>

Signed-off-by: vvvprabhakar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants