Tibo Baldwin
Tibo Baldwin
But I think the `mercureAuthorization` cookie is not sent. Is it normal ? It's the Twig Mercure extension that creates the cookie : https://github.com/symfony/mercure/blob/main/src/Twig/MercureExtension.php#L42.
But then, how do I add the `mercure()` Twig function?
Inspired by what @seb-jean said, we could perhaps create a `dynamic-component` component like for [icons](https://github.com/symfony/ux/pull/1450) and then use it with HTML Syntax. Without content: ```twig {% set component_name = 'Modal'...
Adding spatial index management would be interesting for this PR I think :). For instance: `CREATE INDEX mytable_geom_x ON mytable USING GIST (geom)` Sources: - https://postgis.net/documentation/faq/spatial-indexes/ - https://postgis.net/workshops/postgis-intro/indexing.html - https://postgis.net/docs/using_postgis_dbmanagement.html#build-indexes
Ah yes, this kind of functionality is interesting for organizing components in files. For example, this will save me from making a ``.
The idea is to structure the `Sidebar` component like this: - templates/components/Sidebar/Sidebar.html.twig - templates/components/Sidebar/SidebarHeader.html.twig - templates/components/Sidebar/SidebarBody.html.twig - templates/components/Sidebar/SidebarItem.html.twig - templates/components/Sidebar/SidebarLabel.html.twig - ...
I understand your logic and that works :). The idea I propose is to group the related components within a single directory.
Indeed, there are these two GitHub repositories. I find that a direct integration into Doctrine is interesting. This will allow for less dependency if needed and offer integration for other...
Thank you very much for adding this new component.