Skip to content

Comments

Add inline tty functionality#9

Merged
jchilders merged 3 commits intomainfrom
investigate_component_in_div
Oct 25, 2025
Merged

Add inline tty functionality#9
jchilders merged 3 commits intomainfrom
investigate_component_in_div

Conversation

@jchilders
Copy link
Owner

Previously there was only a single way to view Citadel: the slide up panel. This
separates out the view logic from the "tty" logic and adds the ability to
display the panel inline, i.e. within a div tag.

This is determined by the displayMode config, can be set to either "panel" or
"inline", and defaults to "inline".

For example, to render Citadel inline:

<div>
  <Citadel config={{ displayMode: "inline" }} commandRegistry={commandRegistry} />
</div>

@jchilders jchilders force-pushed the investigate_component_in_div branch from c1be593 to 4c6f4f1 Compare October 25, 2025 13:18
@jchilders jchilders merged commit a472749 into main Oct 25, 2025
6 checks passed
@jchilders jchilders deleted the investigate_component_in_div branch October 25, 2025 13:37
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.

1 participant