Skip to content

Redesign: filters#10390

Merged
ferblape merged 49 commits intofeature/redesignfrom
feature/redesign-filters
Apr 18, 2023
Merged

Redesign: filters#10390
ferblape merged 49 commits intofeature/redesignfrom
feature/redesign-filters

Conversation

@entantoencuanto
Copy link
Copy Markdown
Contributor

@entantoencuanto entantoencuanto commented Feb 16, 2023

🎩 What? Why?

Changes in design of filters:

  • This PR removes the icons on filters and recovers the checkboxes and radio buttons ot the different blocks
  • Creates a shared partial which accepts some local variables:
    • search_variable: If provided a block to search is included
    • filter_sections: an array of hashes. Each of them serves to define a filter section and its content is passed as arguments to a collection_filter helper function
  • Moves some collection trees defined for initiatives or meetings directory filters to core check_boxes_tree_helper to be shared from there
  • Fixes and adds some tests
  • Include the mobile version of the filters, which is collapsible

📌 Related Issues

Testing

The redesigned filters are currently working on:

♥️ Thank you!

@entantoencuanto entantoencuanto changed the base branch from develop to feature/redesign February 16, 2023 20:38
@entantoencuanto entantoencuanto added the project: redesign Barcelona City Council contract label Feb 17, 2023
* feature/redesign: (183 commits)
  include a clause to change a data-attr on the fly
  Update tests
  Restore specs
  set different modals foreach comment
  unify report button for futher uses
  use report_button instead of flag_modal
  Unify comments:loaded event
  Remove pending
  Skip unless redesign enabled
  Remove turbo reference
  Remove unused method
  Remove unused components
  Disabled examples when redesign is disabled
  Fix edit comment after comment edited
  use label component
  clean duplicated class
  replace div with button and remove tabindex
  add type="button" to opinion buttons to avoid the form submit when clicking on them
  remove a[href*=/users/sign_] styles
  remove profile and cell author
  ...
@furilo
Copy link
Copy Markdown
Contributor

furilo commented Mar 27, 2023

@decidim/product this would be ready, right?

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.

Looks good to me now, thanks!

@ferblape ferblape requested a review from a team March 28, 2023 13:19
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.

I could verify the PR, and seems to be working as it should, based on the testing i have performed.

There are a few changes that are required before merging this PR.

  • Let's avoid using meetings translations keys in ParticipatoryProcesses.
  • A reference on #10376, which has already been merged.
  • a confirmation, that we need a certain aria-controls value
  • Some tests that are skipped as the developer considered it obsolete.

Thank you for your work.

* feature/redesign:
  replace uses of specific margin-bottom for layout margins (#10675)
  Redesign: menu mobile (#10351)
  Fix comments scss to avoid compilation errors (#10657)
  Redesign: Add a new <aside> to layout item (#10620)
  Redesign: author tooltip (#10438)
  Redesign: pending things of the public profile (#10472)
  Redesign: card L link whole card (#10554)
  strip links from cards, standarize author cell (#10547)
@ferblape ferblape requested a review from alecslupu April 13, 2023 11:23
@ferblape
Copy link
Copy Markdown
Contributor

We've implemented all the feedback provided by Alex. We are merging it because there are a few PRs that need this to be completed.

@ferblape ferblape merged commit f93b2aa into feature/redesign Apr 18, 2023
@ferblape ferblape deleted the feature/redesign-filters branch April 18, 2023 04:43
entantoencuanto added a commit that referenced this pull request Apr 18, 2023
entantoencuanto added a commit that referenced this pull request Apr 21, 2023
…content-blocks

* feature/redesign:
  Redesign: filters (#10390)
entantoencuanto added a commit that referenced this pull request Apr 21, 2023
* feature/redesign:
  Redesign: filters (#10390)
  replace uses of specific margin-bottom for layout margins (#10675)
entantoencuanto added a commit that referenced this pull request Apr 28, 2023
…ent-blocks

* feature/redesign: (196 commits)
  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)
  Redesign: Add a new <aside> to layout item (#10620)
  Redesign: author tooltip (#10438)
  Redesign: pending things of the public profile (#10472)
  Redesign: card L link whole card (#10554)
  strip links from cards, standarize author cell (#10547)
  include a clause to change a data-attr on the fly
  Update tests
  Restore specs
  set different modals foreach comment
  unify report button for futher uses
  use report_button instead of flag_modal
  Unify comments:loaded event
  ...
@alecslupu alecslupu mentioned this pull request May 3, 2023
3 tasks
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)
  ...
@alecslupu alecslupu mentioned this pull request Jun 2, 2023
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.

6 participants