Skip to content

[ux.symfony.com] Fix rendering/color issues on Map page #2069

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

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented Aug 15, 2024

Q A
Bug fix? no
New feature? yes
Issues Fix #...
License MIT

It looks like we have some visual issues in light mode on the Map page, we can't see the menu:
Capture d’écran 2024-08-15 à 07 42 21

And we miss the composer require ... thing.

I've Replaced the usage of the new component Hero (introduced in #2053) by the good old PackageHeader component.

This is the quickest solution right now to correctly render UX Map page, and it gives us some times to improve this Hero component and re-use it in all UX package pages.

EDIT: I've seen with @smnandre for some minor adjustements:
image
image

@carsonbot carsonbot added Bug Bug Fix Feature New Feature Status: Needs Review Needs to be reviewed labels Aug 15, 2024
@Kocal Kocal removed the Feature New Feature label Aug 15, 2024
@Kocal Kocal requested review from kbond, smnandre and WebMamba August 15, 2024 05:44
@Kocal Kocal force-pushed the fix/ux-symfony-com-adujustements branch from 6d93d1d to bd7a430 Compare August 15, 2024 09:59
@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Aug 15, 2024
Copy link
Contributor

@WebMamba WebMamba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it locally and it work great 👍

Comment on lines +6 to +17
{% component PackageHeader with {
package: 'map',
eyebrowText: 'Seamless Maps Integration',
} %}
{% block title_header %}
Embed <em>interactive maps</em> in a breeze!
{% endblock %}

{% block sub_content %}
Decouple your code from your map provider: <em>Google Maps</em>, <em>LeaftLet</em>.
{% endblock %}
{% endcomponent %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use the HTML syntax?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not used elsewhere for now. I used it in the first version of this page with the new component but here it feels more coherent.

But all this will really soon change so i don't mind :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just go for the fastest (all other packages use this syntax), hoping this PR could quickly be merged and deployed :)

{% endblock %}

{% block sub_content %}
Decouple your code from your map provider: <em>Google Maps</em>, <em>LeaftLet</em>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really understand this syntax what do you think about something like: Seamlessly connect with any map provider, like Google Maps or Leaflet.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seamless is used in the eyebrow, and decouple felt a good thing to expose as it is an important promise of the component, but i agree this sentence could be more catchy / efficient

@kbond kbond force-pushed the fix/ux-symfony-com-adujustements branch from bd7a430 to c3a8806 Compare August 15, 2024 13:42
@kbond
Copy link
Member

kbond commented Aug 15, 2024

Thanks Hugo.

@kbond kbond merged commit 2ded754 into symfony:2.x Aug 15, 2024
1 check was pending
@Kocal Kocal deleted the fix/ux-symfony-com-adujustements branch August 15, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug Fix Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants