[WEB-5282] chore: triage state in intake (#8135)
* chore: traige state in intake * chore: triage state changes * feat: implement intake state dropdown component and integrate into issue properties * chore: added the triage state validation * chore: added triage state filter * chore: added workspace filter * fix: migration file * chore: added triage group state check * chore: updated the filters * chore: updated the filters * chore: added variables for intake state * fix: import error * refactor: improve project intake state retrieval logic and update TriageGroupIcon component * chore: changed the intake validation logic * refactor: update intake state types and clean up unused interfaces * chore: changed the state color * chore: changed the update serializer * chore: updated with current instance * chore: update TriageGroupIcon color to match new intake state group color * chore: stringified value * chore: added validation in serializer * chore: added logger instead of print * fix: correct component closing syntax in ActiveProjectItem * chore: updated the migration file * chore: added noop in migation --------- Co-authored-by: b-saikrishnakanth <bsaikrishnakanth97@gmail.com>
This commit is contained in:
parent
dbc5a6348d
commit
78fbdde165
36 changed files with 952 additions and 181 deletions
|
|
@ -32,6 +32,7 @@ export * from "./pragmatic";
|
|||
export * from "./project";
|
||||
export * from "./publish";
|
||||
export * from "./reaction";
|
||||
export * from "./intake";
|
||||
export * from "./rich-filters";
|
||||
export * from "./search";
|
||||
export * from "./state";
|
||||
|
|
|
|||
1
packages/types/src/intake/index.ts
Normal file
1
packages/types/src/intake/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from "./state";
|
||||
13
packages/types/src/intake/state.ts
Normal file
13
packages/types/src/intake/state.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
export type TIntakeStateGroups = "triage";
|
||||
|
||||
export interface IIntakeState {
|
||||
readonly id: string;
|
||||
color: string;
|
||||
default: boolean;
|
||||
description: string;
|
||||
group: TIntakeStateGroups;
|
||||
name: string;
|
||||
project_id: string;
|
||||
sequence: number;
|
||||
workspace_id: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue