Skip to content

Commit

Permalink
reorder settings
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderGi committed Mar 6, 2024
1 parent 5e2d2d7 commit 7072865
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions recipes/VideoBots.py
Original file line number Diff line number Diff line change
Expand Up @@ -1284,17 +1284,6 @@ def integration_test_config_screen(
# "Add a Gooey.AI LLM prompt to automatically analyse and categorize user messages. [Example](https://gooey.ai/compare-large-language-models/how-farmerchat-turns-conversations-to-structured-data/?example_id=lbjnoem7) and [Guide](https://gooey.ai/docs/guides/copilot/conversation-analysis)."
# )

col1, col2 = st.columns(2, style={"align-items": "center"})
with col1:
st.write("###### Add Integration")
st.caption(f"Add another connection for {run_title}.")
with col2:
if st.button(
f'<img align="left" width="24" height="24" src="{INTEGRATION_IMG}"> &nbsp; Add Integration',
key="btn_connect",
):
raise RedirectException(add_integration)

if bi.platform == Platform.WHATSAPP and bi.wa_business_waba_id:
col1, col2 = st.columns(2, style={"align-items": "center"})
with col1:
Expand All @@ -1313,11 +1302,17 @@ def integration_test_config_screen(
f"https://business.facebook.com/wa/manage/home/?waba_id={bi.wa_business_waba_id}",
new_tab=True,
)
st.anchor(
"Phone Numbers",
"https://business.facebook.com/wa/manage/phone-numbers",
new_tab=True,
)

col1, col2 = st.columns(2, style={"align-items": "center"})
with col1:
st.write("###### Add Integration")
st.caption(f"Add another connection for {run_title}.")
with col2:
if st.button(
f'<img align="left" width="24" height="24" src="{INTEGRATION_IMG}"> &nbsp; Add Integration',
key="btn_connect",
):
raise RedirectException(add_integration)

with st.expander("Configure Settings 🛠️"):
if bi.platform == Platform.SLACK:
Expand Down

0 comments on commit 7072865

Please sign in to comment.