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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove taxon icons #5713

Merged
merged 1 commit into from Jul 29, 2020
Merged

Conversation

Matt-Yorkley
Copy link
Contributor

@Matt-Yorkley Matt-Yorkley commented Jul 1, 2020

What? Why?

These icons are inconsistently used across instances and have already started to be removed in a few places ( for example in the mobile UX redesign). They regularly trigger a long string of 404 responses in some servers, but it's not even consistent 馃檲

馃敟 馃敟

What should we test?

Taxon icons are not present in the /shops index page, or on the /shop page. Admin (superadmin?) pages related to editing taxons are working correctly (view, update, etc).

Release notes

Removed taxon icons

@Matt-Yorkley Matt-Yorkley self-assigned this Jul 1, 2020
@sauloperez
Copy link
Contributor

sauloperez commented Jul 1, 2020

Agree but does the product team and the affected instance managers know about it? IMO this should be discussed in the production curation or delivery meeting.

@luisramos0
Copy link
Contributor

Can we have a screenshot of before and after to see what icons are being removed?
Yeah, this should have product input. We should ask for that but include an alternative with cost: how difficult it is to keep these icons and make them work consistently?

@RachL
Copy link
Contributor

RachL commented Jul 1, 2020

@luisramos0 I believe they are only working for AU and UK currently. And maybe one day we will want to provide shops with entries by product category. So we won't use icons but images.
So I wouldn't waste time on them.

@sigmundpetersen
Copy link
Contributor

Isn't this what is already done by @mkllnk through #4671 / #5314 ?

@mkllnk
Copy link
Member

mkllnk commented Jul 1, 2020

My work removed the icon from the product listing (e1422e1). But this pull request is removing the whole feature including the upload of icons etc.

I would like to know what the product team thinks about this, otherwise great initiative!

These icons are inconsistently used across instances and have already been removed in a few places in the app in the mobile UX redesign.
@Matt-Yorkley
Copy link
Contributor Author

Rebased. The build had some weird EnterpriseController errors... 馃憤

@sauloperez
Copy link
Contributor

That's what broke the build and @luisramos0 fixed, I believe.

@@ -10,7 +10,6 @@
.trans-sentence
%div
%span.fat-taxons{"ng-repeat" => "taxon in hub.taxons"}
%render-svg{path: "{{taxon.icon}}"}
Copy link
Contributor

Choose a reason for hiding this comment

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

this is removing the icons from the shops page, I think we need a screenshot with before/after so we can see the impact.

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, seeing we don't mess up with margins and padding would be good

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This PR vs Katuma prod:

Filters in /shops

Screenshot from 2020-07-14 12-05-12
Screenshot from 2020-07-14 12-05-50

Filters in shop page

Screenshot from 2020-07-14 12-07-23
Screenshot from 2020-07-14 12-07-01

No change, these icons are already missing on most servers.

@luisramos0
Copy link
Contributor

ok, these icons on the top right will also go, correct?
uk
image
AUS
image

@sauloperez
Copy link
Contributor

sauloperez commented Jul 15, 2020

I think so @luisramos0 this is how it looks in Katuma

Screenshot from 2020-07-15 17-02-25

We could as well remove that taxon-flag (the ribbon) altogether. It won't have any use.

cc @yukoosawa @daniellemoorhead

@mkllnk
Copy link
Member

mkllnk commented Jul 16, 2020

The ribbon is already removed in the new product listing branch.

Copy link
Contributor

@luisramos0 luisramos0 left a comment

Choose a reason for hiding this comment

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

ok, so, let's go 馃憤

@filipefurtad0 filipefurtad0 self-assigned this Jul 29, 2020
@filipefurtad0 filipefurtad0 added the pr-staged-uk staging.openfoodnetwork.org.uk label Jul 29, 2020
@filipefurtad0
Copy link
Contributor

filipefurtad0 commented Jul 29, 2020

Hi @Matt-Yorkley ,

This looks good,

  • /shops page:

Before this PR

image

After this PR

image

  • /shop page:

before this PR

image

after this PR

image

Checked Admin/Superadmin pages related to editing taxons: all works as before.

Taxon errors 404 from .svg icons are gone after this PR - awesome @Matt-Yorkley !

Ready to go.

@filipefurtad0 filipefurtad0 removed the pr-staged-uk staging.openfoodnetwork.org.uk label Jul 29, 2020
@sauloperez sauloperez merged commit e978755 into openfoodfoundation:master Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants