Skip to content

removes time-editor to use editorv2 by default#3837

Merged
awildturtok merged 7 commits intodevelopfrom
feature/bye-bye-time-editor-v1
Feb 4, 2026
Merged

removes time-editor to use editorv2 by default#3837
awildturtok merged 7 commits intodevelopfrom
feature/bye-bye-time-editor-v1

Conversation

@awildturtok
Copy link
Collaborator

experimentally enables SecondaryIds in editorv2

@awildturtok awildturtok requested a review from Kadrian as a code owner January 27, 2026 14:17
@awildturtok awildturtok force-pushed the feature/bye-bye-time-editor-v1 branch from 6613893 to 0071e9f Compare January 27, 2026 16:18
experimentally enables SecondaryIds in editorv2
@awildturtok awildturtok force-pushed the feature/bye-bye-time-editor-v1 branch from 0071e9f to 2f3fe62 Compare January 27, 2026 16:24
@awildturtok awildturtok requested a review from thoniTUB as a code owner January 28, 2026 16:51
Copy link
Collaborator

@thoniTUB thoniTUB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hast du auch schon diesen Shortcut Keybind entfernt?

const queryString = JSON.stringify(node.query);

return TIMEBASED_OPERATOR_TYPES.some((op) => queryString.indexOf(op) !== -1);
return false; //TODO implement for new time based query ops
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ist das jetzt erstmal fertig für diesen PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich versuche mal zu schauen wie das vorher umgesetzt war und imitiere es. War glaube nicht so aufwändig.

@awildturtok awildturtok force-pushed the feature/bye-bye-time-editor-v1 branch from 8af3d4b to 7b354fc Compare February 2, 2026 10:19
@awildturtok
Copy link
Collaborator Author

@awildturtok awildturtok requested a review from thoniTUB February 2, 2026 13:15
} else if (timestamp === "LATEST") {
return t("editorV2.LATEST");
} else {
} else if (timestamp === "WHILE") {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Laut dem TypeGuard kann timestamp gar nicht WHILE sein, und wenn doch, hat das if keinen else case mehr

Comment on lines 36 to 43

export const TIME_TIMESTAMPS: TimeTimestamp[] = [
"ALL",
"ANY",
"EARLIEST",
"LATEST",
];
export const TIME_OPERATORS: TimeOperator[] = ["BEFORE", "AFTER", "WHILE"];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kann man sich hier die Doppelung sparen? Z.B. so: https://stackoverflow.com/a/59420158

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das hatte ich kurz ausprobiert, das hat mir dann aber assignments die nicht aus dem array sind erlaubt, was ich merkwürdig fand. vlt aber auch nur intellij bug.

"@types/redux": "^3.6.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"baseline-browser-mapping": "^2.9.18",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wo für brauchst du das?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

das wurde mir von einer der server angekreidet beim starten

@awildturtok awildturtok force-pushed the feature/bye-bye-time-editor-v1 branch from 82a8992 to 6b8e07c Compare February 4, 2026 10:32
@awildturtok awildturtok enabled auto-merge (squash) February 4, 2026 10:42
@awildturtok awildturtok disabled auto-merge February 4, 2026 10:42
@awildturtok awildturtok merged commit 87b3f0e into develop Feb 4, 2026
7 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.

2 participants