Skip to content

(2) Feat/filters - #390

Merged
Tanguylo merged 11 commits into
devfrom
feat/filters
Jul 11, 2024
Merged

(2) Feat/filters#390
Tanguylo merged 11 commits into
devfrom
feat/filters

Conversation

@Tanguylo

Copy link
Copy Markdown
Collaborator

No description provided.

@TanguyloTanguylo changed the title Feat/filters(2) Feat/filtersJun 19, 2024
@Tanguylo
Tanguylo marked this pull request as ready for review June 19, 2024 09:41
@Tanguylo
Tanguylo changed the base branch from dev to fix/legendJune 24, 2024 09:04
Comment threadsrc/axes.ts Outdated
maxValue + valueRange * this.marginRatio];
}

public setRubberbandRange(minValue: string, maxValue: string): void {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why are these Strings ?

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

It is for handling the input in html debug mode.
I guess i can handle both types

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Having an union of both is even more confusing.
Why not having a non-exposed proxy function used just by debug mode, that would translate minValue and maxValue to numbers and call the setRubberbandRange that would just handle number values ?

Comment threadsrc/axes.ts Outdated
Base automatically changed from fix/legend to devJuly 11, 2024 12:47
@Tanguylo
Tanguylo merged commit 5bc7ed4 into devJul 11, 2024
@Tanguylo
Tanguylo deleted the feat/filters branch July 11, 2024 12:51
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Tanguylo@GhislainJ