DigitalCommons / mykomap

A web application for mapping initiatives in the Solidarity Economy
3 stars 0 forks source link

[OBO MykoMap] Support explicit configurabilty of field used in Directory panel #237

Closed ColmDC closed 4 months ago

ColmDC commented 7 months ago

Please track against the clockify project [OBO MykoMap]

Description

Add the ability to explicitly specify what field is used in Directory panel in the map configuration. At the moment it is implicit and assumed to be the top field displayed in the Search panel. Implementation needs to be backwards compatible, and if no configuration specified, the top field in the filter is defines the choice of field in the Directory panel.

Acceptance Criteria

ColmDC commented 6 months ago

While addressing this consider what would happen if there are no filters defined. It may cause an exception.
Is it possible to disable the directory panel?

lin-d-hop commented 4 months ago

Hi @ColmDC,

A couple notes:

Does the below correctly interpret what you've said?

Description

Within MM the Directory panel is an expanded version of the first filter in the Search panel. In this issue we want to make it possible to specify another filter, besides the first one, as the filter to be expanded in the Directory panel. The goal is the create a new field that allows any of the filters from the Search panel to be selected, which can be specified in the MM config file.

Acceptance Criteria

ColmDC commented 4 months ago

Perfect. Has anyone even mentioned that you are good at this @lin-d-hop?

lin-d-hop commented 4 months ago

Replaced by #248 (to save the time of other people reading through the comments)