OpenRefine icon indicating copy to clipboard operation
OpenRefine copied to clipboard

Ability to resize Facet/Filter section of window

Open jquartel opened this issue 9 months ago • 4 comments
trafficstars

I notice that the 3.9 beta1 version has columns that can be resized (though I'm finding this pretty buggy, especially in Safari). This is good but the one section that I'd really like to be able to resize is the Facet/Filter side bar. In many of the projects I work on, the 'choices' in the facets are actually my main result, so it would be great to be able to make this section a little wider when values are long and wrapping.

jquartel avatar Jan 30 '25 16:01 jquartel

I also think #5618 has some consideration in the implementation of this feature. For example:

  • Do we place minimum limits on the left panel div size or not?
  • How do we handle text wrapping or just void the text completely if it can't fit within each span or div element?

thadguidry avatar Jan 31 '25 09:01 thadguidry

In fact I notice that wrapping only occurs if a result contains white space. If the result(s) are long with no white space then there is a horizontal scroll bar at the bottom of the facet window allowing one to check out what's hidden on the right.

jquartel avatar Feb 01 '25 09:02 jquartel

Just a note here, but with preferences, it's already possible to resize the facet/history panel: https://openrefine.org/docs/manual/running#preferences

Width of the panel for facets/history: ui.browsing.facetsHistoryPanelWidth

Regards, Antoine

antoine2711 avatar Feb 02 '25 02:02 antoine2711

Oh that is interesting, thank you Antoine!

jquartel avatar Feb 02 '25 17:02 jquartel