Repository navigation
Conversation
Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
This branch has not been deployed
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.
A household may know that tomorrow's demand will differ from FTW's forecast. Start a later-release study with a local
LoadShapeDraft: pulling the curve changes nearby future interval means with a smooth falloff, while the base stays available for reset. Watts also allow a zero starting estimate to be raised.This draft is deliberately unconnected to app views, transport and Core. It is not ready to merge and must stay out of the upcoming beta. The full proposed user flow, Core storage, forecast composition, shared contract, expiry, offline/conflict handling and delivery evidence live in srcfl/ftw#1737. The timeline in #93 and the load-basis review in #94 have right of way; this PR touches neither.
Every pointer move must use the same pre-gesture value and total displacement. The draft excludes the current and past intervals, preserves missing spans, supports range reset, and filters edits that expire before submission. Actual persistence, permission checks, revision conflicts, planner integration, cold-start forecast coverage and native gestures remain future work. No wire names or shared contracts change here.
Validation on commit 08b6d35:
cd appleApp/FTWKit && swift test --scratch-path /private/tmp/ftw-load-shape-swift-buildpasses: 266 FTWShared tests and 559 FTWKit tests, including 12 new load-shaping tests.git diff --checkpasses. The full package run reports existing warnings in unrelated tests.The local browser study uses synthetic data and is separate from these Swift files. There is no new native UI to review in this commit. No box, physical iPhone, native gesture performance, transport write or hardware outcome has been validated. No merge, beta, TestFlight upload or deployment is part of this PR.