Skip to content

feat: add releaseNotes table to schema with timestamp index and unit tests - #57

Open
Ronaldo93 wants to merge 1 commit into
devfrom
feat/release-note-schema
Open

feat: add releaseNotes table to schema with timestamp index and unit tests#57
Ronaldo93 wants to merge 1 commit into
devfrom
feat/release-note-schema

Conversation

@Ronaldo93

@Ronaldo93 Ronaldo93 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Note

This version currently supports text-only. Image will be implemented if there are demands.

this stacked pr implements a basic version of release note to notify user of new application changes, notice...

This one works on schema.


Stack created with GitHub Stacks CLIGive Feedback 💬

Summary by CodeRabbit

  • New Features

    • Added support for storing categorized release notes with titles, content, and timestamps.
    • Release notes can be retrieved in reverse chronological order.
  • Tests

    • Added coverage for creating, retrieving, sorting, and validating release notes.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ef57f945-83de-4204-9a11-725518762c83

📥 Commits

Reviewing files that changed from the base of the PR and between 6a1b313 and c085693.

📒 Files selected for processing (2)
  • web/convex/schema.ts
  • web/test/releaseNotes.test.ts

📝 Walkthrough

Walkthrough

The PR adds a Convex releaseNotes table with typed note categories and a timestamp index. Tests cover record persistence, descending timestamp queries, and rejection of unsupported note types.

Changes

Release notes

Layer / File(s) Summary
Release notes schema and validation
web/convex/schema.ts, web/test/releaseNotes.test.ts
The schema adds feature, fix, and improvement note types with timestamp, title, and content fields. Tests verify insertion, retrieval, timestamp ordering, and invalid type rejection.

Estimated code review effort: 2 (Simple) | ~10 minutes

Poem

A rabbit hops through notes so neat,
With fixes, features, all complete.
Timestamps line up in a row,
Bad types stop before they grow.
“Thump!” says the bunny, “Ship the treat!”

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the new releaseNotes table, timestamp index, and unit tests.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/release-note-schema

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment Successful!

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