Skip to content
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 24742 dot favorite portlet remove share with dropdown #24751

Merged

Conversation

alfredo-dotcms
Copy link
Contributor

Proposed Changes

  • Remove the Share With dropdown
  • Make sure clean up everything including testing, services, store and state related to this
  • Add +owner:dotcms.org.2795 to the favorite pages list query (in the portlet)
  • Add +owner:dotcms.org.2795 to the query to get the "start" in the edit page

Checklist

  • Tests
  • Translations
  • Security Implications Contemplated (add notes if applicable)

Additional Info

** any additional useful context or info **

Screenshots

Original Updated
** original screenshot ** ** updated screenshot **

this.dotPageRenderService.get({ url: favoritePageUrl }),
this.getContentletPermissionsObservable(favoritePage?.identifier)
]);
return forkJoin([this.dotPageRenderService.get({ url: favoritePageUrl })]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we don't need the forkJoin

Copy link
Member

Choose a reason for hiding this comment

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

Yup.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

this.dotPageRenderService.get({ url: favoritePageUrl }),
this.getContentletPermissionsObservable(favoritePage?.identifier)
]);
return forkJoin([this.dotPageRenderService.get({ url: favoritePageUrl })]);
Copy link
Member

Choose a reason for hiding this comment

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

Yup.

@alfredo-dotcms alfredo-dotcms force-pushed the issue-24742-DotFavoritePortlet-remove-share-with-dropdown branch from 686a76b to 82c41a0 Compare April 26, 2023 17:32
@dotcms-sonarqube
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@fmontes fmontes merged commit e164638 into master Apr 26, 2023
@fmontes fmontes deleted the issue-24742-DotFavoritePortlet-remove-share-with-dropdown branch April 26, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Favorite pages: Remove the Share with dropdown
3 participants