Fix: Icons collapsing in flex.

Feature: Remember what channel was opened last.
Channels: ESC to focus message box / cancel editing.
This commit is contained in:
Paul
2021-06-24 16:22:45 +01:00
parent 558ec17726
commit 363789c825
12 changed files with 137 additions and 34 deletions

View File

@@ -11,6 +11,7 @@ import { typing, TypingAction } from "./typing";
import { drafts, DraftAction } from "./drafts";
import { sync, SyncAction } from "./sync";
import { experiments, ExperimentsAction } from "./experiments";
import { lastOpened, LastOpenedAction } from "./last_opened";
export default combineReducers({
config,
@@ -23,6 +24,7 @@ export default combineReducers({
drafts,
sync,
experiments,
lastOpened
});
export type Action =
@@ -36,6 +38,7 @@ export type Action =
| DraftAction
| SyncAction
| ExperimentsAction
| LastOpenedAction
| { type: "__INIT"; state: State };
export type WithDispatcher = { dispatcher: (action: Action) => void };