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

Feat/enhance default color palettes #1016

Merged
merged 7 commits into from
Jan 23, 2025

Conversation

MAudelGisaia
Copy link
Contributor

@QuCMGisaia QuCMGisaia changed the base branch from develop to feat/angular15 November 29, 2024 14:41
Copy link
Collaborator

@QuCMGisaia QuCMGisaia left a comment

Choose a reason for hiding this comment

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

I think @sebbousquet has some changes coming soon on the shared module, so we might need to wait a bit before merging this!

@@ -35,9 +35,9 @@ h1 {

.palette-selector {
@extend %palette;
height: 50px!important;
Copy link
Collaborator

Choose a reason for hiding this comment

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

missing space before !important

})
export class PaletteGradientPipe implements PipeTransform {

public transform(selectedPalette: ProportionedValues[], min: number, max: number): unknown {
Copy link
Collaborator

Choose a reason for hiding this comment

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

the return type is string

Base automatically changed from feat/angular15 to develop December 10, 2024 10:12
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@@ -1,10 +1,10 @@
<div *ngIf="!this.selectedPalette">
<h1 mat-dialog-title>{{ 'Select a template palette' | translate}}</h1>
Copy link
Member

Choose a reason for hiding this comment

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

I suggest to rename the title to : Select a colour palette
Change the french translation to : "Sélectionner une palette de couleurs."

@@ -1,10 +1,10 @@
<div *ngIf="!this.selectedPalette">
<h1 mat-dialog-title>{{ 'Select a template palette' | translate}}</h1>
Copy link
Member

Choose a reason for hiding this comment

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

Could you please add a 5px ($sm-spacing) bottom padding to the title ?

@MAudelGisaia MAudelGisaia force-pushed the feat/enhance-default-color-palettes branch from 0b177d5 to dd3a983 Compare January 23, 2025 15:30
…e height of each line. represent the palettes linearily instead of discretized buckets. new palette
@MAudelGisaia MAudelGisaia force-pushed the feat/enhance-default-color-palettes branch from ea0030d to 6d7ec71 Compare January 23, 2025 17:12
@MAudelGisaia MAudelGisaia force-pushed the feat/enhance-default-color-palettes branch from 6d7ec71 to 2a0af2d Compare January 23, 2025 17:18
Copy link

@MAudelGisaia MAudelGisaia merged commit c5d3d03 into develop Jan 23, 2025
3 checks passed
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.

Enhance default color palettes for map layers
3 participants