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: fix stdcm add via scroll #10324

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Conversation

SharglutDev
Copy link
Contributor

@SharglutDev SharglutDev commented Jan 10, 2025

  • Focus the CI input of the new added via
  • Reset the state giving the via index to scroll to after the action to enable the animation even when the user adds 2 vias in a row at the same index

close #9713 (see last comment in the issue)

@SharglutDev SharglutDev requested a review from a team as a code owner January 10, 2025 16:00
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Jan 10, 2025
Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

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

LGTM regardless, feel free to resolve!

@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.62%. Comparing base (4aeb5fd) to head (5e8e88c).
Report is 8 commits behind head on dev.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10324      +/-   ##
==========================================
- Coverage   81.63%   81.62%   -0.02%     
==========================================
  Files        1063     1063              
  Lines      105426   105432       +6     
  Branches      722      722              
==========================================
- Hits        86060    86054       -6     
- Misses      19325    19337      +12     
  Partials       41       41              
Flag Coverage Δ
editoast 73.64% <ø> (-0.05%) ⬇️
front 89.34% <100.00%> (+<0.01%) ⬆️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.50% <ø> (ø)
tests 87.05% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

- Focus the CI input of the new added via
- Reset the state giving the via index to scroll to after the action to enable the animation even when the user adds 2 vias in a row at the same index

Signed-off-by: SharglutDev <p.filimon75@gmail.com>
@SharglutDev SharglutDev force-pushed the pfn/front/fix-stdcm-add-via-scroll branch from c5d6dd3 to 5e8e88c Compare January 13, 2025 08:12
@SharglutDev SharglutDev enabled auto-merge January 13, 2025 08:13
@SharglutDev SharglutDev added this pull request to the merge queue Jan 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 13, 2025
Copy link
Contributor

@theocrsb theocrsb left a comment

Choose a reason for hiding this comment

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

LGTM and tested

@theocrsb theocrsb added this pull request to the merge queue Jan 13, 2025
Merged via the queue into dev with commit 0ee63cf Jan 13, 2025
27 checks passed
@theocrsb theocrsb deleted the pfn/front/fix-stdcm-add-via-scroll branch January 13, 2025 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lmr: front: rework the addition of intermediate OPs
4 participants