Skip to content

Redesign: meetings map#11383

Merged
alecslupu merged 4 commits intodevelopfrom
fix/redesign-meetings-no-map
Jul 28, 2023
Merged

Redesign: meetings map#11383
alecslupu merged 4 commits intodevelopfrom
fix/redesign-meetings-no-map

Conversation

@Crashillo
Copy link
Copy Markdown
Contributor

@Crashillo Crashillo commented Jul 25, 2023

🎩 What? Why?

Hide the map spacing when is not configured, for the meetings content_block

📌 Related Issues

📷 Screenshots

imagen

♥️ Thank you!

@Crashillo Crashillo added the project: redesign Barcelona City Council contract label Jul 25, 2023
@Crashillo Crashillo requested review from ferblape and furilo July 25, 2023 16:49
furilo
furilo previously approved these changes Jul 26, 2023
ferblape
ferblape previously approved these changes Jul 26, 2023
@ferblape
Copy link
Copy Markdown
Contributor

@Crashillo still draft?

@Crashillo Crashillo marked this pull request as ready for review July 26, 2023 08:01
@Crashillo Crashillo requested a review from a team July 26, 2023 14:13
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

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

Almost there! The space required for map is also present in meetings component homepage and directory listing.

We have 2 options:

  • Edit decidim-meetings/app/views/decidim/meetings/shared/_index.html.erb and add the same Decidim::Map.available?(:geocoding, :dynamic) condition in continuation of display_map
  • Patch all the templates where this information is filled in and add same Decidim::Map.available?(:geocoding, :dynamic).
    Also the same behavior is present on the proposals component when geocoding is enabled.

@Crashillo Crashillo dismissed stale reviews from furilo and ferblape via cf5607b July 27, 2023 07:39
@alecslupu
Copy link
Copy Markdown
Contributor

@Crashillo, could we add in this PR the same fix for the proposals index page?

@Crashillo Crashillo requested a review from alecslupu July 27, 2023 10:42
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

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

LGTM

@alecslupu alecslupu merged commit 843454b into develop Jul 28, 2023
@alecslupu alecslupu deleted the fix/redesign-meetings-no-map branch July 28, 2023 06:14
entantoencuanto added a commit that referenced this pull request Jul 28, 2023
* develop:
  Reorder and renumber the RELEASES_NOTES (#11379)
  Add videos services to CSP (youtube-nocookie.com, meet.jit.si, etc) (#11155)
  Alert from frontend errors in critical paths (#10937)
  Redesign: comments issues (#11363)
  Redesign: participatory process steps (#11226)
  Redesign: meetings map (#11383)
  Redesign: rename layouts (#11126)
@andreslucena andreslucena added type: fix PRs that implement a fix for a bug no-backport Pull Requests that should not be backported labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-backport Pull Requests that should not be backported project: redesign Barcelona City Council contract type: fix PRs that implement a fix for a bug

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Blank space in meetings list when map is not configured

5 participants