mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

Extra control placement 3039

Open Ethan-Guttman opened this issue 1 year ago • 4 comments

This closes the good first issue #3039 (Allow controls to be placed at top-center, bottom-center, left-center, and right-center)

example pictures showcasing all four new positions: image image

Multiple ctrls will have margins between themselves like the already existing positions. However, depending on their widths in the top and bottom center they can look weird (smaller elements floating left).

I ordered the positions code in the css and map.js files by going from top-left to center-left clockwise listing each position too.

Ethan-Guttman avatar Mar 01 '24 22:03 Ethan-Guttman

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 01 '24 22:03 CLAassistant

Sorry for the late response — this PR is on our mind and we'll look at it closer after we're done with the current v3.3 release. 🙏

mourner avatar Apr 10 '24 09:04 mourner

No problem, thanks for the update!

Ethan-Guttman avatar Apr 10 '24 21:04 Ethan-Guttman

This would be sick to get out

rizvanovic avatar Aug 28 '24 13:08 rizvanovic

It seems that no changes since last comment by @Ethan-Guttman. I can take over the issue if you're tight on time... let me know

JabSYsEmb avatar Sep 03 '24 17:09 JabSYsEmb

It seems that no changes since last comment by @Ethan-Guttman. I can take over the issue if you're tight on time... let me know

I was waiting for a contact from the Mapbox team before updating again (since they said they would look at it closer later). I'll make the changes myself

Ethan-Guttman avatar Sep 03 '24 17:09 Ethan-Guttman

Hey @Ethan-Guttman,

Thanks for the contribution, and I'm sorry for the delay. Is there a chance you could rebase your changes on top of the latest main? Overall, this looks good to me, so resolving the conflicts seems to be the last thing we need to do before landing this.

stepankuzmin avatar Sep 16 '24 09:09 stepankuzmin

@stepankuzmin I'll try to rebase it by end of day today. Thanks for the go ahead!

Ethan-Guttman avatar Sep 16 '24 17:09 Ethan-Guttman

I'm at a bit of a loss here. This is my first ticket and I have clicked the link to sign the CLA multiple times. It might just not be reflected here as it does sometimes indicate that I have signed it when I click the link. Aside from that if there is something genuinely wrong with the mac safari version I can't test it myself (having no apple devices). Those are the only failing checks

Ethan-Guttman avatar Sep 17 '24 00:09 Ethan-Guttman

Hey @Ethan-Guttman,

The rebase seems wrong because your changes were made before we transitioned to TypeScript, and now your PR has 2k files changed. It'd be easier for maintainers to update your PR directly. Could you please make sure that you've enabled edits and access to secrets by maintainers on that PR?

stepankuzmin avatar Sep 17 '24 09:09 stepankuzmin

@stepankuzmin image Thank you for the help and let me know if anything else is needed

Ethan-Guttman avatar Sep 17 '24 18:09 Ethan-Guttman

Thanks for the contribution, @Ethan-Guttman, merging 👍

stepankuzmin avatar Sep 18 '24 09:09 stepankuzmin