Skip to content

Feature/redesign components breadcrumb#10441

Merged
ferblape merged 51 commits intofeature/redesignfrom
feature/redesign-components-breadcrumb
May 26, 2023
Merged

Feature/redesign components breadcrumb#10441
ferblape merged 51 commits intofeature/redesignfrom
feature/redesign-components-breadcrumb

Conversation

@entantoencuanto
Copy link
Copy Markdown
Contributor

@entantoencuanto entantoencuanto commented Feb 27, 2023

🎩 What? Why?

This PR:

  • Refactors the breadcrumb participatory space generation to be defined from the participatory space context and then be shown in components contained in it
  • Adds a component breadcrumb item
  • Refactors and unifies the nav_items generation provided to extended_navigation_bar on legacy design and defines on each participatory space helper the method. This method is used by the breadcrumb participatory space dropdown to generate the nav_items section
  • Refactors the cell to generate participatory space dropdowns to reuse the maximum of code between the different spaces
  • Defines dropdown metadata cells to be used in breadcrumb for assemblies, conferences, votings, initiatives and participatory processes
  • Adds tests for all new cells (Redesign: new breadcrumb pending tests #10247)
  • Fixes the query of the last activities section of the space breadcrumb dropdown to restrict the results to activities on the space (previously the section was showing all activities)
  • Adds a HasSpecificBreadcrumb concern to define breadcrumb items on some controllers not related with components inside participatory processes, like profile, users conversations or searches
  • Add aria-current="page" to the active item
  • Dropdown menus are triggered on hover

📌 Related Issues

Link your PR to an issue

Testing

Examples of breadcrumbs:

📷 Screenshots

Please add screenshots of the changes you're proposing
Description

♥️ Thank you!

@alecslupu alecslupu added the project: redesign Barcelona City Council contract label Feb 28, 2023
@entantoencuanto entantoencuanto changed the base branch from develop to feature/redesign March 6, 2023 20:17
@entantoencuanto entantoencuanto force-pushed the feature/redesign-components-breadcrumb branch from 7f655a6 to 6538c2a Compare March 7, 2023 19:31
@entantoencuanto entantoencuanto force-pushed the feature/redesign-components-breadcrumb branch 2 times, most recently from 1fd8bc1 to 8ce0c44 Compare April 18, 2023 12:24
@entantoencuanto entantoencuanto force-pushed the feature/redesign-components-breadcrumb branch from 8ce0c44 to a45eee2 Compare April 18, 2023 13:12
@entantoencuanto entantoencuanto marked this pull request as ready for review April 19, 2023 20:57
entantoencuanto and others added 5 commits May 4, 2023 15:48
…dcrumb

* feature/redesign:
  Redesign: processes groups content blocks (#10491)
…dcrumb

* feature/redesign:
  Add redesign enable ENV variable to control the pipeline (#10610)
  Redesign: progress bar (#10638)
  Redesign: meeting cards (#10722)
  Redesign: pending login (#10699)
  simplify 2col layout (#10819)
@alecslupu
Copy link
Copy Markdown
Contributor

I think the menu needs to be Reviewed, as it seems that has wrong identation:
image

@alecslupu
Copy link
Copy Markdown
Contributor

The Process seems to be also a little bit of padding :
image

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.

Checking the local version of the breadcrumb implementation i see some issues with the menu indentation. Based on the staging link, the behavior is not present.

I have a very small change request.

I have seen there are some pipelines that were failing. I have retriggered them, yet, in some cases, the issue persists. Could you have a look ?

ferblape and others added 2 commits May 23, 2023 04:34
…_breadcrumb_mobile_tablet.html.erb

Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
…_breadcrumb_mobile_tablet.html.erb

Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
@Crashillo
Copy link
Copy Markdown
Contributor

Solved the indentation problem

@ferblape
Copy link
Copy Markdown
Contributor

Tests and indentation fixed. Merging...

@ferblape ferblape merged commit 5346286 into feature/redesign May 26, 2023
@ferblape ferblape deleted the feature/redesign-components-breadcrumb branch May 26, 2023 10:00
entantoencuanto added a commit that referenced this pull request May 26, 2023
…rafts

* feature/redesign:
  Feature/redesign components breadcrumb (#10441)
  Redesign: debates (#10653)
  Redesign: Remove reference to commentable in activity cell (#10816)
  Redesign: spinner (#10848)
  Redesign: omnipresent banner (#10847)
  Add redesign enable ENV variable to control the pipeline (#10610)
  Redesign: progress bar (#10638)
  Redesign: meeting cards (#10722)
  Redesign: pending login (#10699)
  simplify 2col layout (#10819)
  Redesign: processes groups content blocks (#10491)
  Redesign: assemblies content blocks (#10573)
entantoencuanto added a commit that referenced this pull request May 26, 2023
* feature/redesign:
  Feature/redesign components breadcrumb (#10441)
  Redesign: debates (#10653)
entantoencuanto added a commit that referenced this pull request May 26, 2023
* feature/redesign: (21 commits)
  Feature/redesign components breadcrumb (#10441)
  Redesign: debates (#10653)
  Redesign: Remove reference to commentable in activity cell (#10816)
  Redesign: spinner (#10848)
  Redesign: omnipresent banner (#10847)
  Add redesign enable ENV variable to control the pipeline (#10610)
  Redesign: progress bar (#10638)
  Redesign: meeting cards (#10722)
  Redesign: pending login (#10699)
  simplify 2col layout (#10819)
  Redesign: processes groups content blocks (#10491)
  Redesign: assemblies content blocks (#10573)
  Redesign: process & process group cards (#10716)
  Redesign: conference cards (#10502)
  Redesign: pending blogs (#10686)
  Redesign: blog cards (#10685)
  Redesign: filters (#10390)
  replace uses of specific margin-bottom for layout margins (#10675)
  Redesign: menu mobile (#10351)
  Fix comments scss to avoid compilation errors (#10657)
  ...
entantoencuanto added a commit that referenced this pull request May 26, 2023
* feature/redesign:
  Feature/redesign components breadcrumb (#10441)
  Redesign: debates (#10653)
  Redesign: Remove reference to commentable in activity cell (#10816)
  Redesign: spinner (#10848)
  Redesign: omnipresent banner (#10847)
entantoencuanto added a commit that referenced this pull request May 29, 2023
* feature/redesign:
  Remove unused preset-env dependencies (#10916)
  Feature/redesign components breadcrumb (#10441)
entantoencuanto added a commit that referenced this pull request Jun 2, 2023
…blies-details-page

* feature/redesign:
  Redesign: amendments (#10765)
  Redesign: proposals (#10555)
  Remove unused preset-env dependencies (#10916)
  Feature/redesign components breadcrumb (#10441)
  Redesign: debates (#10653)
  Redesign: Remove reference to commentable in activity cell (#10816)
  Redesign: spinner (#10848)
  Redesign: omnipresent banner (#10847)
  Add redesign enable ENV variable to control the pipeline (#10610)
entantoencuanto added a commit that referenced this pull request Jun 2, 2023
* feature/redesign:
  Redesign: amendments (#10765)
  Redesign: proposals (#10555)
  Remove unused preset-env dependencies (#10916)
  Feature/redesign components breadcrumb (#10441)
  Redesign: debates (#10653)
  Redesign: Remove reference to commentable in activity cell (#10816)
  Redesign: spinner (#10848)
  Redesign: omnipresent banner (#10847)
  Add redesign enable ENV variable to control the pipeline (#10610)
entantoencuanto added a commit that referenced this pull request Jun 2, 2023
* feature/redesign:
  Redesign: amendments (#10765)
  Redesign: proposals (#10555)
  Remove unused preset-env dependencies (#10916)
  Feature/redesign components breadcrumb (#10441)
  Redesign: debates (#10653)
  Redesign: Remove reference to commentable in activity cell (#10816)
  Redesign: spinner (#10848)
  Redesign: omnipresent banner (#10847)
  Add redesign enable ENV variable to control the pipeline (#10610)
  Redesign: progress bar (#10638)
  Redesign: meeting cards (#10722)
  Redesign: pending login (#10699)
entantoencuanto added a commit that referenced this pull request Jun 2, 2023
* feature/redesign:
  Redesign: amendments (#10765)
  Redesign: proposals (#10555)
  Remove unused preset-env dependencies (#10916)
  Feature/redesign components breadcrumb (#10441)
  Redesign: debates (#10653)
  Redesign: Remove reference to commentable in activity cell (#10816)
  Redesign: spinner (#10848)
  Redesign: omnipresent banner (#10847)
  Add redesign enable ENV variable to control the pipeline (#10610)
  Redesign: progress bar (#10638)
  Redesign: meeting cards (#10722)
  Redesign: pending login (#10699)
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.

Redesign: Allow breadcrumb dropdowns to be open on hover Redesign: Pending Paginator

7 participants