feat(preferences): extension modals into extension panes (#683)

* feat(preferences): show inline extensions in extensions pane

* wip

* wip

* refactor: convert ComponentView to React component

* refactor: convert ComponentView to React component

* chore: fix merge conflicts

* feat: don't show features whose `area` is "room", update modal items' icons in Preferences menu

* chore: fix TS error

* feat: don't show 2FA Manager in modal-based component

* feat: remove `ExtendedDataReloadComplete` event, since Extensions Manger is being removed from the app

* chore: avoid hardcoded values in svg image, optimize `if` condition

* chore: remove remnant comment

* fix: fix typescript errors

Co-authored-by: vardanhakobyan <vardan_live@live.com>
This commit is contained in:
Gorjan Petrovski
2021-10-25 10:45:36 +02:00
committed by GitHub
parent 82fc103a3e
commit 31222e1236
29 changed files with 993 additions and 625 deletions

View File

@@ -34,7 +34,7 @@ export enum AppStateEvent {
BeganBackupDownload,
EndedBackupDownload,
WindowDidFocus,
WindowDidBlur,
WindowDidBlur
}
export type PanelResizedData = {

View File

@@ -29,7 +29,7 @@ export class PreferencesState {
this.currentPane = 'account';
};
get isOpen() {
get isOpen(): boolean {
return this._open;
}
}