o-spreadsheet icon indicating copy to clipboard operation
o-spreadsheet copied to clipboard

[FIX] filter menu: truncate long filter values

Open hokolomopo opened this issue 2 months ago • 1 comments

Description

Long values in the filter menu were not truncated, causing layout issues. There was a text-truncate class, but it was added to the <label> element instead of the <span> containing the text.

Task: 5219611

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_t("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo

hokolomopo avatar Oct 29 '25 08:10 hokolomopo

Pull request status dashboard

robodoo avatar Oct 29 '25 08:10 robodoo

@hokolomopo this should probably target sas-18.2, the truncate issue seems to stem in https://github.com/odoo/o-spreadsheet/pull/5287 which was aded in saas-18.2, and I could reproduce the bug in 18.2 as well

rrahir avatar Nov 07 '25 13:11 rrahir

robodoo r+

rrahir avatar Nov 07 '25 13:11 rrahir