Skip to content

Url parameter accumulation#47

Merged
Demonstrandum merged 3 commits into
masterfrom
cursor/url-parameter-accumulation-865a
Feb 18, 2026
Merged

Url parameter accumulation#47
Demonstrandum merged 3 commits into
masterfrom
cursor/url-parameter-accumulation-865a

Conversation

@Demonstrandum

Copy link
Copy Markdown
Owner

This pull request contains changes generated by a Cursor Cloud Agent

Open in Cursor Open in Web

cursoragent and others added 2 commits February 16, 2026 12:50
Remove legacy Polymer component hash storage for parameters now managed
by the Angular app or localStorage:

- runSelectionState: now persisted to localStorage via runs_effects.ts
- _smoothingWeight: now managed via Angular query param 'smoothing'
- tagFilter: now managed via Angular query param 'tagFilter'
- regexInput: now managed via Angular query param 'runFilter'

These Polymer components were writing state to the URL hash (e.g.
#timeseries&runSelectionState=eyJ...) while the Angular routing system
preserved the hash on same-route navigations. This caused the URL to
accumulate ever-growing parameters that were never cleaned up.

The fix:
1. Remove hash storage observers from tf-runs-selector (runSelectionState,
   regexInput), tf-scalar-dashboard (_smoothingWeight),
   tf-custom-scalar-dashboard (_smoothingWeight), and tf-tag-filterer
   (tagFilter).
2. Add cleanup in migrateLegacyURLScheme() to strip these legacy hash
   params from existing URLs on startup.

Fixes: #42

Co-authored-by: Samuel <samuel@knutsen.co>
Remove tf_storage dependency from tf_runs_selector and
tf_categorization_utils BUILD files since the import was removed
in the previous commit.

Co-authored-by: Samuel <samuel@knutsen.co>
@cursor

cursor Bot commented Feb 16, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@Demonstrandum Demonstrandum linked an issue Feb 16, 2026 that may be closed by this pull request
Co-authored-by: Samuel <samuel@knutsen.co>
@github-actions

github-actions Bot commented Feb 16, 2026

Copy link
Copy Markdown

Preview Deployment

Status ✅ Running
Live Preview https://Demonstrandum-tensorbored-pr-47.hf.space
Space https://huggingface.co/spaces/Demonstrandum/tensorbored-pr-47
Details
  • Wheel: tensorbored_nightly-2.21.0a20260216-py3-none-any.whl
  • Commit: 0f9cd75
  • Build status: success

@Demonstrandum Demonstrandum merged commit 5c620a2 into master Feb 18, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URL still appears to accumulate parameters

2 participants