Skip to content

Add ticker banner feature with i18n support and configuration updates - #136

Merged
VasanthPranmalai10 merged 5 commits into
bh-devfrom
feat/OD-2281-tickerFeature
Jul 24, 2026
Merged

Add ticker banner feature with i18n support and configuration updates#136
VasanthPranmalai10 merged 5 commits into
bh-devfrom
feat/OD-2281-tickerFeature

Conversation

@VasanthPranmalai10

Copy link
Copy Markdown
Collaborator

No description provided.

Introduce a new ticker/banner system for homepage announcements. Adds src/components/.../ticker-designs.tsx implementing four variants (scrolling strip, pinned card, alert feed, carousel) and SAMPLE_ANNOUNCEMENTS. Wire variant 1 into the chat layout and variants 2–4 into the welcome panel. Add uiTicker to src/config/env.ts (default 3) with docs to control VITE_UI_TICKER. Add localized ticker strings and sample announcement copy across multiple translation files (as, bn, en, gu, hi, kn, ml, mr, ta, te).
- Removed baseUrl from tsconfig.json to streamline path resolution.
- Updated uiTicker in src/config/env.ts to dynamically read from environment variable VITE_UI_TICKER, defaulting to 2.
- Set apiUrl in src/lib/config/environment.ts to a specific development endpoint.
- Improved comments for uiTicker in src/config/env.ts to clarify its purpose and available options for the ticker banner design.
- Set default value of uiTicker to 2, ensuring consistent behavior across environments.
- Enhanced styling in ticker-designs.tsx for improved layout and visual consistency, including adjustments to padding and font sizes.
- Changed default value of uiTicker in env.ts from 2 to 1 to align with new design requirements.
@VasanthPranmalai10
VasanthPranmalai10 merged commit 5790cdd into bh-dev Jul 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant