New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #3280811 by vnech: Book page in Flexible Group #2931
Conversation
5989ee5
to
dee92cc
Compare
@nechai, @rollki, @tbsiqueira I think it would be good to release it in 11.4.x, what do you think? |
1ab8ee8
to
7d5f607
Compare
..._flexible_group/modules/social_flexible_group_book/config/install/views.view.group_books.yml
Show resolved
Hide resolved
...al_group_flexible_group/modules/social_flexible_group_book/social_flexible_group_book.module
Outdated
Show resolved
Hide resolved
Hi @nechai |
7d5f607
to
36a0e0b
Compare
Hi @rollki ! Fixed, pls check. |
9779c86
to
064b78c
Compare
..._group_flexible_group/modules/social_flexible_group_book/social_flexible_group_book.info.yml
Show resolved
Hide resolved
module_set_weight('social_flexible_group_book', $weight + 1); | ||
|
||
/** @var \Drupal\social_flexible_group_book\SocialFlexibleGroupBookInstallHelper $install_helper */ | ||
$install_helper = \Drupal::classResolver(SocialFlexibleGroupBookInstallHelper::class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nechai I understand that using a helper service looks compact and logical but it disrupts the structure that we use for granting permissions in Open Social. See this commit 7eab050
We have to follow one approach and I need to ask you to move "grant permissions" from the helper service to the .install file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to .install
file
...al_group_flexible_group/modules/social_flexible_group_book/social_flexible_group_book.module
Outdated
Show resolved
Hide resolved
...al_group_flexible_group/modules/social_flexible_group_book/social_flexible_group_book.module
Outdated
Show resolved
Hide resolved
...al_group_flexible_group/modules/social_flexible_group_book/social_flexible_group_book.module
Outdated
Show resolved
Hide resolved
...ible_group_book/src/Plugin/ActivityEntityCondition/BookParentOnlyActivityEntityCondition.php
Outdated
Show resolved
Hide resolved
...al_group_flexible_group/modules/social_flexible_group_book/social_flexible_group_book.module
Show resolved
Hide resolved
...al_group_flexible_group/modules/social_flexible_group_book/social_flexible_group_book.module
Outdated
Show resolved
Hide resolved
...al_group_flexible_group/modules/social_flexible_group_book/social_flexible_group_book.module
Outdated
Show resolved
Hide resolved
064b78c
to
cedf6e0
Compare
38d137c
to
0eedc6f
Compare
…ook Page" nodes in "Flexible Group" group type
…add books per group
0eedc6f
to
f482bc0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…flexible-group Issue #3280811 by vnech: Book page in Flexible Group
🍒-picked to |
Problem
There is no ability to add "Book page" nodes in "Flexible Group" groups.
Solution
Add "Book page" node type as a group content to "Flexible Group" group type.
Issue tracker
Theme issue tracker
How to test
social_flexible_group_book
How to test stream notifications:
social_advanced_queue
module (to make notifications creation faster)Definition of done
Before merge
After merge
Screenshots
Books page overview:
Option for enabling/disabling books per group:
Release notes
Add possibility to have "Book page" node type in "Flexible Group"
social_flexible_group_book
if you want to have book pages in flexible groups;Change Record
N/A
Translations
N/A