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

ui-speedspacechart : add speed limit tags layer #79

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

Caracol3
Copy link
Contributor

@Caracol3 Caracol3 commented Jun 26, 2024

@Caracol3 Caracol3 force-pushed the mcy/ui-speedspacechart/add-speed-limit-tags-layer branch from 2eeccf8 to 1417f9d Compare July 8, 2024 12:13
@Caracol3 Caracol3 force-pushed the mcy/ui-speedspacechart/add-speed-limit-tags-layer branch from 9a512a5 to 42e3e48 Compare July 10, 2024 15:59
@Caracol3 Caracol3 marked this pull request as ready for review July 11, 2024 06:06
@Caracol3 Caracol3 requested a review from a team as a code owner July 11, 2024 06:06
@Caracol3 Caracol3 requested a review from kmer2016 July 11, 2024 07:58
@Caracol3 Caracol3 force-pushed the mcy/ui-speedspacechart/add-speed-limit-tags-layer branch from dd1c3ee to ed2d8d6 Compare July 11, 2024 08:11
@Caracol3 Caracol3 force-pushed the mcy/ui-speedspacechart/add-speed-limit-tags-layer branch from b5b6ae6 to 731e3bc Compare July 11, 2024 09:47
@Yohh Yohh requested a review from clarani July 11, 2024 09:56
@Caracol3 Caracol3 force-pushed the mcy/ui-speedspacechart/add-speed-limit-tags-layer branch from bd95633 to b0a8c89 Compare July 11, 2024 15:34
@Caracol3 Caracol3 requested a review from Math-R July 11, 2024 15:35
Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

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

Thank you for this PR and great work, especially for all the svg/icons utils, it must have been painfull !

Left comments and suggestions.

@Caracol3 Caracol3 force-pushed the mcy/ui-speedspacechart/add-speed-limit-tags-layer branch from 7591fee to 7972dbe Compare July 12, 2024 11:03
Copy link
Contributor

@SharglutDev SharglutDev 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, great job !

- adding fake data for speed limit tags visualisation

- add drawSvgImageWithColor, LoadSvgImage and drawRoundRect in utils.ts

- adding raw.d.ts to allow raw svg import
- adding createSvgBlobUrl to convert svg to string

- changed the logic for calculating the linear width
- repositioned the linear within the canvas

- adding the tooltip above incompatible speed limit tag

- modify drawSeparatorLinearLayer to fix the missing separator problem

- adding colorDictionary

- adding new const after refactorisation
@Caracol3 Caracol3 force-pushed the mcy/ui-speedspacechart/add-speed-limit-tags-layer branch from 7972dbe to f484e9d Compare July 12, 2024 11:28
@Yohh Yohh requested a review from SharglutDev July 12, 2024 11:42
Copy link
Contributor

@Math-R Math-R left a comment

Choose a reason for hiding this comment

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

lgtm good job !

@Math-R Math-R added this pull request to the merge queue Jul 15, 2024
Merged via the queue into dev with commit 3faff18 Jul 15, 2024
2 checks passed
@Math-R Math-R deleted the mcy/ui-speedspacechart/add-speed-limit-tags-layer branch July 15, 2024 13:10
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.

osrd-ui: add speed limit tags layer in GEV V2
6 participants