Skip to content

Commit

Permalink
Revert "feat: add new UI context (#794)"
Browse files Browse the repository at this point in the history
This reverts commit faf5be8.
  • Loading branch information
Dnouv authored Sep 23, 2024
1 parent 300f317 commit f77cc41
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/definition/ui/UIActionButtonContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ export enum UIActionButtonContext {
MESSAGE_BOX_ACTION = 'messageBoxAction',
USER_DROPDOWN_ACTION = 'userDropdownAction',
ROOM_SIDEBAR_ACTION = 'roomSideBarAction',
MESSAGE_TOOLBAR_STARS_ACTION = 'messageToolbarStarsAction',
}
11 changes: 0 additions & 11 deletions src/definition/uikit/IUIKitIncomingInteractionActionButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,13 @@ interface IUIKitIncomingInteractionActionButtonRoom extends IUIKitIncomingIntera
};
}

interface IUIKitIncomingInteractionActionButtonMessageToolbarStars extends IUIKitIncomingInteractionActionButtonBase {
message: IMessage;
room: IRoom;
tmid?: string;

payload: {
context: 'messageToolbarStarsAction';
};
}

interface IUIKitIncomingInteractionActionButtonUserDropdown extends IUIKitIncomingInteractionActionButtonBase {
payload: {
context: 'userDropdownAction';
};
}

export type IUIKitIncomingInteractionActionButton =
| IUIKitIncomingInteractionActionButtonMessageToolbarStars
| IUIKitIncomingInteractionActionButtonMessageBox
| IUIKitIncomingInteractionActionButtonMessage
| IUIKitIncomingInteractionActionButtonRoomSidebar
Expand Down

0 comments on commit f77cc41

Please sign in to comment.