<#701 Panel app examples: simple calculator, Flyte...
# flyte-github
a
#701 Panel app examples: simple calculator, Flyte in-browser experience Pull request opened by cosmicBboy This pull request introduces a new example application that demonstrates serving a Panel app with an embedded Textual calculator using Flyte's
AppEnvironment
. It adds both the Python implementation of the calculator app and the associated Textual CSS (TCSS) files for styling the calculator and an exploration interface. Key additions and changes: New Calculator Application: • Added
calculator.py
, a complete example of a Textual-based calculator embedded in a Panel app, served via Flyte's
AppEnvironment
. This includes the calculator logic, UI composition, and server integration for local and remote deployment. • Added
calculator.tcss
, providing custom TCSS styles for the calculator layout and appearance, ensuring a responsive and visually distinct calculator UI. Styling for Exploration Interface: • Added
explore.tcss
, a TCSS stylesheet defining the color scheme, layout, and component styles for an exploration interface, enhancing the look and feel of related Panel/Textual apps. flyteorg/flyte-sdk