@object-ui/components 4.0.12 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,107 @@
1
1
  # @object-ui/components
2
2
 
3
+ ## 4.3.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 4e7bc1b: **Report editor panel overhaul**
8
+
9
+ The report configuration panel is now safe to open on any spec-shape `Report` and only exposes fields that are actually persisted by `@objectstack/spec`.
10
+
11
+ `@object-ui/plugin-report`:
12
+ - Add a bidirectional `SpecFilterAdapter` so `ReportConfigPanel` can edit
13
+ spec `FilterCondition` filters (`{field: value}`, `{field: {$op: value}}`,
14
+ top-level `$and`/`$or`). Complex / nested filters fall back to a
15
+ read-only banner and are preserved verbatim on save.
16
+ - Drop sections that never round-tripped through the spec
17
+ (`conditionalFormatting`, `sections`, `export`, `schedule`, `appearance`)
18
+ and their helper components.
19
+ - Add type-driven section visibility: `tabular` shows Columns/Filters,
20
+ `summary` adds Rows + Chart, `matrix` adds Rows + Columns axis + Chart.
21
+ - New `GroupingsBuilder` covers `groupingsDown`/`groupingsAcross` with
22
+ `sortOrder` and date-aware `dateGranularity` controls.
23
+ - New `ColumnsEditor` lets users reorder picked columns, override labels,
24
+ set aggregates and choose a display format.
25
+ - Chart subset now mirrors the spec: chart `title`, `showLegend`,
26
+ `showDataLabels`, plus `funnel` (scatter removed).
27
+ - Validation banner highlights missing `objectName` and missing
28
+ rows/columns for `matrix`/`summary` reports.
29
+ - All editor labels and hints are i18n-driven (`report.editor.*`).
30
+ - 18 new unit tests cover the filter adapter round-trip.
31
+
32
+ `@object-ui/components`:
33
+ - `FilterBuilder` now guards against malformed external `value` props.
34
+ Previously a spec-shape filter (`{is_active: true}`) would crash the
35
+ component on first render; the builder now falls back to an empty
36
+ AND group whenever `value` is not a valid `FilterGroup`.
37
+
38
+ `@object-ui/i18n`:
39
+ - Add `report.editor.*` strings to `en` and `zh`.
40
+
41
+ - 8442c05: Improve report editor panel usability based on real-user browser testing:
42
+ - **Wider config panel** — the report editor now defaults to a `--config-panel-width`
43
+ of 440px (up from 280px), driven by a new optional `style` prop on
44
+ `ConfigPanelRenderer`. Long field labels, report titles, type labels, and filter
45
+ rows no longer truncate to "Account Na" / "kup" / "ct" / 1-character widths.
46
+ - **Disambiguated "Columns" sections** — for `summary` and `matrix` reports the
47
+ measure list is now labelled **"Values / 度量"** (pivot-style vocabulary) instead
48
+ of "Columns", which previously clashed with the matrix's pivot column axis
49
+ (also called "Columns / 列"). The two sections used to be indistinguishable.
50
+ New i18n key `report.editor.values` / `valuesHint` is shipped for all 10
51
+ locales (en, zh, ar, de, es, fr, ja, ko, pt, ru).
52
+ - **Reordered sections for matrix/summary** — the editor now surfaces _Rows_
53
+ and _Columns_ (the pivot axes) **before** _Values_, mirroring how a business
54
+ user thinks about a pivot table.
55
+ - **Per-row aggregate/format headers** — each column row in `ColumnsEditor` now
56
+ shows small "Aggregate" / "Format" labels above the respective selects, and
57
+ the row uses a 2-line layout so the label input has its own line. The cramped
58
+ 3-dropdowns-side-by-side layout at 10px font is gone.
59
+ - **Searchable field picker** — the "Add columns" list now has a search box,
60
+ a `filtered / total` counter, an empty-state message, and a scrollable bordered
61
+ container. New i18n keys: `report.editor.searchFields`,
62
+ `report.editor.noMatchingFields`.
63
+
64
+ - Updated dependencies [f196cf4]
65
+ - Updated dependencies [ee1cc96]
66
+ - Updated dependencies [0b032be]
67
+ - Updated dependencies [115d36a]
68
+ - Updated dependencies [4e7bc1b]
69
+ - Updated dependencies [8442c05]
70
+ - @object-ui/i18n@4.3.0
71
+ - @object-ui/react@4.3.0
72
+ - @object-ui/types@4.3.0
73
+ - @object-ui/core@4.3.0
74
+
75
+ ## 4.2.1
76
+
77
+ ### Patch Changes
78
+
79
+ - @object-ui/types@4.2.1
80
+ - @object-ui/core@4.2.1
81
+ - @object-ui/i18n@4.2.1
82
+ - @object-ui/react@4.2.1
83
+
84
+ ## 4.2.0
85
+
86
+ ### Patch Changes
87
+
88
+ - Updated dependencies [eb738bd]
89
+ - Updated dependencies [650392e]
90
+ - Updated dependencies [84b4bf1]
91
+ - @object-ui/i18n@4.2.0
92
+ - @object-ui/react@4.2.0
93
+ - @object-ui/types@4.2.0
94
+ - @object-ui/core@4.2.0
95
+
96
+ ## 4.1.0
97
+
98
+ ### Patch Changes
99
+
100
+ - @object-ui/types@4.1.0
101
+ - @object-ui/core@4.1.0
102
+ - @object-ui/i18n@4.1.0
103
+ - @object-ui/react@4.1.0
104
+
3
105
  ## 4.0.12
4
106
 
5
107
  ### Patch Changes