Skip to content

Commit 2c4b693

Browse files
committed
Fix #257 and #258 Utilize callbacks for packet labeling
1 parent a10f551 commit 2c4b693

File tree

3 files changed

+223
-118
lines changed

3 files changed

+223
-118
lines changed

src/libinspector/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def show_warning():
4646
st.info(f"Your currently stored ID is: `{current_id}`")
4747

4848
# Allows the user to change the ID, which forces them back through GATE 1
49-
if st.button("Change Prolific ID"):
49+
if st.button("Change Prolific ID", help="Clicking this will clear your stored ID and return you to the ID entry form."):
5050
config_set("prolific_id", "") # Clear the stored ID
5151
st.rerun()
5252

@@ -55,7 +55,7 @@ def show_warning():
5555
st.subheader("2. Network Monitoring Warning")
5656
st.markdown(warning_text)
5757

58-
if st.button("OK, I understand and wish to proceed"):
58+
if st.button("OK, I understand and wish to proceed", help="Clicking this confirms that you understand the warning and wish to proceed."):
5959
config_set("suppress_warning", True)
6060
st.rerun()
6161

0 commit comments

Comments
 (0)