Adding clear logs button (#2118)
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Added a Clear Logs button to the System Messages console to remove all
logs for the selected app. Renamed the filters button to “Clear Filters”
and updated e2e tests.
- **New Features**
- Console adds onClearLogs handler that calls
IpcClient.clearLogs(selectedAppId), then clears appConsoleEntriesAtom;
shows a toast on error.
- E2E test verifies “Clear Logs” removes all entries; existing test
updated to expect “Clear Filters” label.
<sup>Written for commit cc7cafc267e13e05cdb6cc45b3122ac572fcb048.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
正在显示
请
注册
或者
登录
后发表评论