Closed Taxel closed 1 year ago
Hi @Taxel, After some internal debate, we concluded that your proposal would be a useful addition to WebComponents.
At this point in time there is no consensus yet on how exactly this feature would be implemented. Due to the involvement of add-params
, there is a chance of causing a chain of side-effects. Therefore, we must create a thorough concept first.
Unfortunately, it's difficult to estimate how long this will take but we are ourselves eager to bring this feature to life soon.
Hi @Taxel,
We are currently working on a task that should solve your described issue.
At the moment we are thinking to introduce a new attribute on ff-communication
.
<ff-communication category-page="filterManufacturer=MyFilterString">
This attribute will set navigation=true
and the specified filter string. The filter string will not be removable by ff-asn-remove-all-filter
.
add-params
will remain available and continue to be removable by ff-asn-remove-all-filter
.
category-page
attribute was released a while ago.
Hey there,
the
ff-asn-filter
currently supportskeep-category-path
, which works fine on category pages. I am currently building a "Our Brands" page with factfinder results for each brand. This was quickly implemented by passingadd-params="navigation=true,filterManufacturer=MyURLEncodedManufacturer"
toff-communication
. The problem is, that theff-asn-remove-all-filter
can now reset the brand, which is obviously not desirable in this case.I propose to add an option that simply keeps the
add-params
in the communication object the same and resets everything else. Ideally, theff-asn-remove-all-filter
would also only be visible if filters in addition to theadd-params
are selected, not always when a filter is set, which is also a minor problem withkeep-category-path
.