Skip to content

Conversation

@richardwhiteii
Copy link

@richardwhiteii richardwhiteii commented Feb 16, 2025

Description

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • [x ] New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

I created tickets within my fork, and they worked.

Checklist:

  • [x ] My code follows the patterns of this project
  • [x ] I have performed a self-review of my own code
  • [ x] I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Additional context

This is an issue template for contributors working in their fork.
Based on the current ISSUE_TEMPLATE structure, it is difficult to just create an issue within a fork.
This issue type allows for quickly capture an idea as an issue, without the overhead that is beneficial when contributing to the larger repo.

Related Issues

N/A

Reviewers


Important

Adds a new issue template simpleissue.yaml for creating simple issues within forks.

  • New Feature:
    • Adds simpleissue.yaml in .github/ISSUE_TEMPLATE/ to create a simple issue template for forks.
    • Template includes a required description field for describing the fork's purpose and planned changes.

This description was created by Ellipsis for a5c3039. It will automatically update as commits are pushed.

richardwhiteii and others added 8 commits February 10, 2025 23:51
Related to #12

Add error handling for invalid `.roomodes` JSON syntax and display error message in RED on the "Prompts" page.

* **CustomModesManager.ts**
  - Add `errorState` property to store error messages.
  - Update `loadModesFromFile` method to catch JSON syntax errors and set the error state.
  - Add `getErrorState`, `setErrorState`, and `clearErrorState` methods to manage the error state.

* **CustomModesManager.test.ts**
  - Add tests to verify that an error message is displayed when there is an error in the `.roomodes` JSON syntax.
  - Update existing tests to handle the new error state logic.

* **PromptsView.tsx**
  - Add `errorState` to component state.
  - Add logic to fetch the error state from `CustomModesManager` and update the component state.
  - Display the error message in RED beside the word "Modes" when there is an error in the `.roomodes` JSON syntax.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/richardwhiteii/Roo-Code/issues/12?shareId=XXXX-XXXX-XXXX-XXXX).
Just adding more detail to this issues type.
Based on the current ISSUE_TEMPLATE structure, it is difficult to just create an issue within a fork.
This issue type allows for quickly capture an idea as an issue, without the overhead that is beneficial when contributing to the larger repo.
@changeset-bot
Copy link

changeset-bot bot commented Feb 16, 2025

⚠️ No Changeset found

Latest commit: f6804ac

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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