chore: consolidate documentation — delete status/fix/progress cruft
Before: 335 tracked .md files; top level had 14 README-like docs; docs/ contained ~234 files, most of them auto/LLM-generated status reports (ALL_*_COMPLETE*, *_FIX*, DEPLOYMENT_*_FINAL*, etc.). After: 132 tracked .md files. Repo now has exactly five top-level docs: README.md, QUICKSTART.md, RUNBOOK.md, CONTRIBUTING.md, CHANGELOG.md (moved up from docs/). Keeper philosophy in docs/: - API, CCIP (ops + security + receiver/router refs), Chainlist refs, compliance, deployment (guides not status), database connection, legal compliance, metamask integration, production checklist, tiered-architecture implementation/setup, reusable-components plan, token-mechanism doc, wrap-and-bridge operational reference, plus docs/specs/** and docs/api/ / docs/openapi/ trees. Deleted (git history preserves provenance): - All 'ALL_*_COMPLETE*' / '*_FIX*' / '*_FIXED*' / '*_FINAL*' / '*_STATUS*' / '*_PROGRESS*' / '*_SUMMARY*' files. - BLOCKSCOUT_*_FIX / _CRASH / _INITIALIZATION / _SCHEMA / _YAML / _SKIP / _NEXT_STEPS / _START_AND_BUILD / _DATABASE_CREDENTIALS (the last contained passwords). - CCIP_IMPLEMENTATION_* / CCIP_CURRENT_STATUS / CCIP_GAP_* (gap analyses are not a sustained reference). - NPMPLUS_CREDENTIALS_GUIDE.md (contained creds). - LETSENCRYPT_CONFIGURATION_GUIDE.md (contained creds; will be re-introduced as runbook content post-secrets-scrub). - docs/diagnostic-reports/, docs/feature-flags/ (run-time artifacts). README.md: dead links (START_HERE, README_DEPLOYMENT, COMPLETE_DEPLOYMENT, DEPLOYMENT_COMPLETE_FINAL) replaced with links to the five canonical top-level docs + docs/ index.
This commit is contained in:
@@ -1,49 +0,0 @@
|
||||
# Explorer Frontend Testing
|
||||
|
||||
> Historical note: this testing note captures legacy static-SPA routing
|
||||
> behavior during the explorer transition. The canonical live frontend is now
|
||||
> the Next standalone app deployed with
|
||||
> `./scripts/deploy-next-frontend-to-vmid5000.sh`.
|
||||
|
||||
## Summary
|
||||
|
||||
Path-based URLs (e.g. `/address/0x99b3511a2d315a497c8112c1fdd8d508d4b1e506`) now work on the explorer. The fix includes:
|
||||
|
||||
1. **SPA path-based routing** – historically, `applyHashRoute()` in `frontend/public/index.html` read both `pathname` and `hash`, so `/address/0x...`, `/tx/0x...`, `/block/123`, etc. loaded correctly.
|
||||
2. **Nginx SPA paths** – Nginx serves `index.html` for `/address`, `/tx`, `/block`, `/token`, `/blocks`, `/transactions`, `/bridge`, `/weth`, `/watchlist`, and `/nft`.
|
||||
3. **HTTP + HTTPS** – Both HTTP (for internal tests) and HTTPS serve the SPA for these paths.
|
||||
|
||||
## Test Commands
|
||||
|
||||
### Shell E2E (curl-based)
|
||||
|
||||
```bash
|
||||
./explorer-monorepo/scripts/e2e-test-explorer.sh
|
||||
```
|
||||
|
||||
Requires network access to `192.168.11.140` (VMID 5000).
|
||||
|
||||
### Playwright E2E
|
||||
|
||||
```bash
|
||||
cd explorer-monorepo
|
||||
EXPLORER_URL="http://192.168.11.140" npx playwright test e2e-explorer-frontend.spec.ts --project=chromium
|
||||
```
|
||||
|
||||
## Links Verified
|
||||
|
||||
| Link | Example |
|
||||
|------|---------|
|
||||
| Address | `/address/0x99b3511a2d315a497c8112c1fdd8d508d4b1e506` |
|
||||
| Tx | `/tx/<hash>` |
|
||||
| Block | `/block/<number>` |
|
||||
| Blocks | `/blocks` |
|
||||
| Transactions | `/transactions` |
|
||||
| Bridge | `/bridge` |
|
||||
| WETH | `/weth` |
|
||||
| Watchlist | `/watchlist` |
|
||||
| MetaMask Snap | `/snap/` |
|
||||
|
||||
## Proxy 301 Note
|
||||
|
||||
If `https://explorer.d-bis.org/address/0x...` returns 301, the proxy (NPMplus/Cloudflare) may need configuration. The VM nginx serves the SPA correctly. Workaround: use `#/address/0x...` or access via LAN.
|
||||
Reference in New Issue
Block a user