mosaic / src

Commit History

Merge remote-tracking branch 'hf/main'
7c519de

raylim commited on

ui: improve fetch button color and settings CSV documentation
08407b7

raylim Copilot commited on

fix: pass session_id to telemetry so logged-in users are not reported as Anonymous
30353a0

raylim Claude Opus 4.6 commited on

fix: show existing slides row when switching to Upload Files mode
ec80932

raylim Claude Opus 4.6 commited on

fix: move session_id_input definition before first reference
51aa2b6

raylim Claude Opus 4.6 commited on

fix: pass session_id to storage/slides functions on HF Spaces
31037c1

raylim Claude Opus 4.6 commited on

fix: use gr.skip() to prevent reconnection events from clearing login state
4608eac

raylim Claude Opus 4.6 commited on

fix: use session_id_input.change() instead of demo.load() for login state
a22fed0

raylim Claude Opus 4.6 commited on

fix: cache and replay page-load result on Gradio reconnection events
da47bf6

raylim Claude Opus 4.6 commited on

fix: prevent Gradio reconnection from overwriting logged-in state
0c090ec

raylim Claude Opus 4.6 commited on

debug: add visible diagnostics to on_page_load for session troubleshooting
b832f22

raylim Claude Opus 4.6 commited on

fix: consolidate page-load into single demo.load() to avoid chaining issues
9c52c83

raylim Claude Opus 4.6 commited on

fix: chain demo.load events sequentially for reliable session propagation
a89aa53

raylim Claude Opus 4.6 commited on

fix: pass localStorage session ID to all user storage handlers
ed36f34

raylim Claude Opus 4.6 commited on

fix: use pure JS logout — clear localStorage and reload page
a9f0b4d

raylim Claude Opus 4.6 commited on

fix: move localStorage clear to .then() chain after logout handler
ca82d4c

raylim Claude Opus 4.6 commited on

fix: simplify logout handler — no inputs, just clear localStorage side-effect
deda499

raylim Claude Opus 4.6 commited on

fix: use Gradio button for sign-out instead of navigation link
70bd6db

raylim Claude Opus 4.6 commited on

fix: use localStorage instead of cookies for session persistence
b656af2

raylim Claude Opus 4.6 commited on

fix: handle Gradio Obj type in cookie lookup for session detection
f739613

raylim Claude Opus 4.6 commited on

fix: use lifespan handler + server-side session for OAuth on HF Spaces
de07ddb

raylim Claude Opus 4.6 commited on

fix: use Gradio built-in OAuth routes instead of custom ones
73fd19d

raylim Claude Opus 4.6 commited on

fix: use ASGI middleware for OAuth routes to prevent Gradio 404
2d8fcaf

raylim Claude Opus 4.6 commited on

feat: implement manual OAuth for HF Spaces Docker SDK
8492a0e

raylim Claude Opus 4.6 commited on

fix: clear LoginButton load event on HF Spaces to prevent self-reveal
98b35f0

raylim Claude Opus 4.6 commited on

fix: hide LoginButton on HF Spaces (sdk:docker) and hash usernames in telemetry
99357ca

raylim Claude Opus 4.6 commited on

fix: stop using request.username on HF Spaces (returns Space owner, not visitor)
bce9604

raylim Claude Opus 4.6 commited on

fix: hide LoginButton on initial load in HF Spaces to prevent flash
9adb105

raylim Claude Opus 4.6 commited on

docs: add login & user storage section to in-app documentation
7cd9c01

raylim Claude Opus 4.6 commited on

fix: use OAuthProfile for login state across all UI functions
02148f5

raylim Claude Opus 4.6 commited on

fix: use login() instead of success() for LoginButton event handler
9a9c8c3

raylim commited on

fix: hide existing slides selector when TCGA fetch mode is selected
cdf4f0d

raylim commited on

fix: resolve column mismatch error in get_settings function
343d8bf

raylim commited on

fix: use OAuthProfile instead of request.username for HF Spaces login
847294a

raylim Claude Opus 4.6 commited on

fix: handle AuthenticationMiddleware error when accessing request.username
89430a7

raylim commited on

fix: add diagnostic logging for HF Spaces user authentication
c3c3ba9

raylim commited on

fix: use LoginButton instead of expects_oauth parameter
3738c7d

raylim commited on

feat: enable HuggingFace OAuth for user tracking
8309db7

raylim commited on

fix: use Gradio 6.x built-in username instead of JWT parsing
001e8fa

raylim commited on

fix: handle None values in telemetry long format reports
0327c8f

raylim commited on

fix: pin setuptools <70.0.0 to preserve pkg_resources
2e52f59

raylim commited on

fix: use cached_slide_count instead of from_cache boolean for accurate telemetry
99f61a7

raylim Claude Opus 4.6 commited on

feat: add cache-hit tracking to telemetry
e297f75

raylim Claude Opus 4.6 commited on

Merge pull request #25 from pathology-data-mining/feature/hf-user-telemetry
2e7e79a
unverified

raylim commited on

Update src/mosaic/telemetry/utils.py
71bb9b4
unverified

raylim Copilot commited on

fix: address PR review feedback for HF user telemetry
cb59bc2

raylim Claude Opus 4.6 commited on

perf: defer model loading until first cache miss
20ea201

raylim Claude Opus 4.6 commited on

refactor: reduce log noise for expected HF 404 errors in cache download
9dda4b6

raylim commited on

fix: remove unreachable except PermissionError block in tcga.py
df32bbd

raylim commited on

Apply suggestions from code review
4546a6e
unverified

raylim Copilot commited on