Skip to content

Commit

Permalink
fix: remove uses of panel_main() and panel_sidebar() (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie authored Jul 30, 2024
1 parent e55b7fc commit 67e47c5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion components/display-messages/chat/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ listing:
shinylive: https://shinylive.io/py/editor/#code=NobwRAdghgtgpmAXAAjFADugdOgnmAGlQGMB7CAFzkqVQDMAnUmZAZwAsBLCXLOAD3QM4rVsk4x0pBhWQBXTgB0IyhTigBzOAH1S6CqwAUy5KeQVOFADZwAvIrAAJOFaulkAZS49kAYXZQFA4EJmZ0nK5QAEY2tgAqDHJwIRBmyOGRMTowpFERdglJKQCUysoAxH7CgXDIUMjEAbLcrBRQEMS17QAmyN2crOhWULjiQR1NyLbynFj+gYac3fZgjYEOxaaVADzbymsUWAqGm8g7eyqXlQAicOEQXQ1QrlFQxADW5u6JqQDu7NRzAD5Kw4Aw2HIojBLGJ6vBRJo4MoAAIHLDkbRyUEMbSsSHQ2RnZC7ZRQVi4Dp9O7IbQnFBEkmpMyVDwSIajOCNdwUYFYsEAcjE3HQclkrw+XyBcBgoVMUF+UEsDSaWAw6Go3W08NYiMMdAcAE1SHI2IruigQGi+TjhaKTgBfDZbYkXQioCi4dW0MBUfgUMD2gC6QA
- title: Core
file: app-core.py
shinylive: https://shinylive.io/py/editor/#code=NobwRAdghgtgpmAXGKAHVA6VBPMAaMAYwHsIAXOcpMAMwCdiYACAZwAsBLCbJjmVYnTJMAgujxMArhwA6EOWlQB9aUwC8UjligBzOEpocANkagAjI3AAUcpnc3aIcI0rIcylm2AASzo8SYAZU5uJgBhNigyGTAASjxbe2kMQkiyFQ4vVKiY+LsAYiYAHiLEu0MTc0slGGIzYzg1ABU6STgEiFi5bogAEzgaVjg6ADdhqy5USTJYxDKmQrC6OCi4JigmbOEuFjIoCEI1-d6mXo4WVFMed3mt9QcIqInetRit3ILi0vkIewWmAAiAy4R02UBMZighAA1kwyAFWr8AO5sShw1FSFjDViSMwwdwsdZMeAsFi6ODzAACWwwpBUWLoShYuPxwn+JXmUBY2AOpwGTCUVlmnw5vz+9kKgT4lx4cFSATIGMkDIA5ITJtMmJCYXCFaiYPM-lAkVB3Js0hhFJRejU4KTyVYaDEAJrESSsU29RBMEA05XDJQashCgC+H3Z3x6inuYlQVkUGQkDLGdC6EDAIYAukA
shinylive: https://shinylive.io/py/editor/#code=NobwRAdghgtgpmAXAAjFADugdOgnmAGlQGMB7CAFzkqVQDMAnUmZAZwAsBLCXZTmdKQYVkAQUxEArpwA6EORnQB9acgC8yaTigBzOErqcANkagAjI3AAUc5Hc2dtEOEaUVOFSzbAAJF0dJkAGUuHmQAYXYoChkwAEoCW3stYiiKFU5vVOjYhLsAYmQAHiKku0MTc0slGFIzYzg1ABUGSThEiDi5bogAEzg6NjgGADdhq250SQo4xDLkQvCGOGi4ZChkbJFuVgooCGI1-d7kXs5WdFNeD3mt9QcsSOiJ3rVYrdyC4tL5CHsF5AAEQG3COmygJjMUGIAGtkBRAq0-gB3djUeFozSsYZsSRmGAeVjrZDwVisXRweYAAS2WHIKmxDCUrDxBJEAJK8ygrFwB1OA2QSissy+nL+-3shSC-EuvDgqUCFExkkZAHIiZNpsgobD4Yq0TB5v8oMioB5NmksIpqL0anAyRSrHRYgBNUiSNhm3ooEC0lXDJSaijCgC+nw5Px6inu4nQVkUGSIjLGDC6EEIqAouHQCBQYCoAA8KGAQwBdIA
- id: relevant-functions
template: ../../_partials/components-detail-relevant-functions.ejs
template-params:
Expand Down
6 changes: 2 additions & 4 deletions layouts/arrange/app-fillable-core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@

app_ui = ui.page_fillable( # <<
ui.layout_sidebar(
ui.panel_sidebar(
ui.sidebar(
ui.input_slider("n", "N", 0, 100, 20),
),
ui.panel_main(
ui.output_plot("histogram", height="100%"), # <<
),
ui.output_plot("histogram", height="100%"), # <<
),
) # <<

Expand Down
6 changes: 2 additions & 4 deletions layouts/arrange/app-page-fixed-core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@

app_ui = ui.page_fixed( # <<
ui.layout_sidebar(
ui.panel_sidebar(
ui.sidebar(
ui.input_slider("n", "N", 0, 100, 20),
),
ui.panel_main(
ui.output_plot("histogram"),
),
ui.output_plot("histogram"),
),
) # <<

Expand Down
6 changes: 2 additions & 4 deletions layouts/arrange/app-page-fluid-core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@

app_ui = ui.page_fluid( # <<
ui.layout_sidebar(
ui.panel_sidebar(
ui.sidebar(
ui.input_slider("n", "N", 0, 100, 20),
),
ui.panel_main(
ui.output_plot("histogram"),
),
ui.output_plot("histogram"),
),
) # <<

Expand Down

0 comments on commit 67e47c5

Please sign in to comment.