ONEARMY / community-platform

A platform to build useful communities that aim to tackle global problems
https://platform.onearmy.earth
MIT License
1.14k stars 397 forks source link

feat: add map v2.0.0 #3829

Closed benfurber closed 2 months ago

benfurber commented 3 months ago

PR Checklist

PR Type

What kind of change does this PR introduce?

What is the new behavior?

https://github.com/user-attachments/assets/62277900-dd03-4cba-b503-349ca0b4f3f3

The first release of the new map design. Yay! The feature is setup as a public beta with a banner on the top of the current map which let's users which between the two.

  1. Adds a banner for the component library - refactor for two exist, plus one new banner
  2. Adds a CardList and CardListItem for the component library, needed for the new map
  3. Tidies up some typing into the shared space - I wanted to go further into enum stuff for the profile type typing but it caused more problems
  4. Removed the unused setMapBoundingBox method from the map store.

Does this PR introduce a breaking change?

benfurber commented 3 months ago

Mainly adding now as I'm wanting to test out what the map displays for the remote e2e test run.

github-actions[bot] commented 3 months ago

Visit the preview URL for this PR (updated for commit cd31b1c):

https://onearmy-next--pr3829-feat-new-map-add-v2-c0myh1v7.web.app

(expires Wed, 25 Sep 2024 13:57:00 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 6d65e4f8fee2f6ab2da0c1c3b85b8797d66afa59

cypress[bot] commented 3 months ago

onearmy-community-platform    Run #6173

Run Properties:  status check passed Passed #6173  •  git commit cd31b1c5d3: chore: update from feedback
Project onearmy-community-platform
Branch Review pull/3829
Run status status check passed Passed #6173
Run duration 04m 18s
Commit git commit cd31b1c5d3: chore: update from feedback
Committer Ben Furber
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 65
View all changes introduced in this branch ↗︎
davehakkens commented 2 months ago

Very nice! One remark on the banner. It already links to the new map, but that is still very basic and raw. It's not interesting enough to be a test for users, but also no information for developers to help.

I would either:

onearmy-bot commented 2 months ago

:tada: This PR is included in version 1.211.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: