Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front: display message when creating a train and rolling stock has no restriction power #5290

Merged

Conversation

clarani
Copy link
Contributor

@clarani clarani commented Oct 11, 2023

closes #4866

Added a message if a rolling stock does not have any restriction power

image

@clarani clarani requested a review from a team as a code owner October 11, 2023 14:18
@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

Merging #5290 (e1f66fc) into dev (e32e129) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev    #5290      +/-   ##
============================================
- Coverage     18.75%   18.75%   -0.01%     
  Complexity     2318     2318              
============================================
  Files           852      852              
  Lines        103448   103456       +8     
  Branches       2408     2408              
============================================
  Hits          19404    19404              
- Misses        82706    82714       +8     
  Partials       1338     1338              
Flag Coverage Δ
front 7.04% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...s/operationalStudies/views/ManageTrainSchedule.tsx 0.00% <0.00%> (ø)
...ents/RollingStockEditor/RollingStockEditorForm.tsx 0.00% <0.00%> (ø)
front/src/modules/rollingStock/helpers/utils.ts 0.00% <0.00%> (ø)
.../ManageTrainSchedule/PowerRestrictionsSelector.tsx 0.00% <0.00%> (ø)

@clarani clarani added this pull request to the merge queue Oct 12, 2023
Merged via the queue into dev with commit 95b9622 Oct 12, 2023
@clarani clarani deleted the cni-4866-display-message-when-rs-has-no-power-restrictions branch October 12, 2023 13:34
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.

front: impossible to select power restrictions when selecting electrical rolling stock
3 participants