Skip to content

mock data#1179

Merged
yujonglee merged 1 commit intomainfrom
Improve-mock-data
Jul 21, 2025
Merged

mock data#1179
yujonglee merged 1 commit intomainfrom
Improve-mock-data

Conversation

@ComputelessComputer
Copy link
Collaborator

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 19, 2025

📝 Walkthrough

Walkthrough

The seed function in crates/db-user/src/init.rs was updated to include nine additional future events, expanding the seeded dataset. These new entries represent various meeting types and session formats. The numbering for past events was also adjusted to accommodate the new additions. No other logic or control flow changes were made.

Changes

File(s) Change Summary
crates/db-user/src/init.rs Added nine new future event entries to the seed function; adjusted numbering for past events.

Possibly related PRs

✨ Finishing Touches
  • 📝 Generate Docstrings

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🔭 Outside diff range comments (1)
crates/db-user/src/init.rs (1)

534-536: Fix incorrect event indexing for session linking.

The array indices are incorrect after adding the new events. The past events now start at index 15, not 6.

-    let followup_event_id = events[6].id.clone(); // Past: Follow-up Discussion (yesterday)
-    let kickoff_event_id = events[7].id.clone(); // Past: Project Kickoff (last week)
-    let strategy_event_id = events[8].id.clone(); // Past: Q3 Strategy (10 days ago)
+    let followup_event_id = events[15].id.clone(); // Past: Follow-up Discussion (yesterday)
+    let kickoff_event_id = events[16].id.clone(); // Past: Project Kickoff (last week)
+    let strategy_event_id = events[17].id.clone(); // Past: Q3 Strategy (10 days ago)
🧹 Nitpick comments (4)
crates/db-user/src/init.rs (4)

306-318: Fix formatting inconsistency in indoc string.

The indoc string starts with | which appears to be a formatting error. This character should be removed for consistency with other indoc usage in the codebase.

-            note: indoc::indoc! {r#"|
+            note: indoc::indoc! {r#"
                Design review session for the new mobile app interface.

364-376: Fix formatting inconsistency in indoc string.

Same formatting issue as the previous event - remove the leading | character.

-            note: indoc::indoc! {r#"|
+            note: indoc::indoc! {r#"
                Product demonstration for Acme Corp

400-413: Fix formatting inconsistency in indoc string.

Same formatting issue - remove the leading | character for consistency.

-            note: indoc::indoc! {r#"|
+            note: indoc::indoc! {r#"
                Technical interview for Senior Software Developer position

437-449: Fix formatting inconsistency in indoc string.

Same formatting issue - remove the leading | character.

-            note: indoc::indoc! {r#"|
+            note: indoc::indoc! {r#"
                Company-wide security training session
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7b374b7 and b9819f9.

📒 Files selected for processing (1)
  • crates/db-user/src/init.rs (4 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{js,ts,tsx,rs}

Instructions used from:

Sources:
⚙️ CodeRabbit Configuration File

@yujonglee yujonglee merged commit d8f4429 into main Jul 21, 2025
5 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Aug 14, 2025
@ComputelessComputer ComputelessComputer deleted the Improve-mock-data branch December 14, 2025 15:18
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