feat(tags): Test case tag editing UI and tag settings UI (#322)
This commit is contained in:
@@ -13,6 +13,10 @@ type CaseType = {
|
||||
Steps?: StepType[];
|
||||
RunCases?: RunCaseType[];
|
||||
Attachments?: AttachmentType[];
|
||||
Tags?: {
|
||||
id: number;
|
||||
name: string;
|
||||
}[];
|
||||
};
|
||||
|
||||
type CaseStepType = {
|
||||
@@ -89,6 +93,7 @@ type CasesMessages = {
|
||||
move: string;
|
||||
clone: string;
|
||||
casesMoved: string;
|
||||
tags: string;
|
||||
casesCloned: string;
|
||||
};
|
||||
|
||||
@@ -123,6 +128,15 @@ type CaseMessages = {
|
||||
orDragAndDrop: string;
|
||||
maxFileSize: string;
|
||||
areYouSureLeave: string;
|
||||
tags: string;
|
||||
createTag: string;
|
||||
maxTagsLimit: string;
|
||||
tagAlreadyExists: string;
|
||||
tagCreatedAndAdded: string;
|
||||
errorCreatingTag: string;
|
||||
errorUpdatingTestCase: string;
|
||||
searchOrCreateTag: string;
|
||||
noTagsSelected: string;
|
||||
};
|
||||
|
||||
export type { CaseType, StepType, AttachmentType, CasesMessages, CaseMessages };
|
||||
|
||||
@@ -11,4 +11,19 @@ export type SettingsMessages = {
|
||||
delete: string;
|
||||
close: string;
|
||||
areYouSure: string;
|
||||
tagManagement: string;
|
||||
tagName: string;
|
||||
addTag: string;
|
||||
noTagsAvailable: string;
|
||||
deleteTag: string;
|
||||
areYouSureDeleteTag: string;
|
||||
tagCreated: string;
|
||||
tagUpdated: string;
|
||||
tagDeleted: string;
|
||||
tagErrorEmpty: string;
|
||||
tagErrorMinLength: string;
|
||||
tagErrorMaxLength: string;
|
||||
tagErrorCreate: string;
|
||||
tagErrorUpdate: string;
|
||||
tagErrorDelete: string;
|
||||
};
|
||||
|
||||
7
frontend/types/tag.ts
Normal file
7
frontend/types/tag.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
type TagType = {
|
||||
id: number;
|
||||
name: string;
|
||||
projectId: string;
|
||||
};
|
||||
|
||||
export type { TagType };
|
||||
Reference in New Issue
Block a user