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/update map pin clusters #4012

Merged
merged 6 commits into from
Nov 26, 2024

Conversation

johannes-ross
Copy link
Contributor

PR Checklist

PR Type

What kind of change does this PR introduce?

  • Bugfix (fixes an issue)
  • Feature (adds functionality)
  • Code style update
  • Refactoring (no functional changes)
  • Build related changes
  • CI related changes
  • Documentation changes
  • Other... Please describe:

What is the current behavior?

No Ring around Pin.

What is the new behavior?

When there is a cluster of people (a pin with a number in it) there will be a ring around it, with the corresponding theme colour.

image

Does this PR introduce a breaking change?

  • Yes
  • No

Git Issues

Closes #3855

@johannes-ross johannes-ross requested a review from a team as a code owner November 20, 2024 16:56
@davehakkens davehakkens added the Review allow-preview ✅ Has received manual check for malicious code and can be safely built for preview label Nov 20, 2024
@mariojsnunes
Copy link
Contributor

I'd rather not have that test, tbh.
@benfurber, thoughts?

@davehakkens
Copy link
Contributor

@dalibormrska have a look on the preview link for any visual remarks https://community-platform-pr-4012.fly.dev/academy/intro.html

@benfurber
Copy link
Member

Thanks for your first time contribution @johannes-ross!

Yeah, I agree with @mariojsnunes about the test.

I believe part of the issue is to use the right theme colour for the cluster too. Can you add that please.

Copy link

cypress bot commented Nov 21, 2024

onearmy-community-platform    Run #6582

Run Properties:  status check passed Passed #6582  •  git commit 8c677a524d: feat: update map pin clusters (ONEARMY#3855) fixed tests
Project onearmy-community-platform
Branch Review pull/4012
Run status status check passed Passed #6582
Run duration 05m 10s
Commit git commit 8c677a524d: feat: update map pin clusters (ONEARMY#3855) fixed tests
Committer Johannes Roß
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 74
View all changes introduced in this branch ↗︎

@johannes-ross
Copy link
Contributor Author

As requested, I've removed the Test and added another functionality. The pin clusters now change colour based on theme.

I'm guessing, that the assets folder is managed by Designers and not by developers. I've made it as dynamic as possible without changing the actual map-cluster.svg file.

@dalibormrska
Copy link
Collaborator

I had a look, wow, really nice work! Even though I can only see the PP instance through the preview link, from me it's good to go.

@benfurber
Copy link
Member

Fantastic! Thank you so much for your first contribution @johannes-ross!

@benfurber benfurber merged commit ac9d3e0 into ONEARMY:master Nov 26, 2024
16 of 17 checks passed
@benfurber
Copy link
Member

@all-contributors add @johannes-ross for code

Copy link
Contributor

@benfurber

I've put up a pull request to add @johannes-ross! 🎉

@benfurber
Copy link
Member

Also rather belatedly!

@all-contributors add @dalibormrska for design

Copy link
Contributor

@benfurber

I've put up a pull request to add @dalibormrska! 🎉

@johannes-ross johannes-ross deleted the feat/update-map-pin-clusters branch November 26, 2024 13:32
@onearmy-bot
Copy link
Collaborator

🎉 This PR is included in version 2.15.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mod: Maps 🗺 released Review allow-preview ✅ Has received manual check for malicious code and can be safely built for preview
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat: update map pin clusters
6 participants