Fix: Filter activity feed events for test cases and test suites. (#19004)

* 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>
This commit is contained in:
Siddhant 2024-12-12 15:24:01 +05:30 committed by GitHub
parent e04e2defa1
commit 81246af0a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -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"
},
{

View File

@ -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]
);
};