Roo-Code/webview-ui/src/components/history
Yu SERIZAWA d6d5670e38
feat: Add support for .roorules configuration files (#2309)
* feat: Add support for .roorules configuration files

- Add .roorules to the list of supported rule files
- Improve mode-specific rule file handling to prioritize .roorules over .clinerules
- Update file loading logic to track which rule file was successfully loaded
- Add test cases for .roorules functionality

This change maintains backward compatibility with existing .clinerules while
introducing support for the new .roorules format as the preferred configuration
method.

* refactor: simplify rule file loading by removing unused rules

- Removed .cursorrules and .windsurfrules from the list of rule files in loadRuleFiles function.

* refactor: update loadRuleFiles to return single rule file content

- Modified loadRuleFiles function to return content from the first available rule file instead of combining multiple rule files.
- Updated tests to reflect the new behavior of loading only the .roorules file content when available, ensuring clarity in rule file handling.

* fix: update prompts for deprecated rule file references

- Updated prompts in the English locale to reflect the deprecation of .clinerules in favor of .roorules.
- Added notes in the prompts indicating that .clinerules will stop working soon, ensuring users are aware of the upcoming changes.

* Translations

* Update links

* Revert README changes

* Add missing spans around links

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-05 14:55:07 -04:00
..
__tests__ fix: an issue in the HistoryView component where keywords in copied content contain html code (#1662) 2025-03-17 17:05:37 -04:00
BatchDeleteTaskDialog.tsx feat: batch clear history (#1596) 2025-03-18 09:33:25 -04:00
CopyButton.tsx Add text-to-speech functionality (#1412) 2025-03-18 01:47:16 -04:00
DeleteTaskDialog.tsx Translate history preview and view 2025-03-16 00:51:38 -04:00
ExportButton.tsx Translate history preview and view 2025-03-16 00:51:38 -04:00
HistoryPreview.tsx Translate history preview and view 2025-03-16 00:51:38 -04:00
HistoryView.tsx feat: Add support for .roorules configuration files (#2309) 2025-04-05 14:55:07 -04:00
useTaskSearch.ts Checkpoint storage setting + settings view redesign 2025-03-04 15:18:29 -08:00