Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Feat: product filtering #119

Merged
merged 30 commits into from
Oct 13, 2021
Merged

Feat: product filtering #119

merged 30 commits into from
Oct 13, 2021

Conversation

pKorsholm
Copy link
Contributor

What

  • Product filtering similar to that of orders

How

  • using the same patterns and components as was used in orders

Copy link
Contributor

@olivermrbl olivermrbl left a comment

Choose a reason for hiding this comment

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

A couple of changes to the UI and one fix to how we fetch tag-usage.

We are currently fetching tag-usage quite a lot. Both on initial load and everytime we click a button. We should limit this to a single call upon opening the products overview.

See attached image for reference:
image

src/domain/products/index.js Show resolved Hide resolved
src/domain/products/index.js Show resolved Hide resolved
@olivermrbl
Copy link
Contributor

A couple of changes to the UI and one fix to how we fetch tag-usage.

We are currently fetching tag-usage quite a lot. Both on initial load and everytime we click a button. We should limit this to a single call upon opening the products overview.

See attached image for reference: image

Did you get a chance to look at these as well? @pKorsholm

@pKorsholm
Copy link
Contributor Author

I have addressed your comments @olivermrbl 😄

@pKorsholm pKorsholm requested a review from olivermrbl October 12, 2021 09:06
Copy link
Contributor

@olivermrbl olivermrbl left a comment

Choose a reason for hiding this comment

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

Very cool!

@pKorsholm pKorsholm merged commit 82767e3 into develop Oct 13, 2021
fPolic pushed a commit that referenced this pull request Mar 1, 2022
* hotfix: Show variants on new product (#108)

* filter dropdown

* tags working

* ui update for dropdown

* ui adjust

* pr adjust

* filter dropdown

* tags working

* ui update for dropdown

* ui adjust

* pr adjust

* tags by id

* dont fail if products dont exist

* fixed offsets and pagination

* review updates

* fetch tags only when tags are selected as filters

* make tags a filter object

* null check for tags

* filtering nulls

* removed comments

* checkpoint

* checkpoint

* working until every tag is deleted

* tooltip working

* remove console.log

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: olivermrbl <oliver@mrbltech.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants