pylogue 0.3.29__tar.gz → 0.3.31__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pylogue-0.3.29 → pylogue-0.3.31}/PKG-INFO +1 -1
- {pylogue-0.3.29 → pylogue-0.3.31}/pyproject.toml +1 -1
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/shell.py +22 -6
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue.egg-info/PKG-INFO +1 -1
- {pylogue-0.3.29 → pylogue-0.3.31}/AUTHORS.md +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/CONTRIBUTING.md +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/LICENSE +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/MANIFEST.in +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/README.md +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/setup.cfg +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/core.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/embeds.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/integrations/__init__.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/integrations/pydantic_ai.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/__init__.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/__pre_init__.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/_modidx.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/cards.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/chat.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/chatapp.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/design_system.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/health.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/renderer.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/service.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/legacy/session.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/static/pylogue-core.css +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/static/pylogue-core.js +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue/static/pylogue-markdown.js +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue.egg-info/SOURCES.txt +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue.egg-info/dependency_links.txt +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue.egg-info/entry_points.txt +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue.egg-info/requires.txt +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/src/pylogue.egg-info/top_level.txt +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/tests/__init__.py +0 -0
- {pylogue-0.3.29 → pylogue-0.3.31}/tests/test_pylogue.py +0 -0
|
@@ -236,12 +236,21 @@ def app_factory(
|
|
|
236
236
|
return Div(
|
|
237
237
|
Div(
|
|
238
238
|
H1(sidebar_title, cls="text-xl font-semibold"),
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
239
|
+
Div(
|
|
240
|
+
Button(
|
|
241
|
+
"Close",
|
|
242
|
+
type="button",
|
|
243
|
+
id="close-sidebar-btn",
|
|
244
|
+
cls=(ButtonT.secondary, "text-xs mobile-only-inline"),
|
|
245
|
+
),
|
|
246
|
+
A(
|
|
247
|
+
UkIcon("sign-out"),
|
|
248
|
+
Span("Logout"),
|
|
249
|
+
href=logout_href,
|
|
250
|
+
cls=(ButtonT.secondary, "text-xs"),
|
|
251
|
+
) if show_logout else None,
|
|
252
|
+
cls="flex items-center gap-2",
|
|
253
|
+
),
|
|
245
254
|
cls="sidebar-header",
|
|
246
255
|
),
|
|
247
256
|
Button(
|
|
@@ -263,6 +272,12 @@ def app_factory(
|
|
|
263
272
|
cls="space-y-2",
|
|
264
273
|
),
|
|
265
274
|
Div(
|
|
275
|
+
Button(
|
|
276
|
+
"Chats",
|
|
277
|
+
type="button",
|
|
278
|
+
id="sidebar-toggle-btn",
|
|
279
|
+
cls=(ButtonT.secondary, "mobile-only-inline"),
|
|
280
|
+
),
|
|
266
281
|
Button(
|
|
267
282
|
UkIcon("download"),
|
|
268
283
|
cls="uk-button uk-button-text copy-chat-btn",
|
|
@@ -318,6 +333,7 @@ def app_factory(
|
|
|
318
333
|
|
|
319
334
|
def _shell(request: Request):
|
|
320
335
|
return Div(
|
|
336
|
+
Div(id="sidebar-backdrop", cls="sidebar-backdrop"),
|
|
321
337
|
_sidebar(request),
|
|
322
338
|
_main_panel(),
|
|
323
339
|
cls="app-shell",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|