refs #739: align Smilegate with application repository layout
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
"""Smilegate demo modules.
|
||||
|
||||
The portal is assembled from small modules so each feature can be reviewed and
|
||||
released independently.
|
||||
"""
|
||||
@@ -0,0 +1 @@
|
||||
"""Presentation modules for the Smilegate demo."""
|
||||
@@ -0,0 +1,28 @@
|
||||
"""Blank presentation shell.
|
||||
|
||||
No authentication, data access, MCP call, persistence, or customer text belongs
|
||||
in this module. It exists only to prove the minimal Streamlit runtime path.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
|
||||
def render_blank_shell(st: Any) -> None:
|
||||
"""Render the intentionally empty first review screen."""
|
||||
st.set_page_config(page_title="Smilegate Demo", layout="wide")
|
||||
st.markdown(
|
||||
"""
|
||||
<style>
|
||||
[data-testid="stHeader"],
|
||||
[data-testid="stToolbar"],
|
||||
#MainMenu,
|
||||
footer { display: none; }
|
||||
[data-testid="stAppViewContainer"],
|
||||
.stApp { background: #ffffff; }
|
||||
.block-container { padding: 0; max-width: none; }
|
||||
</style>
|
||||
""",
|
||||
unsafe_allow_html=True,
|
||||
)
|
||||
20
ai-web-agent-console/smilegate_demo.py
Normal file
20
ai-web-agent-console/smilegate_demo.py
Normal file
@@ -0,0 +1,20 @@
|
||||
"""Minimal Smilegate Streamlit demo entrypoint.
|
||||
|
||||
This entrypoint intentionally wires only the blank presentation shell. Feature
|
||||
modules such as authentication, MCP querying, and history are added separately
|
||||
after each review.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import streamlit as st
|
||||
|
||||
from ai_web_agent_console.smilegate_demo.ui.shell import render_blank_shell
|
||||
|
||||
|
||||
def main() -> None:
|
||||
render_blank_shell(st)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user