bcgov / MFIN-Data-Catalogue

The Finance Data Catalogue enables users to discover data holdings at the BC Ministry of Finance and offers information and functionality that benefits consumers of data for business purposes. The product is built using Drupal and adheres to the Government of BC's Core Administrative and Descriptive etadata Standard.
Other
6 stars 0 forks source link

Make `field_series` be multi-select #473

Closed NicoledeGreef closed 6 months ago

NicoledeGreef commented 6 months ago

OP timer

https://openplus.monday.com/boards/4092908516/pulses/6613876319


The business notes that there is a list of Series values for review within their team. Going through it they are finding some things could fit under multiple buckets. They are trying to figure out if they can/should raise the grain or can we allow for multiple selections.

CraigClark commented 6 months ago

@NicoledeGreef Sure, we can do that.

One thing that would help is a rough idea how many items you think will end up in the taxonomy for series. This is not a technical limitation, it helps us choose the best formatter for the input form.

For the display on the record view, I think we should use the same layout we have for visibility. The label on the left, then a list of right aligned items beside it if there is more than one item. If there is only one item, this is not a list and displays the same as it does now.

image

[!NOTE] Series should not have the circle icon before it, that's there because I cut/paste the html from visibility to make the prototype

Questions

  1. Currently the series vocabulary allows for any term depth. Should this be set to 1?
  2. How many values do you anticipate being in the Series vocabulary?

To proceed

If you want to go ahead with this, please add to sprint and assign to Liam.

ChristaBull commented 6 months ago

@NicoledeGreef some thoughts for you.

1. Currently the series vocabulary allows for any term depth. Should this be set to 1? Yes, I think it should be set to 1. While there is the potential for hierarchies we're trying to land on a set of higher level groupings.

2. How many values do you anticipate being in the Series vocabulary? It's probably going to be a longer list. At the moment we have at least 30 items in our draft but we're still trying to determine where we want to set the groupings so they're meaningful but not too granular. My team is meeting to discuss the draft list this afternoon.

Below is a list of things we currently have identified:

NicoledeGreef commented 6 months ago

@CraigClark please see comment above from @ChristaBull

CraigClark commented 6 months ago

@NicoledeGreef We will go with auto-complete for this. The list is a bit long for a select list.

In the example above, stats has children, which would imply at least two levels. For now we can restrict the vocabulary to 1 level, so you will need to do something lile Stats - Vehicles for the term name.

If you want deeper levels in the future, an admin can change the depth on the vocabulary and change the input widget to SHS.

NicoledeGreef commented 6 months ago

reviewed in dv14.