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: allow duplicate values for URL params #177

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

eino
Copy link
Contributor

@eino eino commented Feb 15, 2024

Allow duplicate same-named params, so as to support multiple hide_filter.

Fixes #151 , Fixes #159

@eino eino requested a review from a team as a code owner February 15, 2024 12:06
Copy link

google-cla bot commented Feb 15, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@tmarnet
Copy link

tmarnet commented Feb 21, 2024

I would love to see this being merged 🙂

How can we make this happen ?

Copy link
Collaborator

@bryans99 bryans99 left a comment

Choose a reason for hiding this comment

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

Overall this is a very good change (I saw it when it first came in).

I actually started looking at it myself but went down a rabbit hole looking at other things that might benefit from this change.

Have a look at the LookerEmbedFilterParams type. Should we do the same thing to it, i.e is it okay to have filters of the same name?

I'm gonna approve but think about looking into the above before merging.

@deepakshukla-bidgely
Copy link

Hi @eino, since @bryans99 approved the PR can you please go ahead and merge this change?

Allow duplicate same-named params, so as to support multiple hide_filter.
@eino
Copy link
Contributor Author

eino commented Mar 19, 2024

Hi @bryans99 , thanks for the heads-up. Indeed a similar change should probably be applied to LookerEmbedFilterParams. I will try to check if the format is the same.

In parallel, could you check this MR ? the build and doccheck check are not launching, stuck in "Expected" (so the MR is not mergeable). Do you know where it could come from ?

@lambdamusic
Copy link

Hello - is there any technical issue holding this up?

Just wondering because we'd love to have this functionality!

@drstrangelooker drstrangelooker changed the base branch from master to duplicate-values April 29, 2024 13:46
@drstrangelooker
Copy link
Contributor

Merging into local branch for testing.

@drstrangelooker drstrangelooker merged commit 3288962 into looker-open-source:duplicate-values Apr 29, 2024
1 check passed
@lambdamusic
Copy link

lambdamusic commented May 13, 2024

Many thanks @drstrangelooker !

Do you have any info on when a new npm package will be released including this feature?

We'd really love to make use of this functionality. Currently though the MR seems to be blocked by the documentation not building?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants