Product updates, fixes, and community improvements for Lanka News Room.
·ChangelogLatest
Community hub wired to live data
The community page now reads and writes real Supabase data for reviews, issue reports, improvement ideas, votes, and public stats.
Live community feed
Issues, reviews, suggestions, and shipped updates are merged into one feed with sorting and filters.
Authenticated submissions
Signed-in readers can report issues, leave reviews, suggest improvements, and upvote ideas. Submissions appear publicly after posting.
Production hardening
Rate limits, service-role stats, and CDN-friendly caching were added for community API routes.
·Changelog
Full-text search across published stories
Site search now uses Postgres full-text search over published summaries and translations for faster, more relevant results.
Better relevance
Headlines, summaries, and translated fields are indexed together so readers find stories with fewer dead ends.
Language-aware results
Search respects the active language and returns published content only.
·Changelog
AI chat improvements on article pages
The inline AI prompt bar on article pages now streams responses, tracks conversation context, and surfaces related stories with citations.
Streaming replies
Responses stream in as they are composed so readers see progress instead of a long blank wait.
Article-aware answers
The assistant can use the open article, archive search, and optional web search depending on the question.
·Changelog
Live data panels for markets, weather, and social
Home and discovery surfaces can now show live market metrics, trending stocks, weather snapshots, and curated social posts from Sri Lankan outlets.
What is live
Market indices, trending tickers, outlet directory entries, YouTube and X posts, Facebook highlights, and weather snapshots refresh on a schedule.
Editorial framing
Live modules sit beside the main feed without overpowering the reading experience.
·Changelog
Google Sheet publishing pipeline
Newsroom stories can be queued from a Google Sheet and published to Supabase through the news-ingest edge function.
How it works
A ChatGPT research agent fills sheet rows with multilingual titles, summaries, categories, images, and sources. Apps Script syncs pending rows into Supabase.
UI contract
The site reads only from Supabase — no demo or fallback article data in production.
·Changelog
Journalist profiles and applications
Readers can follow journalists, browse their topics and activity, and apply to contribute through a structured review flow.
Public journalist pages
Each journalist gets a slug, topic tags, activity feed, and article history.
Application review
Admins can review pending applications and manage contributor access from the ops surface.
·Changelog
Google sign-in and unified profiles
Readers can sign in with Google to save stories, submit community feedback, and manage a single profile across the site.
Profile schema
Display name, avatar, bio, location, and role-aware permissions are stored in Supabase profiles.
OAuth reliability
Callback routing and profile creation triggers were hardened for production domains.
·Changelog
Community hub and AI Journalist widget
A dedicated community area for feedback plus a global AI widget that can answer questions with article and archive context.
Community hub
Readers can report issues, leave reviews, and vote on improvement ideas from /community.
AI Journalist
A floating widget and inline article prompt bar connect readers to trending stories, daily briefs, and archive search.
·Changelog
Pipeline quota system and security hardening
Automated news ingestion now tracks provider quotas, reserves usage per run, and exposes safer RPC boundaries for workers.
Quota plans
Per-provider limits and period totals prevent runaway API usage during busy news cycles.
Security
Sensitive database functions were restricted to service-role callers where appropriate.
·Changelog
Reader report and feature-request system
Backend tables and APIs for product issues, feature requests, and votes were added ahead of the public community UI.