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

Auto show right sidebar when section is present #1301

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

dfsmania
Copy link
Collaborator

@dfsmania dfsmania commented Aug 10, 2024

Question Answer
Pull request type ENHANCEMENT
License MIT

What's in this PR?

Fix #1140

Changes to auto show the right sidebar when section right_sidebar is present on a blade file extending the layout.
Also, the section was renamed from right-sidebar to right_sidebar to keep consistency with other section names.

Caution

When introducing this change on a new release, people using the right-sidebar section must rename it to right_sidebar. Also, if the views were published, they will require an update for the auto show feature to work.

Checklist

  • I tested these changes.
  • I have linked the related issues.
  • Update Usage section on the Wiki

@dfsmania
Copy link
Collaborator Author

@resslinger Could you review if these changes may introduce another backward compatibility, other than renaming the section name to use snake case as all the other section names?

@resslinger
Copy link
Collaborator

@dfsmania I will check this.

@dfsmania
Copy link
Collaborator Author

@resslinger Thanks, I don't believe there are many people using the right control sidebar. However, people using it will be required to update the section name when updating to a version with this PR included on it.

@dfsmania
Copy link
Collaborator Author

dfsmania commented Sep 1, 2024

@resslinger Wiki was updated for this PR, so you could merge this when finishing testing. However, do not make a new release still, since I'm currently working on solving another issue.

@dfsmania dfsmania merged commit ab57959 into jeroennoten:master Sep 21, 2024
34 checks passed
@dfsmania dfsmania deleted the fix_issue_1140 branch September 21, 2024 18:39
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.

[FEATURE]: Auto show right sidebar when section is present
2 participants