Skip to content

Commit cf356fa

Browse files
committed
front: lmr: reduce grid margins from 35s to 15s
Signed-off-by: SarahBellaha <sarah.bellaha@sncf.fr>
1 parent d1826c4 commit cf356fa

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

front/src/applications/stdcm/components/StdcmForm/StdcmConfig.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ const StdcmConfig = ({
125125

126126
useEffect(() => {
127127
if (!isDebugMode) {
128-
dispatch(updateGridMarginAfter(35));
129-
dispatch(updateGridMarginBefore(35));
128+
dispatch(updateGridMarginAfter(15));
129+
dispatch(updateGridMarginBefore(15));
130130
dispatch(updateStdcmStandardAllowance({ type: 'time_per_distance', value: 4.5 }));
131131
}
132132
}, [isDebugMode]);

front/tests/assets/stdcm/stdcmAllStops.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"code": "BC",
66
"endStop": "",
77
"passageStop": "",
8-
"startStop": "00:56",
8+
"startStop": "00:55",
99
"weight": "400t",
1010
"refEngine": ""
1111
},
@@ -14,7 +14,7 @@
1414
"operationalPoint": "Mid_West_station",
1515
"code": "BV",
1616
"endStop": "",
17-
"passageStop": "01:16",
17+
"passageStop": "01:15",
1818
"startStop": "",
1919
"weight": "=",
2020
"refEngine": "="
@@ -23,27 +23,27 @@
2323
"index": 3,
2424
"operationalPoint": "Mid_East_station",
2525
"code": "BV",
26-
"endStop": "01:22",
26+
"endStop": "01:21",
2727
"passageStop": "3 min",
28-
"startStop": "01:25",
28+
"startStop": "01:24",
2929
"weight": "=",
3030
"refEngine": "="
3131
},
3232
{
3333
"index": 4,
3434
"operationalPoint": "North_station",
3535
"code": "BV",
36-
"endStop": "01:33",
36+
"endStop": "01:32",
3737
"passageStop": "4 min",
38-
"startStop": "01:37",
38+
"startStop": "01:36",
3939
"weight": "=",
4040
"refEngine": "="
4141
},
4242
{
4343
"index": 5,
4444
"operationalPoint": "South_station",
4545
"code": "BV",
46-
"endStop": "01:40",
46+
"endStop": "01:39",
4747
"passageStop": "",
4848
"startStop": "",
4949
"weight": "400t",

0 commit comments

Comments
 (0)