Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

update prompts #409

Merged
merged 4 commits into from
Aug 1, 2023
Merged

update prompts #409

merged 4 commits into from
Aug 1, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Aug 1, 2023

Summary by CodeRabbit

New Feature:

  • Introduced a Mobile struct in mobile.go that represents a mobile device with methods to control and simulate its usage.

Documentation:

  • Updated instructions for providing replacement code suggestions in code reviews in src/prompts.ts.

🎉 Here's to the code that grows, 🌱
With each pull request, it shows. 📜
A mobile struct, now we've got, 📱
And better review prompts, hot off the pot! 🔥
Celebrate the changes, big and small, 🎊
For every line of code, stands tall. 🏙️

@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2023

Image description CodeRabbit

Walkthrough: This update introduces a new Mobile struct in the mobile.go file, simulating basic mobile device operations. It also refines the instructions for providing code replacement suggestions during code reviews in the src/prompts.ts file.

Changes:

File Summary
src/prompts.ts The instructions for providing code replacement suggestions have been updated. Now, suggestions can be provided using fenced code blocks with the suggestion or diff language identifier/format. The line number range must be specified accurately to indicate the exact lines that need to be replaced.
mobile.go A new Mobile struct has been introduced, representing a mobile device with methods to turn on/off the device, simulate usage, and charge the battery. The main function demonstrates these operations.

Notes

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Ignoring further reviews

  • Type @coderabbitai: ignore anywhere in the PR description to ignore further reviews from the bot.

Support us :)

If you like this project, please support us by purchasing the Pro version! The Pro version has advanced context and several proprietary improvements compared to the open source version.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 9a257da and b5be67d commits.
Files selected (1)
  • src/prompts.ts (1)
Files ignored due to filter (1)
  • dist/index.js
Review comments generated (1)
  • Review: 1
  • LGTM: 0

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between b5be67d and 8150d77 commits.
Files selected (2)
  • mobile.go (1)
  • src/prompts.ts (1)
Files ignored due to filter (1)
  • dist/index.js
Review comments generated (8)
  • Review: 3
  • LGTM: 5

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 8150d77 and c13d156 commits.
Files selected (1)
  • src/prompts.ts (1)
Files ignored due to filter (1)
  • dist/index.js
Files skipped from review due to trivial changes (1)
  • src/prompts.ts
Review comments generated (0)
  • Review: 0
  • LGTM: 0

@harjotgill harjotgill merged commit 82c4515 into main Aug 1, 2023
@harjotgill harjotgill deleted the diff branch August 1, 2023 20:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant