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: animate new intermediate op in stdcm #10024

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

SharglutDev
Copy link
Contributor

@SharglutDev SharglutDev commented Dec 12, 2024

See commit description.

cubic-bezier animation has been generated here with this nice tool.
Animation behavior is already validated by @thibautsailly.

close #9713

@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Dec 12, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2024

⚠️ 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 79.81%. Comparing base (ea19025) to head (eaa4315).
Report is 7 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   #10024      +/-   ##
==========================================
- Coverage   79.82%   79.81%   -0.02%     
==========================================
  Files        1054     1054              
  Lines      105530   105588      +58     
  Branches      726      726              
==========================================
+ Hits        84244    84278      +34     
- Misses      21244    21268      +24     
  Partials       42       42              
Flag Coverage Δ
editoast 73.67% <ø> (-0.08%) ⬇️
front 89.15% <100.00%> (+<0.01%) ⬆️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.50% <ø> (ø)
tests 87.00% <ø> (ø)

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.

@SharglutDev SharglutDev force-pushed the pfn/front/rework-intermediate-op branch 5 times, most recently from 7a36033 to aeecc0c Compare December 18, 2024 14:41
@SharglutDev SharglutDev changed the title wip front: rework add intermediate op in stdcm Dec 18, 2024
@SharglutDev SharglutDev marked this pull request as ready for review December 18, 2024 14:45
@SharglutDev SharglutDev requested a review from a team as a code owner December 18, 2024 14:45
Copy link
Contributor

@Caracol3 Caracol3 left a comment

Choose a reason for hiding this comment

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

Great job !
LGTM (tested)

front/src/styles/scss/applications/stdcm/_home.scss Outdated Show resolved Hide resolved
@emersion
Copy link
Member

Maybe the commit message could be a tad more explicit? Maybe "front: animate new intermediate op in stdcm"?

@SharglutDev SharglutDev force-pushed the pfn/front/rework-intermediate-op branch from aeecc0c to 887f29a Compare December 19, 2024 08:43
@SharglutDev SharglutDev requested a review from a team as a code owner December 19, 2024 08:47
@SharglutDev SharglutDev requested a review from emersion December 19, 2024 08:48
@emersion emersion changed the title front: rework add intermediate op in stdcm front: animate new intermediate op in stdcm Dec 19, 2024
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 :)

@SharglutDev SharglutDev force-pushed the pfn/front/rework-intermediate-op branch from 5f8ebdd to be52429 Compare December 19, 2024 12:11
- Add an animation when a new intermediate op is added
- Scroll to keep it in the viewport if it overflows
- Adapat e2e tests in stdcm to ensure buttons are clickable while it's animating

Signed-off-by: SharglutDev <p.filimon75@gmail.com>
@SharglutDev SharglutDev force-pushed the pfn/front/rework-intermediate-op branch from be52429 to eaa4315 Compare December 19, 2024 12:29
Copy link
Contributor

@Maymanaf Maymanaf left a comment

Choose a reason for hiding this comment

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

LGTM for e2e tests

@SharglutDev SharglutDev added this pull request to the merge queue Dec 19, 2024
Merged via the queue into dev with commit ca86cad Dec 19, 2024
27 checks passed
@SharglutDev SharglutDev deleted the pfn/front/rework-intermediate-op branch December 19, 2024 15:47
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
5 participants