Skip to content

Match Trio's override/temp-target colors for non-Loop backends#668

Open
bjorkert wants to merge 1 commit into
devfrom
override-temptarget-trio-colors
Open

Match Trio's override/temp-target colors for non-Loop backends#668
bjorkert wants to merge 1 commit into
devfrom
override-temptarget-trio-colors

Conversation

@bjorkert
Copy link
Copy Markdown
Member

@bjorkert bjorkert commented Jun 3, 2026

Overrides and temp targets were drawn with the colors swapped relative to Trio. In Trio an override is purple and a temp target is green; LoopFollow had them reversed.

Now non-Loop backends (Trio, OpenAPS) follow Trio's scheme — override purple, temp target green — while Loop keeps its existing colors (override green, temp target purple). The choice keys off the existing device == "Loop" convention, so it reacts to a backend change without recreating the graph.

Also switches the override info-row population in Overrides.swift from == "Trio" to != "Loop" so it applies to all non-Loop backends.

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