Finish outstanding features, fix service worker, improve Research section#13
Open
RavellerH wants to merge 3 commits into
Open
Finish outstanding features, fix service worker, improve Research section#13RavellerH wants to merge 3 commits into
RavellerH wants to merge 3 commits into
Conversation
…, portable AI endpoints Code audit found several documented-but-unfinished features; this completes them: - Settings tab (README referenced it; it never existed): new page collecting the four config cards previously buried at the bottom of Live Monitor (API proxy, CoinGecko key, APIU proxy, Telegram) plus new cards for wallet, RSS proxy, bot worker URL, Supabase Edge Function URL, and the Vercel backend URL. Live Monitor now links here instead. - Wallet switcher (README said "enter your wallet when prompted" but hype_wallet was read-only): topbar badge now renders the active wallet, shows the full address on hover, and is clickable to switch; also available in Settings. Validates the 0x address and reloads data. - RSS proxy setting (documented as "Settings → RSS Proxy", never implemented): news feeds now race a user-deployed cloudflare/worker.js first when configured, falling back to the public CORS proxies. - Portable /api/chat: KB AI (generate/enhance/trade-analyze) and MVRV chat called relative /api/chat, which silently fails on GitHub Pages. They now route through the same configurable backend URL used by Daily Brief and Weekly Research (hype_trigger_backend_url) via a shared _apiBase() helper. - Logger status tooltip was written to a permanently hidden span; the topbar dot now carries it as a native hover tooltip. - README: Settings row added to the tab table; SW cache bumped to v14. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199raLGr2LeKzBgPxgqVfry
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
hype-bot | f4c9f50 | Jul 03 2026, 03:18 AM |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
…ent install The old cache-first strategy caused the two most visible deploy problems: - every deploy was invisible until users reloaded twice (HTML/CSS/JS were served from cache first), which made merged updates look broken/missing - third-party GET responses (CoinGecko, DeFiLlama, raw.githubusercontent briefs, RSS proxies) were cached forever, freezing data pages at whatever the cache version last saw New strategy: - same-origin app shell/assets: network-first, cache only as offline fallback (new deploys appear on the very next load) - immutable CDN assets (fonts, chart.js, supabase-js): cache-first - everything else (live APIs): pass-through, never cached - install: per-item non-fatal precache — one unreachable asset no longer aborts the whole install (caches.addAll is all-or-nothing) - cache bumped to hype-v15 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199raLGr2LeKzBgPxgqVfry
…es/pins, in-app reports Bug fixes: - .chip-active (KB tabs, Weekly Research picker) and News filter .active were used in JS but never defined in CSS — active states were invisible; both now styled - Fundamentals search input lost focus on every keystroke (full page re-render); search/sort/pin now re-render only the table - Fundamentals Vol/MCap column sorted by raw volume (duplicate key with the Vol column); it now sorts by the actual ratio - News auto-refresh no longer refetches all 9 sources every 5 minutes while another tab is open or the window is hidden Upgrades: - News: keyword search over titles/excerpts and AI sentiment filter chips (Bull/Bear/Neutral) when analyses are available - News AI: falls back to the Supabase llm-router when the bot worker isn't configured (or fails), matching HL Pulse's chain - Fundamentals: 7-day SVG sparkline per coin (CoinGecko sparkline data) and pin-to-top favorites persisted in localStorage - Daily Brief / Weekly Research: "Read full report" renders the full markdown in-app via a small zero-dependency renderer (escape-first); GitHub link kept as secondary - Knowledge Base: Supabase project now configurable in Settings → Storage (falls back to the built-in project) - SW cache bumped to v16 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199raLGr2LeKzBgPxgqVfry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #12 (which merged the redesign before these commits landed). Three commits:
Finished outstanding features (
191c88e)cloudflare/worker.jsfirst when configured/api/chatthrough the configurable backend URL shared with Daily Brief / Weekly ResearchService worker fix (
16c2595)Research section (
f4c9f50).chip-activein KB/Weekly Research, News filter.active— used in JS, never defined in CSS)All changes verified in a headless browser (page sweep for JS errors, settings save round-trips, SW install/activate/control, injected-data tests for search/pins/sparklines/sentiment filters/markdown rendering).
🤖 Generated with Claude Code
https://claude.ai/code/session_0199raLGr2LeKzBgPxgqVfry