Skip to content

style: change default delimeter to be ": " instead of "="#531

Open
okt-limonikas wants to merge 3 commits into
ts-factory:mainfrom
okt-limonikas:replace-delimeter
Open

style: change default delimeter to be ": " instead of "="#531
okt-limonikas wants to merge 3 commits into
ts-factory:mainfrom
okt-limonikas:replace-delimeter

Conversation

@okt-limonikas

Copy link
Copy Markdown
Collaborator

Currently we use "=" as a delimeter for <key>=<value> pairs and use "=" also in API requests make this behaviour configurable via global app config and display in ": " as a default delimeter. This change is backward compatible with current usage of "=", so users can use both "=" and ": " when filling out forms.

@okt-limonikas okt-limonikas self-assigned this Mar 2, 2026
@okt-limonikas okt-limonikas deleted the replace-delimeter branch June 15, 2026 21:27
@okt-limonikas okt-limonikas restored the replace-delimeter branch June 15, 2026 21:29
@okt-limonikas okt-limonikas reopened this Jun 15, 2026
@okt-limonikas okt-limonikas force-pushed the replace-delimeter branch 3 times, most recently from 046ff69 to 59ed2b2 Compare June 15, 2026 22:32
@okt-limonikas okt-limonikas marked this pull request as ready for review June 16, 2026 22:51
@okt-limonikas okt-limonikas requested a review from k0nstantin June 16, 2026 22:51
@okt-limonikas okt-limonikas force-pushed the replace-delimeter branch 3 times, most recently from 479773e to 17ac732 Compare June 19, 2026 12:14
Currently we use "=" as a delimeter for `<key>=<value>` pairs and use
"=" also in API requests make this behaviour configurable via global
app config and display in ": " as a default delimeter. This change is
backward compatible with current usage of "=", so users can use both
"=" and ": " when filling out forms.

Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
The config import was added to the run/test/verdict search sections but
never used, leaving the BadgeFields without delimiter props (and tripping
no-unused-vars). Pass config.keyValueDisplay/SubmitDelimiter through so the
parameter/tag/etc. inputs format and normalize consistently with the rest
of the app.

Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
normalizeRunDataQuery hardcoded ';' for both split and join while the rest
of the codebase (history-slice, analytics, run-endpoints, router) uses
config.queryDelimiter. Source the separator from config so runData parsing
stays correct if the delimiter is ever reconfigured.

Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant