bharatgraph / frontend

Commit History

feat(phase-34): add 10 Phase 34 client methods to api.js
34cd641

abinazebinoy commited on

feat(phase-33): add 6 Phase 33 client methods to api.js
cdc0d19

abinazebinoy commited on

fix(phase-33): fix _renderTimeline to call /timeline/ not /biography/
daf86d8

abinazebinoy commited on

fix(B-06): confirm filter button data-nav-path fix applied + wire addEventListener
0ece323

abinazebinoy commited on

fix(B-25): remove incorrect D3 7.9.0 SRI hash that silently blocked graph visualisation
c4a33c8

abinazebinoy commited on

fix(B-13): move BHARATGRAPH_API_URL script to top of <head> -- eliminates race condition
85fee75

abinazebinoy commited on

fix(B-29): replace misleading 'court-grade PDF' claim with accurate disclaimer
f408a8f

abinazebinoy commited on

fix(B-15): remove extra brace orphaning else branch in liveFeed ws.onmessage
14ac551

abinazebinoy commited on

fix(LOGIC-3): preserve &lang= in search filter buttons and search button handler
eec5179

abinazebinoy commited on

fix(SEC-1,CodeQL#24): data-* attrs for connection-map evidence onclick -- prevents single-quote XSS
1c118c6

abinazebinoy commited on

fix(UI-6): replace corrupted unicode chars in connection map legend with HTML entities
c12aeda

abinazebinoy commited on

fix(UI-2): set evidence panel width to min(460px,100vw) -- no longer overflows on 375px phones
d6e6ec5

abinazebinoy commited on

fix(UI-1): add hamburger button and mobile nav drawer -- users can now navigate on screens narrower than 768px
9376839

abinazebinoy commited on

fix(TEXT-1): update hardcoded '12 investigators' to '15' in How It Works and About page
5406493

abinazebinoy commited on

fix(I18N-1,I18N-3): add mni/sat/ks to navbar language dropdown; restore all corrupted Indian script labels in search page dropdown
c44a433

abinazebinoy commited on

fix(SEARCH-2,SEARCH-3): add datagov/crimereport filter buttons; add Arabic script U+0600-U+06FF to ALLOWED_CHARS for Urdu/Sindhi search
297cc9e

abinazebinoy commited on

fix(LOGIC-5): add .risk-badge--NONE CSS rule -- entities with score=0 had unstyled badge
bba794a

abinazebinoy commited on

fix(LOGIC-4): persist language selection to localStorage -- language now survives page refresh
db4b345

abinazebinoy commited on

fix(SEC-1,CodeQL#24): sanitize entity name, type, profile.overview k/v, and risk.explanation before innerHTML injection
8ad162f

abinazebinoy commited on

fix(FEED-1): add pipeline-message guard in liveFeed view -- admin system message no longer shown as fake intelligence
f171783

abinazebinoy commited on

fix(FEED-2): reset connect._retries=0 on each _connectFeedToHome() call -- prevents permanent feed silence after repeated navigation
0b32f6d

abinazebinoy commited on

fix(JS-4,FEED-4): stop D3 simulation and close WebSocket on route navigation -- prevents CPU/memory leak
4d6372a

abinazebinoy commited on

fix(JS-2): remove duplicate GraphRenderer._currentSimulation assignment in graph.js
4d11956

abinazebinoy commited on

fix(DUP-1): remove duplicate search input prefill block -- same code appeared twice with different variable names
19b580c

abinazebinoy commited on

fix(JS-1 CRITICAL): remove 2 duplicate const _langLabelCache declarations -- caused SyntaxError crash in strict-mode browsers
a4a025f

abinazebinoy commited on

fix(SyntaxError): move _stats_cache vars to module level; global declaration must precede use -- fixes CI SyntaxError on line 142
41a604c

abinazebinoy commited on

fix(M-03): add @media overrides for inline grid-template-columns -- fixes mobile layout overflow
13a53d3

abinazebinoy commited on

fix(M-10,M-11,L-06): deterministic node ID fallback; container-scoped SVG marker; store simulation for tab-switch cleanup
11b0978

abinazebinoy commited on

fix(M-05): cache language labels in applyLanguage() -- avoids redundant API calls on rapid language switching
8358396

abinazebinoy commited on

fix(M-05): cache language labels in applyLanguage() -- avoids redundant API calls on rapid language switching
53b2127

abinazebinoy commited on

fix(H-01): sanitize event.title/detail/date/source in Timeline.render() -- XSS via scraped Neo4j data
d7d6d05

abinazebinoy commited on

fix(C-01,H-03): pre-fill search input with current query; sanitize entity id in not-found XSS
8d3abc6

abinazebinoy commited on

fix(BUG-M9,BUG-C2): pass driver kwarg in run_investigator; update 12->15 investigators
18aeb5b

abinazebinoy commited on

fix(M-06): back button checks referrer before history.back() -- shared/direct links go to search page instead of external site
1113f2b

abinazebinoy commited on

fix(L-01): restore Urdu (اردو) and Sindhi (سنڌي) native script labels in navbar language dropdown
9c402cd

abinazebinoy commited on

fix(M-10,M-11,L-06): deterministic fallback node IDs; container-scoped SVG marker IDs; stop D3 simulation on tab switch
0fad33c

abinazebinoy commited on

fix(M-07): add max 20 retry cap to WebSocket reconnect loops -- prevents infinite background polling when HF Space is sleeping
fad15e0

abinazebinoy commited on

fix(M-05): cache language labels in applyLanguage() -- avoids redundant API calls on rapid language switching
729c0c5

abinazebinoy commited on

fix(M-03,M-06,M-08): add mobile CSS overrides for inline grid layouts; add NONE risk level for score=0; clamp risk score to 0-100
b0e0450

abinazebinoy commited on

fix(CodeQL#22,L-02): avoid externally-controlled format string in api.js console.error; strip trailing slash before WebSocket URL construction
40aace3

abinazebinoy commited on

fix(H-10): nav active matching requires path===href or path starts with href+'/' -- prevents /search matching /search-results etc
1d78e6f

abinazebinoy commited on

fix(H-09): add hashchange event listener to Router.init() -- direct URL navigation now updates the view
f14468a

abinazebinoy commited on

fix(H-02,CodeQL#24): sanitize evidence chip text in FindingItem -- XSS from AI/DB output in innerHTML
85cfbb0

abinazebinoy commited on

fix(C-01,H-03): pre-fill search input with current query; sanitize entity id in not-found message (XSS)
7e3b7e5

abinazebinoy commited on

fix(BUG-28,NEW-A5): fix SW hostname check to use endsWith('.hf.space'); add all API paths to network-first list; bump cache to v5
aff7a19

abinazebinoy commited on

fix(BUG-13): sync search-page lang-select when navbar language dropdown changes
14c7fba

abinazebinoy commited on

fix(BUG-12): show user-friendly callout when feed is empty due to unpopulated DB instead of swallowing backend message
833acfb

abinazebinoy commited on

fix(BUG-11,NEW-A4): add Views.notFound and Router.register('*') -- unknown URLs now show 404 instead of frozen spinner
7ef1e95

abinazebinoy commited on

fix(BUG-10,NEW-A2): add missing --color-ashoka-blue and --color-india-green CSS vars; fixes invisible corporate/financial timeline events
411cbe1

abinazebinoy commited on

fix(BUG-9): validate s.url starts with http before injecting into href -- prevents javascript: XSS from DB
77238ce

abinazebinoy commited on