feat(settings): Create Extra Fields by Formula via built-in JSON editor#874
Closed
akira69 wants to merge 4 commits intoDonkie:masterfrom
Closed
feat(settings): Create Extra Fields by Formula via built-in JSON editor#874akira69 wants to merge 4 commits intoDonkie:masterfrom
akira69 wants to merge 4 commits intoDonkie:masterfrom
Conversation
This was referenced Mar 4, 2026
74b5b76 to
b7cd0cf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now addressed in PR #885
Summary
This PR adds Formula Extra Fields as a user-facing workflow in Settings so people can create reusable calculated values from existing fields without changing stored source data.
In practical use, this helps users build cleaner dates, usage deltas, cost math, and template-ready derived values directly in the app.
betterbugs_recording.webm
User-Facing Outcomes
Show,List,Template.Hide Columnstoggling.derived.<key>.What Changed
1) Formula Authoring Workflow
2) create/edit formula field flow
3) Editor + Help UX
4) Template/List/API Integration
Hide Columnsvisibility toggling.include_in_api, exposed underderived.<key>when derived output is requested.{derived.your_key}derivedpayloadValidation
npm ci && npm run buildin Dockerized Node build environment).8874with successful probe.Scope Notes
Upstream Issue / Feature Request Mapping
Fully Addressed
color_hexon Filament detail and list surfaces, with optional list column toggle behavior.Partially Addressed by Formula Framework
date_only(...)for labels/templates; local-timezone rendering is still out of scope.remaining_weightfrom gross-weight input.hue_from_hex(...)enables derived hue values, but click-to-sort by hue is not implemented here.Formula-Resolvable Requests (No Dedicated Issue Found)
{"days_between": [{"var": "created_at"}, {"today": []}]}{"*": [{"var": "price"}, {"/": [{"var": "remaining_weight"}, {"var": "weight"}]}]}Additional Drying Context
last_driedtimestamp and deriving time-since-last-dried, but this PR does not add first-class drying fields or dedicated drying UI.