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

Render the plugin in a custom render hook #51

Merged
merged 2 commits into from
May 29, 2024

Conversation

abishekrsrikaanth
Copy link
Contributor

Adding functionality to render the plugin in a custom render hook. This is useful when a developer customizes their theme and the plugin creates UI issues when it renders using the default hook.
Updated the documentation for the changes.

@awcodes
Copy link
Owner

awcodes commented May 27, 2024

What does this even look like in other places? It's kinda designed to be in the top bar only.

@abishekrsrikaanth
Copy link
Contributor Author

abishekrsrikaanth commented May 28, 2024

This gives flexibility to pretty much move the plugin anywhere on the panel. For the current app, I publish the panel view assets and setup my own render hooks and here is an example of a custom hook I have added after the logo. For this app, I have removed the top bar and only have the left sidebar. And here is how the sidebar looks as well

CleanShot 2024-05-28 at 15 30 38

CleanShot 2024-05-28 at 15 37 12

And if the developer needed, they can publish the quick create view and customize the view and move it to a suitable location of their choice. I hope that clarifies.

@awcodes awcodes merged commit f78d64d into awcodes:3.x May 29, 2024
1 check passed
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.

2 participants