Skip to content

Commit

Permalink
DOC: update instructions (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgebhart authored Oct 8, 2023
1 parent 024b402 commit 6099dad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
9 changes: 5 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,11 @@ def _get_active_drawing_hash(state, drawings: List[str]) -> str:
st.markdown(
f"""
# Getting Started
1. Click the black square on the map
2. Draw a rectangle on the map
3. Optional: Apply customizations
4. Click on <kbd>{BTN_LABEL_CREATE_STL}</kbd>
1. Zoom to your region of interest
2. Click the black square on the map
3. Draw a rectangle on the map
4. Optional: Apply customizations below
5. Click on <kbd>{BTN_LABEL_CREATE_STL}</kbd>
""",
unsafe_allow_html=True,
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mapa-streamlit"
version = "0.8.0"
version = "0.8.1"
description = "Streamlit web app 🎈 for creating 3D-printable models of the earth 🌍 surface based on mapa"
authors = ["Fabian Gebhart"]
classifiers = [
Expand Down
3 changes: 2 additions & 1 deletion tests/browser_tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ def test_streamlit_app__basic(live_server, webdriver) -> None:
assert "mapa 🌍 Map to STL Converter" in h1

li = [e.text for e in webdriver.find_elements(By.TAG_NAME, "li")]
assert "Zoom to your region of interest" in li
assert "Click the black square on the map" in li
assert "Draw a rectangle on the map" in li
assert "Optional: Apply customizations" in li
assert "Optional: Apply customizations below" in li
assert "Click on Create STL" in li
assert "Wait for the computation to finish" in li
assert "Click on Download STL" in li
Expand Down

0 comments on commit 6099dad

Please sign in to comment.