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

fix issue with multiple release notes #452

Merged
merged 3 commits into from
Sep 1, 2023
Merged

fix issue with multiple release notes #452

merged 3 commits into from
Sep 1, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Sep 1, 2023

Summary by CodeRabbit

- Refactor: Updated `DESCRIPTION_START_TAG` constant to be a string and optimized the `removeContentWithinTags` function in `src/commenter.ts`.
- Documentation: Updated product name from "Professional Version of CodeRabbit" to "CodeRabbit Pro" in README.md and src/review.ts.
- New Feature: Announced that CodeRabbit Pro is now free for open source projects, as reflected in src/review.ts.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2023

Image description CodeRabbit

Walkthrough

This update primarily focuses on rebranding the product name from "Professional Version of CodeRabbit" to "CodeRabbit Pro". It also includes minor tweaks in src/commenter.ts for better string handling and formatting. The changes are straightforward and do not alter the core functionality of the code.

Changes

File Summary
README.md, src/review.ts Updated the product name from "Professional Version of CodeRabbit" to "CodeRabbit Pro". Added a note in src/review.ts stating that CodeRabbit Pro is free for open source projects.
src/commenter.ts Modified the DESCRIPTION_START_TAG constant to be a string instead of a template literal. Updated the removeContentWithinTags function to use lastIndexOf instead of indexOf when finding the end tag. Added newline characters before and after the release notes message in the newDescription variable.

🐇💻

With a hop, skip, and a jump,

CodeRabbit's got a new bump.

From professional to pro, we leap,

Making coding less of a steep.

In the world of code, we spin,

With every change, it's a win! 🎉


Uplevel your code reviews with CodeRabbit Pro

CodeRabbit Pro

If you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.

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 d7f9486 and 8691fb5 commits.
Files selected (1)
  • src/commenter.ts (3)
Files ignored due to filter (1)
  • dist/index.js
Files skipped from review due to trivial changes (1)
  • src/commenter.ts
Review comments generated (0)
  • Review: 0
  • LGTM: 0

Tips

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.

Pausing incremental reviews

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

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 8691fb5 and d2cfadc commits.
Files selected (2)
  • README.md (1)
  • src/review.ts (1)
Files ignored due to filter (1)
  • dist/index.js
Files skipped from review due to trivial changes (1)
  • src/review.ts
Review comments generated (1)
  • Review: 0
  • LGTM: 1

Tips

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.

Pausing incremental reviews

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

@harjotgill harjotgill merged commit 516a072 into main Sep 1, 2023
1 check passed
@harjotgill harjotgill deleted the bug branch September 1, 2023 01:08
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