Repository navigation
NEW Add in-context userdocs panel - #48
Open
ChloeSartorelli wants to merge 1 commit into
Open
ChloeSartorelli wants to merge 1 commit into
ChloeSartorelli wants to merge 1 commit into
Conversation
11 tasks done
ChloeSartorelli
marked this pull request as draft
November 30, 2026 02:23
ChloeSartorelli
force-pushed
the
pulls/1/in-context-panel
branch
3 times, most recently
from
December 1, 2026 01:01
fd629a0 to
f94ec7d
Compare
ChloeSartorelli
marked this pull request as ready for review
December 1, 2026 01:05
5 tasks
emteknetnz
approved these changes
Dec 1, 2026
This panel displays userdocs for the model being edited in a given form in the CMS. Sections with no specific form or model will be handled in a separate commit.
ChloeSartorelli
force-pushed
the
pulls/1/in-context-panel
branch
from
December 1, 2026 06:40
f94ec7d to
e8a51f5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Needs #49 merged first.
Note that we can't add a behat test for this yet, as there are no docs by default yet. Once some default docs are added to the admin module we'll add behat tests.
This panel displays userdocs for the model being edited in a given form in the CMS. Sections with no specific form or model will be handled in separate issues.
Modal vs not-modal
Regarding this acceptance criterion:
Note that the design prefers the modal panel (i.e. the rest of the CMS is greyed out and inaccessible). That's probably better than the current situation where the rest of the CMS can be used, because some content is hidden behind the panel.
I'm thinking about adding a
>>button to collapse the panel (similar to what the left menu has), keeping on the current page, so that users can collapse and expand the panel without needing to re-navigate like they would with the current "it's either open or closed" behaviour. It's either that or implement the modal-like functionality - or both, but collapsing the panel deactivates the modal so you can interact with the CMS. I'll leave that decision up to the reviewer.Deviations from the design
Issue