Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Error indicator for fields #446

Closed
metas-mk opened this issue Feb 27, 2017 · 11 comments
Closed

Error indicator for fields #446

metas-mk opened this issue Feb 27, 2017 · 11 comments

Comments

@metas-mk
Copy link
Member

metas-mk commented Feb 27, 2017

Type of issue

Feature Request

Current behavior

Currently, there is no error indicator for fields. There is an indicator in blue that shows if a mandatory field is empty.

Expected behavior

Have an indicator that shows an error indicator for fields that are mandatory but not filled and for other error situations of fields. The indicator should have the same color as the "not saved indicator for records. see #437
I would suggest a pale red colored line (similar to the density of pulse effect yellow but only as a line similar to mandatory field marker).
As discussed in weekly jour fix. Would be great to have an error message indicator in fields marked as error e.g. a red circled "i" for example when hovering over it then pops up an error description tooltip.

@metas-mk metas-mk added this to the 2017-09 milestone Feb 27, 2017
@metas-mk metas-mk changed the title Error indicator for fields Error indicator for fields/ records Feb 27, 2017
@metas-mk metas-mk changed the title Error indicator for fields/ records Error indicator for fields Feb 27, 2017
@teosarca
Copy link
Member

see:
image

@cadavre
Copy link
Contributor

cadavre commented Feb 28, 2017

Described in #253 .

@damianprzygodzki
Copy link
Contributor

@teosarca ive implemented the respecting of valid property, but i see that there is a missing thing.

screen shot 2017-03-03 at 11 57 47

We assumed that not edited field, should be valid at first sight, but now we are mixing mandatory and valid together, what looks bad. I am waiting for that with merging this PR, in case of avoidance of propagating testing issues.

@cadavre
Copy link
Contributor

cadavre commented Mar 3, 2017

Looks uber-nice for me.

@teosarca we agreed to provide valid: true as initial value? Or adding another property initialValidation: {bool}? I guess it was 1st option.

@teosarca
Copy link
Member

teosarca commented Mar 3, 2017

@damianprzygodzki @cadavre

@teosarca we agreed to provide valid: true as initial value? Or adding another property initialValidation: {bool}? I guess it was 1st option.

Yes, u are right... but i don't have it now.
I would suggest to split this to another task so we can let this task flow... wdyt?

@damianprzygodzki
Copy link
Contributor

damianprzygodzki commented Mar 3, 2017

I think that it is required, and can't be merged without that. It looks at least weird to have mandatory and not valid input at the same time, and that case is occuring really often because the mandatory fields are always empty at the start... I don't want to trigger more issues.

Imho, this task is not done til the support from API. Or we can close that, and create issue for backend - but still, it is not testable.

@teosarca
Copy link
Member

teosarca commented Mar 3, 2017

ok, np... on it.

@teosarca
Copy link
Member

teosarca commented Mar 3, 2017

implemented in metasfresh/metasfresh-webui-api-legacy#203 .
waiting for the build and then i will do a rollout.

NOTE: the field is called initialValue

@teosarca
Copy link
Member

teosarca commented Mar 3, 2017

API ready

@teosarca
Copy link
Member

teosarca commented Mar 6, 2017

Did a quick test:

  • create new order
  • hover bpartner and the "mandatory" error message is displayed
    => NOK because the field has it's initial value

see:
image

damianprzygodzki added a commit that referenced this issue Mar 7, 2017
#446 Do not display error msg when initial value in field
@metas-mk metas-mk self-assigned this Mar 8, 2017
metas-mk added a commit to metasfresh/metasfresh that referenced this issue Mar 8, 2017
Adding the issue metasfresh/metasfresh-webui-frontend-legacy#446 Error indicator for fields to this week's release.
@metas-mk
Copy link
Member Author

metas-mk commented Mar 8, 2017

Tested Works as required. Closing.

@metas-mk metas-mk closed this as completed Mar 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants