Spaces:
Sleeping
Sleeping
Commit ·
da7980f
1
Parent(s): 87a7901
Fold the access-code explanation into the Questions line
Browse filesThe 'only sharing needs a code' note only appeared inside the Share tab, after
someone had already hit the code prompt. Moving it up to the Questions line puts
it above the tabs, where a student sees it before picking one, and drops the
now-duplicated info box from the locked branch.
The 'see How it works' clause goes with it, since the sentence it now joins
already points at that tab.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -304,8 +304,10 @@ st.markdown(
|
|
| 304 |
# told where the long answer lives. The tabs are right below this line, and the
|
| 305 |
# about tab is open to everyone, with no access code needed to read it.
|
| 306 |
st.markdown(
|
| 307 |
-
"**Questions?** Open the **How it works** tab below
|
| 308 |
-
"what gets removed, what stays in, and who can see your report."
|
|
|
|
|
|
|
| 309 |
)
|
| 310 |
|
| 311 |
# ============================================================================
|
|
@@ -585,10 +587,6 @@ with tab_share:
|
|
| 585 |
else:
|
| 586 |
st.caption("If you're a USC student using this, whoever referred "
|
| 587 |
"you should've shared a passphrase.")
|
| 588 |
-
st.info("**Only sharing needs a code.** If you already submitted a "
|
| 589 |
-
"report and want it deleted, open the **Delete my report** "
|
| 590 |
-
"tab, no code required. Curious what the tool does? See "
|
| 591 |
-
"**How it works**.")
|
| 592 |
else:
|
| 593 |
_uploaded = _render_upload_step()
|
| 594 |
_have_redaction = _render_review_step() if _uploaded is not None else False
|
|
|
|
| 304 |
# told where the long answer lives. The tabs are right below this line, and the
|
| 305 |
# about tab is open to everyone, with no access code needed to read it.
|
| 306 |
st.markdown(
|
| 307 |
+
"**Questions?** Open the **How it works** tab below: it shows exactly "
|
| 308 |
+
"what gets removed, what stays in, and who can see your report. "
|
| 309 |
+
"**Only sharing needs a code.** If you already submitted a report and want "
|
| 310 |
+
"it deleted, open the **Delete my report** tab, no code required."
|
| 311 |
)
|
| 312 |
|
| 313 |
# ============================================================================
|
|
|
|
| 587 |
else:
|
| 588 |
st.caption("If you're a USC student using this, whoever referred "
|
| 589 |
"you should've shared a passphrase.")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 590 |
else:
|
| 591 |
_uploaded = _render_upload_step()
|
| 592 |
_have_redaction = _render_review_step() if _uploaded is not None else False
|