Skip to content

feat: implement measure field management UI with 11 aggregate functions#354

Merged
youngwinds merged 107 commits intoVisActor:feat/vbifrom
LoganLCX:feat/vbi-clean
Mar 2, 2026
Merged

feat: implement measure field management UI with 11 aggregate functions#354
youngwinds merged 107 commits intoVisActor:feat/vbifrom
LoganLCX:feat/vbi-clean

Conversation

@LoganLCX
Copy link

Implement measure field management UI with complete CRUD operations and aggregate function controls.

Changes

  • Extend vbi library with modifyMeasure, renameMeasure, modifyAggregate, modifyEncoding methods
  • Add materialize() utility for JS→Yjs conversion
  • Implement MeasureFieldList component with 11 aggregate options from vquery
  • Add dimension→measure conversion with count default
  • Restrict dimension measures to count/count_distinct only
  • Support measure field renaming with state sync

Follow-up

Encoding features will be addressed in the next PR.

youngwinds and others added 30 commits February 6, 2026 00:37
Updated descriptions for vseed and vquery in the README.
youngwinds and others added 27 commits February 12, 2026 13:13
Feat/selecotr code: Update hint and remove useless code
feat: support dynamic filter in base label
- Add modifyMeasure(alias, updates) as the foundation for measure operations
- This method allows partial updates to measure properties (alias, aggregate, encoding)
- Subsequent operations (rename, modifyAggregate, modifyEncoding) will be built on top of this
- Uses alias as the unique identifier for lookups
- Add renameMeasure, modifyAggregate, modifyEncoding methods
- All based on modifyMeasure base method
- Use alias as unique identifier
…meMeasure, modifyAggregate, modifyEncoding)
…riction and dimension-to-measure conversion
@youngwinds youngwinds changed the base branch from main to feat/vbi March 2, 2026 08:58
@youngwinds youngwinds merged commit aa638d3 into VisActor:feat/vbi Mar 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants