front: use local track name#14780
Merged
Uriel-Sautron merged 7 commits intohai/editoast-track-reference-filterfrom Jan 27, 2026
Merged
front: use local track name#14780Uriel-Sautron merged 7 commits intohai/editoast-track-reference-filterfrom
Uriel-Sautron merged 7 commits intohai/editoast-track-reference-filterfrom
Conversation
c14d3cf to
7d7cef2
Compare
Contributor
SarahBellaha
left a comment
There was a problem hiding this comment.
Some files still need to be updated :
usePathStepsMetadata.ts,TimeStopsInput.tsx:
➡️ We could simplify thefetchAndFormatRowsfunction like :
const fetchAndFormatRows = async () => {
if (pathStepsAndSuggestedOPs) {
const formatedRows = formatSuggestedViasToRowVias(
pathStepsAndSuggestedOPs,
pathSteps || [],
t,
startTime,
TableType.Input
);
setRows(updateDaySinceDeparture(formatedRows, { keepFirstIndexArrival: true }));
}
};
flomonster
requested changes
Jan 20, 2026
Member
flomonster
left a comment
There was a problem hiding this comment.
Using an infra with local track name does not work since the backend does not take it into account. So There is a dependency with this PR: #14807
kmer2016
reviewed
Jan 20, 2026
Contributor
kmer2016
left a comment
There was a problem hiding this comment.
I agree with @SarahBellaha 's comments.
Contributor
Author
Refactoring is not possible because the |
38d31b0 to
bafaf2d
Compare
bafaf2d to
d1b5520
Compare
Contributor
|
OK for tests/, but i'll wait for the dependency so we can manually test |
d1b5520 to
5a1280f
Compare
0071f31 to
62f1319
Compare
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
Signed-off-by: Uriel-Sautron <uriel.sautron@gmail.com>
5a1280f to
9a276e2
Compare
d4450b7
into
hai/editoast-track-reference-filter
18 checks passed
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.
The new variable
local_track_namemust be used for:close #14323