[WEB-2182] chore: user favorites improvement (#5318)
* chore: favorite collapsible spacing * chore: favorite collapsible tooltip added * chore: user favorites icon improvement and code refactor * chore: favorites empty state added * chore: project identifier message updated * chore: favorties collapsible improvement * chore: code refactor * fix: build error * fix: app sidebar draft issue z-index
This commit is contained in:
parent
91142659ca
commit
598846adc4
6 changed files with 99 additions and 63 deletions
13
packages/types/src/favorite/favorite.d.ts
vendored
13
packages/types/src/favorite/favorite.d.ts
vendored
|
|
@ -1,9 +1,22 @@
|
|||
type TLogoProps = {
|
||||
in_use: "emoji" | "icon";
|
||||
emoji?: {
|
||||
value?: string;
|
||||
url?: string;
|
||||
};
|
||||
icon?: {
|
||||
name?: string;
|
||||
color?: string;
|
||||
};
|
||||
};
|
||||
|
||||
export type IFavorite = {
|
||||
id: string;
|
||||
name: string;
|
||||
entity_type: string;
|
||||
entity_data: {
|
||||
name: string;
|
||||
logo_props?: TLogoProps | undefined;
|
||||
};
|
||||
is_folder: boolean;
|
||||
sort_order: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue