Skip to content

Commit

Permalink
Fix: Filter activity feed events for test cases and test suites. (#19004
Browse files Browse the repository at this point in the history
)

* fix: Filter activity feed events for test cases and suites.

* minor fix around the button label after save task tab

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
  • Loading branch information
Siddhanttimeline and Ashish8689 authored Dec 12, 2024
1 parent e04e2de commit 81246af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"name": "matchAnyEventType",
"effect": "include",
"condition": "matchAnyEventType({'entityCreated', 'entityDeleted', 'entitySoftDeleted'}) && !matchUpdatedBy({'ingestion-bot'}) && !matchAnySource({'user', 'team', 'owners', 'databaseService', 'messagingService', 'dashboardService', 'pipelineService', 'storageService', 'mlmodelService', 'metadataService', 'searchService', 'apiService', 'ingestionPipeline', 'workflow'})",
"condition": "matchAnyEventType({'entityCreated', 'entityDeleted', 'entitySoftDeleted'}) && !matchUpdatedBy({'ingestion-bot'}) && !matchAnySource({'user', 'team', 'owners', 'databaseService', 'messagingService', 'dashboardService', 'pipelineService', 'storageService', 'mlmodelService', 'metadataService', 'searchService', 'apiService', 'ingestionPipeline', 'workflow', 'testCase', 'testSuite'})",
"prefixCondition": "AND"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,11 @@ export const TaskTab = ({
onTaskResolve();
}
setTaskAction(
TASK_ACTION_LIST.find((action) => action.key === info.key) ??
TASK_ACTION_LIST[0]
[
...TASK_ACTION_LIST,
...GLOSSARY_TASK_ACTION_LIST,
...INCIDENT_TASK_ACTION_LIST,
].find((action) => action.key === info.key) ?? TASK_ACTION_LIST[0]
);
};

Expand Down

0 comments on commit 81246af

Please sign in to comment.