Skip to content

docs(product-updates): add in-app changelog source (product_updates.json)#815

Merged
RamanKharchee merged 1 commit into
mainfrom
feat/product-updates-changelog
Jul 1, 2026
Merged

docs(product-updates): add in-app changelog source (product_updates.json)#815
RamanKharchee merged 1 commit into
mainfrom
feat/product-updates-changelog

Conversation

@RamanKharchee

Copy link
Copy Markdown
Contributor

Description

Adds the source-of-truth changelog for the app's Product Updates drawer (the megaphone icon in the header).

The api-server fetches product-updates/product_updates.json from this repo's main at runtime (raw URL, ~30-min cache) and serves it to every tenant — so editing the changelog is a docs commit; no api-server release. The URL is overridable per-deployment via PRODUCT_UPDATES_URL, and the app ships an embedded fallback for air-gapped on-prem.

Companion app PR: nudgebee/nudgebee-enterprise#31523

What's here

  • product-updates/product_updates.json — 4 starter entries: 2 current (highlight: true, badge as "New") + 2 historical back-catalog (highlight: false, shown but never highlighted).
  • product-updates/README.md — schema + authoring guide (the highlight: false convention for historical entries, is_active to retire, RFC3339 published_at for ordering).

Notes

  • Pure JSON array of objects — no comments (a stray non-object element breaks the typed parse and the app falls back to its embedded copy).
  • slug is the stable unique id; highlight/is_active default to true.

🤖 Generated with Claude Code

…son)

Source of truth for the app's Product Updates drawer — the api-server fetches
this file at runtime (raw URL on main, ~30-min cache), so editing the changelog
is a docs commit, no app release. Includes a README documenting the schema
(slug/title/body/category/url/highlight/is_active/published_at) and the
highlight:false convention for non-highlighted historical entries.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cla-assistant

cla-assistant Bot commented Jun 30, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces an in-app changelog feature by adding a README documentation file and an initial product_updates.json dataset. The review feedback suggests optimizing the JSON payload by removing redundant default values (such as "highlight": true and "is_active": true) and omitting optional fields set to null to improve maintainability and prevent potential parsing issues.

Comment thread product-updates/product_updates.json
@RamanKharchee RamanKharchee merged commit a65a3e5 into main Jul 1, 2026
5 checks passed
@RamanKharchee RamanKharchee deleted the feat/product-updates-changelog branch July 1, 2026 03:09
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.

2 participants