Skip to content

Conversation

@chriszrc
Copy link

No description provided.

@el
Copy link
Owner

el commented Feb 16, 2023

Hi, thank you for the PR. Can you please revert all unrelated changes like style changes?

@chriszrc
Copy link
Author

@el hmm, I'm guessing you mean the auto formatting by prettier? I would probably suggest you consider using prettier since it's becoming the de facto formatting option-

@el
Copy link
Owner

el commented Feb 16, 2023

You can create that as a separate pr. I am not against using a prettier. It just makes it hard to review the pr.

@vcardins
Copy link

vcardins commented Feb 16, 2023

@chriszrc Thanks for the initiative. Also, could you add an option to add a unique id for the style option button:

export type MapboxStyleDefinition = {
  id: string;
  title: string;
  uri: string | Style;
};

<button type="button" class="Satellite active" id="satellite" data-uri=""mapbox://styles/mapbox/satellite-v9"">Satellite

Thank you!!

@el
Copy link
Owner

el commented Feb 16, 2023

@chriszrc Thanks for the initiative. Also, could you add an option to add a unique id for the style option button:

export type MapboxStyleDefinition = {
  id: string;
  title: string;
  uri: string | Style;
};

<button type="button" class="Satellite active" id="satellite" data-uri=""mapbox://styles/mapbox/satellite-v9"">Satellite

Thank you!!

What is the use case for this?

@vcardins
Copy link

For automated testing purposes

@mmc1718
Copy link

mmc1718 commented Oct 9, 2023

This looks really useful. Is it ready to merge?

@arthurjgs
Copy link

Hi, can you merge this if there is no conflict ?

@vcardins
Copy link

vcardins commented Mar 1, 2024

@el Could you update the status of this PR?

@el
Copy link
Owner

el commented Mar 1, 2024

Unfortunately, the PR has used a prettier making all the code changes. Which makes it extremely hard to review. I asked the PR author to create a separate PR for prettier and only make the changes necessary in this PR but didn't hear back.

@vcardins
Copy link

vcardins commented Mar 6, 2024

Unfortunately, the PR has used a prettier making all the code changes. Which makes it extremely hard to review. I asked the PR author to create a separate PR for prettier and only make the changes necessary in this PR but didn't hear back.

It makes sense. I'm going to submit a PR with only the necessary changes.

@beniaminrychter
Copy link

Hello guys, any updates on that? 😊
This PR would be very helpful.

cc @vcardins

@samYnsat
Copy link

Hi, guys

Any updates on the possibility to do this pull request or the one stated by @vcardins ? I am using this code from @chriszrc repository and is working great.

Cheers!

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.

7 participants