Fix URL auto-completion in re-track and analyze forms

- Add useLocation and useEffect to TrackingPage to pre-fill URL and method from navigation state
- Add useLocation and useEffect to AnalysisPage to pre-fill URL from navigation state
- Users can now click 'Re-track URL' or 'Analyze URL' from check detail pages and forms are automatically populated
- Improves user workflow by eliminating manual URL retyping
- Maintains type safety with proper TypeScript interfaces for location state
This commit is contained in:
Andrei
2025-08-23 20:21:17 +00:00
parent 67fe4f9c00
commit df3ad8b194
6 changed files with 113 additions and 33 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -15,7 +15,7 @@
gtag('config', 'G-ZDZ26XYN2P');
</script>
<script type="module" crossorigin src="/assets/index-Z8hwuOIA.js"></script>
<script type="module" crossorigin src="/assets/index-DL4PyATX.js"></script>
</head>
<body>
<div id="root"></div>