diff --git a/fieldsurveys/app_files/navbar_utils.py b/fieldsurveys/app_files/navbar_utils.py index 43df8fa..10855c8 100644 --- a/fieldsurveys/app_files/navbar_utils.py +++ b/fieldsurveys/app_files/navbar_utils.py @@ -209,7 +209,7 @@ def record_observation(survey_config): fillable=True, inline=True, ), - ui.card(ui.output_ui("notes", fillable=True, inline=True)), + ui.card(ui.output_ui("notes_txt", fillable=True, inline=True)), col_widths=[3, 9], class_="shiny-input-full-width", ), diff --git a/fieldsurveys/make_app.py b/fieldsurveys/make_app.py index f737a3a..0732538 100644 --- a/fieldsurveys/make_app.py +++ b/fieldsurveys/make_app.py @@ -84,7 +84,7 @@ def nav_controls(prefix: str) -> List[NavSetArg]: else default_url ) app_ui = ui.page_navbar( - shinyswatch.theme.minty(), + theme=shinyswatch.theme.minty, title=ui.tags.img(src=img_url, width="125px"), *nav_controls("page_navbar"), id="page_navbar", @@ -202,7 +202,7 @@ async def _upload(): notes_val.set(m) @render.ui - def notes(): + def notes_txt(): return notes_val.get() @reactive.Calc diff --git a/setup.py b/setup.py index e6377a0..c7203fb 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="fieldsurveys", - version="0.1.41", + version="1.0.0", author="Karan Gathani", author_email="karan.gathani+fieldsurveysapp@posit.co", packages=find_packages(), @@ -16,36 +16,30 @@ setup_requires=["wheel"], install_requires=[ "beautifulsoup4==4.12.3", - "colorama==0.4.6", - "cryptography==42.0.5", + "cryptography==43.0.1", "faicons==0.2.2", "geopy==2.4.1", - "google-api-python-client==2.120.0", - "google-auth-httplib2==0.2.0", - "google-auth-oauthlib==1.2.0", - "google-auth==2.28.1", - "gspread-dataframe==3.3.1", - "gspread==6.0.2", - "htmltools==0.5.1", - "pandas==2.2.1", - "plotly==5.19.0", - "pytz==2024.1", - "PyYAML==6.0.1", - "questionary==2.0.1", - "requests==2.31.0", - "rsconnect_python==1.22.0", - "shiny==0.7.1", - "shinyswatch==0.4.2", - "timezonefinder==6.4.1", - "us==3.1.1", - "Wikipedia-API==0.6.0", + "gspread==6.1.2", + "gspread-dataframe==4.0.0", + "htmltools==0.5.3", + "pandas==2.2.3", + "plotly==5.24.1", + "pytz==2024.2", + "PyYAML==6.0.2", + "requests==2.32.3", + "rsconnect_python==1.24.0", + "shiny==1.1.0", + "shinyswatch==0.7.0", + "timezonefinder==6.5.3", + "us==3.2.0", + "Wikipedia-API==0.7.1", ], extras_require={ "tests": [ - "playwright==1.41.2", - "pytest==8.0.2", - "pytest-mock==3.12.0", - "pytest-playwright==0.4.4", + "playwright==1.47.0", + "pytest==8.3.3", + "pytest-mock==3.14.0", + "pytest-playwright==0.5.2", ] }, )