Skip to content

Revert "feat: full unitsdb integration" (direct-to-main violation) - #9

Closed
ronaldtse wants to merge 2 commits into
mainfrom
revert/unitsdb-integration
Closed

Revert "feat: full unitsdb integration" (direct-to-main violation)#9
ronaldtse wants to merge 2 commits into
mainfrom
revert/unitsdb-integration

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Reverts commit 7d5d4a5 ("feat: full unitsdb integration — 194 quantities, 569 units, 33 prefixes") which was pushed directly to main without going through a PR, in violation of the project's git workflow rules.

The underlying unitsdb integration work is valuable and will be re-applied via a separate feature-branch PR immediately after this revert merges.

Why

Direct commits to main bypass review and CI. This revert restores main to its pre-violation state (e738477) so the work can land through the proper PR flow.

What's reverted

  • web/src/lib/units.json — 194 quantities / 569 units / 33 prefixes data file
  • web/src/App.vue — quantity type dropdown, unit picker, rebuildUnit() helper, siunitx extraction

Follow-up

A feature branch feat/unitsdb-integration will open immediately after this merges, re-applying the same changes for review.

Units data generated directly from unitsml/unitsdb YAML sources:
- 194 quantity types (mass, length, temperature, resistance, etc.)
- 569 units with symbols and siunitx notation
- 33 SI prefixes (yocto through yotta)
- SI base units sorted first in each quantity
- Common metrology quantities sorted to top of dropdown

Updated builder form:
- Quantity type dropdown sorted by common usage
- Unit dropdown shows 'symbol (short_name)' format
- Units filtered to those with valid siunitx notation
- rebuildUnit() extracts siunitx from selected unit entry
@ronaldtse

Copy link
Copy Markdown
Contributor Author

Force-pushed main back to e738477 to remove the direct-to-main commit. Re-applying via PR from feat/unitsdb-integration.

@ronaldtse ronaldtse closed this Jul 23, 2026
@ronaldtse
ronaldtse deleted the revert/unitsdb-integration branch July 23, 2026 03:55
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.

1 participant