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

Publish all without label doesn't let know which product is missing label #2690

Closed
janat08 opened this issue Aug 16, 2017 · 12 comments
Closed
Assignees
Labels
bug For issues that describe a defect or regression in the released software

Comments

@janat08
Copy link

janat08 commented Aug 16, 2017

Expected behavior

If there are problems with a product during publish all, an informative error message would be displayed that indicates what needs to be done

Actual Behavior

error is produced, but there's no immediate indication of where user attention is required

Steps to Reproduce the Behavior

  1. Login as Admin
  2. Create a product but leave "Label" blank
  3. Navigate to the product grid
  4. Hit "Publish All"
  5. Observe that the products don't publish, but there is no indicator what the problem is or which product is problematic.

Versions

Node: 6.11.2
NPM: 3.10.10
Meteor Node: 4.8.4
Meteor NPM: 4.6.1
Reaction CLI: 0.11.0
Reaction: 1.4.1
Reaction branch: master

@janat08
Copy link
Author

janat08 commented Aug 16, 2017

Also spamming add products may block out publish all.

@spencern
Copy link
Contributor

Thanks for reporting this,
We've got an open issue to redesign the way we validate errors when editing or creating a product.
#2274

Additionally #2404 gets into this issue a bit as well, though not specifically in regards to the label.

@brent-hoover brent-hoover added the bug For issues that describe a defect or regression in the released software label Aug 22, 2017
@jm-wanja jm-wanja self-assigned this Aug 24, 2017
@brent-hoover
Copy link
Collaborator

@rymorgan It would be great to get some design input on how this error message should show up. My first idea was just a red X on the products that are problematic but maybe there is something better/more informative.

@janat08
Copy link
Author

janat08 commented Aug 24, 2017

Filtering out products that are okay, or not part of publication draft is good.

@rymorgan
Copy link
Contributor

@zenweasel What would be ideal is you show a red dot instead of the sea green dot on the products. And open the sidebar and, highlight the field and that needs is required with an inline alert that explains what the user needs to do to finish the publishing process. In the case of multiple products missing the label field, we would have to show that inline alert above the grid and say where they need to edit the fields.

@aaronjudd
Copy link
Contributor

@jm-wanja what's the status of this?

@jm-wanja
Copy link
Contributor

jm-wanja commented Aug 30, 2017

@aaronjudd I haven't worked on this yet, I've been dealing with #2533 in the last couple of days.

@jm-wanja
Copy link
Contributor

jm-wanja commented Sep 4, 2017

@rymorgan should the red button completely replace the sea green button(which shows changes made to the product that have not been published) or the red button should show that the product is missing the variant Label? @zenweasel

@rymorgan
Copy link
Contributor

rymorgan commented Sep 5, 2017

@jm-wanja Yes, it should look like this, where teh sea green changes to a danger red (@rui-danger).
reaction-lable-indicator

jm-wanja added a commit that referenced this issue Sep 6, 2017
jm-wanja added a commit that referenced this issue Sep 14, 2017
brent-hoover pushed a commit that referenced this issue Sep 14, 2017
* Show red dot on products that fail validation (#2690)

* Add red button to products missing the variant label (#2690)

* Complete fixing issue (#2690)

* Rename variables and functions (#2690)

* Add inline alert and open edit variant detail card (#2690)

* Remove inline alert (#2690)

* Remove blank line added unnecessarily
@brent-hoover
Copy link
Collaborator

Reopened by #3021

@brent-hoover brent-hoover reopened this Oct 4, 2017
@jm-wanja jm-wanja removed their assignment Oct 6, 2017
@brent-hoover
Copy link
Collaborator

This is still a valid ticket, we just need to ensure that the "red dots" are only shown when the product is actually invalid and double check that creating products in a marketplace shop show up correctly.

@aanchirinah aanchirinah self-assigned this Oct 12, 2017
@brent-hoover
Copy link
Collaborator

Closed via #3147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software
Projects
None yet
Development

No branches or pull requests

7 participants