-
Notifications
You must be signed in to change notification settings - Fork 43
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: implement results in the new interface for one simulation #7815
Conversation
2d17bc2
to
906b058
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #7815 +/- ##
============================================
- Coverage 28.12% 28.07% -0.06%
Complexity 2075 2075
============================================
Files 1285 1288 +3
Lines 157442 157689 +247
Branches 3117 3120 +3
============================================
- Hits 44279 44266 -13
- Misses 111290 111547 +257
- Partials 1873 1876 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
0f8cc53
to
027c61d
Compare
9ec851e
to
6b2003c
Compare
653ea6b
to
4df9568
Compare
2a27438
to
c7a3bf5
Compare
front/src/applications/stdcmV2/components/StdcmTableResults.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/stdcmV2/components/StdcmTableResults.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/stdcmV2/components/StdcmTableResults.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/stdcmV2/components/StdcmTableResults.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/stdcm/components/SimulationReportSheetV2.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also move the files you have added for stdcmRestults in a new folder like this: stdcmV2/components/StdcmResults ?
And you can also add an index, so in the view, when you import StdcmResults, you won't have import StdcmResults from '../components/StdcmResults/StdcmResults';
. For the import, you can have a look in modules/RollingStock/components/RollingStockEditor/index.ts
;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost good for me, only 1 last thing, when I accept a simulation, and then launch a new one, the simulation is already selected
Nice catch ! I've added a useEffect to manage it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested ! Nice PR, thanks ✅
4b9979f
to
4103e5d
Compare
ed49491
to
971888e
Compare
add simulation table add creation date in simuation results reset selected simulation when new one is created hide results when simulation is on pending automatically format css file
9e6bcd5
to
82d9730
Compare
closes #7018
Here is the sketch :