Skip to content

[WC-2896] Gallery personalisation #1730

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

iobuhov
Copy link
Collaborator

@iobuhov iobuhov commented Jun 30, 2025

Pull request type

New feature (non-breaking change which adds functionality)


Description

@iobuhov iobuhov requested a review from a team as a code owner June 30, 2025 11:26
@@ -7,3 +7,10 @@ export type SelectData = string[];
export type FilterData = InputData | SelectData | null | undefined;

export type FiltersSettingsMap<T> = Map<T, FilterData>;

export type PlainJs = string | number | boolean | null | PlainJs[] | { [key: string]: PlainJs };
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is plain js? sounds like plain javascript? does it do eval?
maybe need more descriptive name

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes it's plain javascript, primitive js values, everything that can be serialized to json

Sign up for free to 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