Skip to content

feat: pick WOT filter signals by vehicle tag - #209

Merged
tzebrowski merged 1 commit into
mainfrom
feat/wot-filter-per-tag-signals
Aug 24, 2026
Merged

feat: pick WOT filter signals by vehicle tag#209
tzebrowski merged 1 commit into
mainfrom
feat/wot-filter-per-tag-signals

Conversation

@tzebrowski

Copy link
Copy Markdown
Owner

The WOT quick-filter always isolated the 175tbi channel set and preselected every signal in the log. On a 2.0gme file that meant filtering ~80 unrelated channels (oil level, fuel level, ...) to then isolate names that ECU never reports.

MathDefinition gains autoEnableSignalsByTag, keyed on LoadedFile.tags (seeded from the Drive appProperties a file was loaded with). The WOT formula now maps '175tbi' to the existing list and '2.0gme' to its own, with the 175tbi set kept as the tag-agnostic default so untagged logs behave as before.

MathChannelsService resolves the list (resolveAutoEnableSignals), the sources to preselect (resolveBatchSources) and the tag that matched (resolveAutoEnableTag). Signal names are matched case/whitespace- insensitively against the file's own names, like the acceleration extra-curve lookup, since the GME dictionary's newline-split descriptions come through with irregular spacing; an exact-name lookup would silently isolate nothing. A tagged file whose channels are all absent falls back to selecting everything rather than leaving Create disabled with an empty selection.

The modal notes which tag drove the preselection under both the "Signals to Filter" and "Signals to Show" fields.

The WOT quick-filter always isolated the 175tbi channel set and
preselected every signal in the log. On a 2.0gme file that meant
filtering ~80 unrelated channels (oil level, fuel level, ...) to
then isolate names that ECU never reports.

MathDefinition gains autoEnableSignalsByTag, keyed on LoadedFile.tags
(seeded from the Drive appProperties a file was loaded with). The WOT
formula now maps '175tbi' to the existing list and '2.0gme' to its own,
with the 175tbi set kept as the tag-agnostic default so untagged logs
behave as before.

MathChannelsService resolves the list (resolveAutoEnableSignals), the
sources to preselect (resolveBatchSources) and the tag that matched
(resolveAutoEnableTag). Signal names are matched case/whitespace-
insensitively against the file's own names, like the acceleration
extra-curve lookup, since the GME dictionary's newline-split
descriptions come through with irregular spacing; an exact-name lookup
would silently isolate nothing. A tagged file whose channels are all
absent falls back to selecting everything rather than leaving Create
disabled with an empty selection.

The modal notes which tag drove the preselection under both the
"Signals to Filter" and "Signals to Show" fields.
@tzebrowski
tzebrowski merged commit 92ec1db into main Aug 24, 2026
4 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.

1 participant