Skip to content

Redesign: home#10920

Merged
ferblape merged 100 commits intofeature/redesignfrom
feature/redesign-home
Jun 28, 2023
Merged

Redesign: home#10920
ferblape merged 100 commits intofeature/redesignfrom
feature/redesign-home

Conversation

@jorgeatgu
Copy link
Copy Markdown
Contributor

@jorgeatgu jorgeatgu commented May 29, 2023

🎩 What? Why?

This PR implements the redesign in home:

📌 Related Issues

Testing

♥️ Thank you!

@jorgeatgu jorgeatgu added the project: redesign Barcelona City Council contract label May 29, 2023
@ferblape ferblape requested a review from alecslupu June 21, 2023 04:34
@furilo
Copy link
Copy Markdown
Contributor

furilo commented Jun 22, 2023

Ping @decidim/product

Copy link
Copy Markdown
Member

@NilHomedes NilHomedes left a comment

Choose a reason for hiding this comment

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

Hi @jorgeatgu, I found more things once reviewed again, here we go:

Sub hero banner and footer sub hero banner

  • Sub hero footer, add some space between the text and CTA
  • I see different text sizes between the two content blocks

Metadecidim(2)

Initiatives cards

  • Could we get rid of the label Publlished in the cards? So as we simplify the information presented in the card. Maybe we can open another issue for that to move on with that PR.
    Screenshot 2023-06-23 at 10-48-19 Metadecidim

@jorgeatgu
Copy link
Copy Markdown
Contributor Author

Initiatives cards

  • Could we get rid of the label Publlished in the cards? So as we simplify the information presented in the card. Maybe we can open another issue for that to move on with that PR.
    Screenshot 2023-06-23 at 10-48-19 Metadecidim

@NilHomedes better in a new issue so as not to block this one. One question, just remove the published, right?

@jorgeatgu jorgeatgu requested a review from NilHomedes June 23, 2023 15:14
Copy link
Copy Markdown
Member

@NilHomedes NilHomedes left a comment

Choose a reason for hiding this comment

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

LGTM 👌

I'll open an issue for initiatives cards

@ferblape ferblape requested a review from fblupi June 27, 2023 10:24
Copy link
Copy Markdown
Member

@fblupi fblupi left a comment

Choose a reason for hiding this comment

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

It's out of scope but we should do anything with the map when the configuration is not defined. It takes up some blank space for the map to be displayed and maybe we should show a kind of announcement: "Map provider not defined" or just remove this space. I don't know what you think @decidim/product

Screenshot 2023-06-27 at 13 12 12

ferblape and others added 5 commits June 28, 2023 06:33
Co-authored-by: Fran Bolívar <francisco.bolivar@nazaries.com>
* Define a method in area presenter to include area type in name if present

* Refactor description view in processes to use a presenter

* Add description view to assemblies and link from main data content block

* Replace start_date and end_date items by date_range in process about page

* Add duration and closing date elements to assembly about page

* Normalize assemblies translations

* move style form about page to core

* Fix sanitizer on description pages to allow embedded videos

* Add tests for description pages

* Adapt triggerWarnings method used when iframes are present to redesign

* Rename metadata content blocks in participatory spaces and groups

* Define and register metadata content blocks on assemblies and processes

* Include full description in main data cell

* Remove link to about page in main data content block

* Remove description paths, actions, views and references on assemblies and participatory processes

* Skip REDESIGN_PENDING tests of description pages pending to adapt to content blocks

* Remove unused translation

* Add description attributes of metadata content blocks to ignore_unused

* add grid for metadata block

* fix style glitches on modal steps

* wrap description with a show more/less content

* Add missing translations taken fron announcement with truncation branch

* remove possible margin top of first childs

* Include purpose_of_action, internal_organisation and composition in main data of assemblies

* Fix assembly type item in extra data content block

* Fix date format

* Split assemblies metadata content block in two content blocks

* Remove date range from metadata participatory processes content block

* Extract social handler links to a content block

* Include missing content block in test

* Remove duration from assemblies dates metadata content block

* Remove unused translation

* Update decidim-assemblies/app/cells/decidim/assemblies/content_blocks/main_data_cell.rb

Co-authored-by: Fran Bolívar <francisco.bolivar@nazaries.com>

* Update decidim-assemblies/app/cells/decidim/assemblies/content_blocks/main_data_cell.rb

Co-authored-by: Fran Bolívar <francisco.bolivar@nazaries.com>

* Change endless method definitions

* Use a presented assembly in extra data content block

---------

Co-authored-by: Hugoren Martinako <aumpfbahn@gmail.com>
Co-authored-by: Fran Bolívar <francisco.bolivar@nazaries.com>
* Complete Cell G specs

* Cleanup specs
@ferblape ferblape requested a review from fblupi June 28, 2023 05:43
@ferblape
Copy link
Copy Markdown
Contributor

@fblupi feedback applied!

@carolromero
Copy link
Copy Markdown
Member

@fblupi thanks for the catch! Not sure what's the current behaviour, but I'd just remove the blank space in case it's not configured.

@furilo
Copy link
Copy Markdown
Contributor

furilo commented Jun 28, 2023

I'll open an issue for this since its not critical, so we can close this PR: #11102

Copy link
Copy Markdown
Member

@fblupi fblupi left a comment

Choose a reason for hiding this comment

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

LGTM!

@ferblape ferblape merged commit 615f5ab into feature/redesign Jun 28, 2023
@ferblape ferblape deleted the feature/redesign-home branch June 28, 2023 13:54
entantoencuanto added a commit that referenced this pull request Jun 28, 2023
* feature/redesign:
  Redesign: home (#10920)
  Remove widgets and embeds (#11096)
  Redesign / Complete card G cell specs (#11094)
  Redesign: processes assemblies metadata content blocks (#10637)
  Redesign: vertical margin inside the callouts (#11071)
  Redesign / Update package-lock  (#11091)
  Use the component name in the sidebar title (#11088)
entantoencuanto added a commit that referenced this pull request Jun 28, 2023
* feature/redesign:
  Redesign: home (#10920)
  Remove widgets and embeds (#11096)
entantoencuanto added a commit that referenced this pull request Jun 28, 2023
* feature/redesign:
  Redesign: home (#10920)
  Remove widgets and embeds (#11096)
  Redesign / Complete card G cell specs (#11094)
  Redesign: processes assemblies metadata content blocks (#10637)
  Redesign: vertical margin inside the callouts (#11071)
  Redesign / Update package-lock  (#11091)
  Use the component name in the sidebar title (#11088)
entantoencuanto added a commit that referenced this pull request Jun 30, 2023
…-process

* feature/redesign:
  Redesign: display online meeting (#11075)
  Redesign: home menu content block (#11048)
  Redesign: home (#10920)
  Remove widgets and embeds (#11096)
  Redesign / Complete card G cell specs (#11094)
  Redesign: processes assemblies metadata content blocks (#10637)
  Redesign: vertical margin inside the callouts (#11071)
  Redesign / Update package-lock  (#11091)
  Use the component name in the sidebar title (#11088)
  Redesign: layout center (#11068)
  Redesign: display only public users followings in following profile tab (#11051)
  Redesign: fix cards (#11072)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

project: redesign Barcelona City Council contract

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

8 participants