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

Use light map styles #1668

Closed
wants to merge 4 commits into from
Closed

Use light map styles #1668

wants to merge 4 commits into from

Conversation

mxdvl
Copy link
Collaborator

@mxdvl mxdvl commented May 14, 2024

What does this change?

A mix of greys, greens and blues, which offers better contrast with the surrounding interface.

image

How was this tested?

How have you tested your changes?
Ways of testing could include:

  • Writing or extending an end to end test
  • Testing your change on a preview deployment

Accessibility

If applicable to your changes, have you:

  • Tested with screen reader
  • Checked to see if navigable by keyboard
  • Ensured that the colour contrast is passing

Documentation

If applicable to your changes, have you:

  • Added/edited the appropriate documentation
  • Added any component(s) to Storybook

mxdvl added 4 commits May 10, 2024 11:19
- free non-commercial API usage
- less colourful layer blends better in the background
- support for high-DPI / retina displays out of the box
this does not trigger a re-render
on every map movement by default,
and removes the derived state
a mix of greys, greens and blues,
which offers better contrast with
the surrounding interface
Copy link

vercel bot commented May 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
toiletmap ✅ Ready (Inspect) Visit Preview May 14, 2024 6:59am

@mxdvl mxdvl changed the title feat(LooMap): use “light” style Use “light” map styles May 14, 2024
@mxdvl mxdvl changed the title Use “light” map styles Use light map styles May 14, 2024
Copy link

📦 Next.js Bundle Analysis for toiletmap

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 194.68 KB (🟡 +1 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Copy link

cypress bot commented May 14, 2024

4 failed tests on run #1167 ↗︎

4 44 0 15 Flakiness 0

Details:

Merge bb3ec3f into 249e818...
Project: GBPTM Commit: 228c0a14b8 ℹ️
Status: Failed Duration: 02:04 💡
Started: May 14, 2024 7:05 AM Ended: May 14, 2024 7:07 AM
Failed  desktop/add.cy.ts • 1 failed test • 1. Chrome

View Output

Test Artifacts
Adding new toilets to the platform > Desktop > should load the add toilet page successfully for authenticated users
    </td>
  </tr></table>
Failed  mobile/edit.cy.ts • 1 failed test • 1. Chrome

View Output

Test Artifacts
Edit page tests > Mobile > should load the edit page with expected data given a valid toilet id
    </td>
  </tr></table>
Failed  mobile/add.cy.ts • 1 failed test • 1. Chrome

View Output

Test Artifacts
Adding new toilets to the platform > Mobile > should load the add toilet page successfully for authenticated users
    </td>
  </tr></table>
Failed  mobile/remove.cy.ts • 1 failed test • 1. Chrome

View Output

Test Artifacts
Remove page tests > Mobile > should remove a toilet successfully when going through the removal flow
    </td>
  </tr></table>

Review all test suite changes for PR #1668 ↗︎

@mxdvl mxdvl mentioned this pull request May 15, 2024
5 tasks
Base automatically changed from mxdvl/clusters to main May 17, 2024 15:43
@mxdvl
Copy link
Collaborator Author

mxdvl commented Jun 3, 2024

Superceded by #1670

@mxdvl mxdvl closed this Jun 3, 2024
@mxdvl mxdvl deleted the mxdvl/map-style-light branch June 13, 2024 13:38
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.

1 participant