Redesign: Remove reference to commentable in activity cell#10816
Redesign: Remove reference to commentable in activity cell#10816ferblape merged 12 commits intofeature/redesignfrom
Conversation
7f4ae36 to
a4d230e
Compare
|
In this case, according to the issue, this should be the proposal where the comment happened, that is, the inmediate "parent" - right @decidim/product ? https://decidim-redesign.populate.tools/processes/Decidim4Dummies |
|
@decidim/product we have been talking about this, we see several cases:
|
|
@furilo IMO it makes sense what you say about the last activity within a space: Regarding the last activity at site level, and comparing the two mockups, we came to the conclusion that it's better to show the previous parent, without adding the breadcrumb. The main points to go with this option are:
|
|
Perfect. All yours @entantoencuanto |
…participatory spaces
|
Changes added, including the first icon previous to the activity title |
|
@entantoencuanto why its not showing 10 items? https://decidim-redesign.populate.tools/last_activities (neither in the second page) Also, @decidim/product, should we change the default items per page to 20? |
There was a problem hiding this comment.
Hi @entantoencuanto, to finish with the review of this PR:
-
use the same font color for all activity content (right now the first part has a black color that stands out too much).

-
Regarding the activity of a space:
- Rename the content block to "Last Activity" and remove the subtitle
- Missing link (and page) to see all the activity of the space
- Unify font styles

- @furilo I would say that 10 items by default is fine but yes, it seems that right now the filter is not working properly. FWIW even if you set the content block to 10, only 6 items are displayed.
Taking a look to the code the paginated results are filtered to display only visible items:
To fix this the visibility scope should be passed to the query before paginate it, but I'm not sure how complex this would be. |
|
@carolromero it seems the malfunctioning of the item list is a current problem, I opened an issue: #10882 |
decidim-core/app/cells/decidim/content_blocks/participatory_space_last_activity/content.erb
Outdated
Show resolved
Hide resolved
decidim-core/app/cells/decidim/content_blocks/participatory_space_last_activity/content.erb
Outdated
Show resolved
Hide resolved
…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)
* 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) ...
…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)
* 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)
* 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)
* 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)







🎩 What? Why?
This PR removes the link to commentable present in the title of items of activity feed related with comments creation and replaces it with a generic "New comment:"
📌 Related Issues
Link your PR to an issue
Testing
Visit https://decidim-redesign.populate.tools/last_activities?filter%5Bwith_resource_type%5D=&filter%5Bwith_resource_type%5D=Decidim%3A%3AComments%3A%3AComment
📷 Screenshots
Please add screenshots of the changes you are proposing
