* Fix: On renaming a widget via entity explorer the canvas gets resized * Fix: Close prop pane on resize start of unselected widget. * Fix: Match all - corejs polyfill * Fix: Proppane not updated properly when same type widgets are selected. * Feature: Draggable Proppane. * Bug fixes for draggable popup. * Fix: Property pane editor when selecting another widget. * resolve rebase bad merges. * cytest fix * cytest fix * cytest fix * cytest fix * cytest fix * cytest fix * cytest fixes * cytest fix * fixing draggable components inside porp pane. * Adding cypress test. * refactored Draggable list POC version * reverting unwanted changes. * prop pane bug fix * unwanted dependencies. * double click to open prop pane. * Fixing bugs in draggable prop pane. * one click prop pane open. * ignore drag/resize click captures * make prop pane draggable only via drag handler. * Fixed property pane title. * converting layer to hook and adding it to top most layer. * removing irrelevant comments. * close panel when widget changes. * fixing cytests. * bug fix * fixing cytest * Addressing code review comments. * bug fix
13 lines
563 B
TypeScript
13 lines
563 B
TypeScript
import { AppState } from "reducers";
|
|
import { User } from "constants/userConstants";
|
|
import { PropertyPanePositionConfig } from "reducers/uiReducers/usersReducer";
|
|
|
|
export const getCurrentUser = (state: AppState): User | undefined =>
|
|
state.ui.users.currentUser;
|
|
export const getUserAuthError = (state: AppState): string =>
|
|
state.ui.users.error;
|
|
export const getUsers = (state: AppState): User[] => state.ui.users.users;
|
|
export const getProppanePreference = (
|
|
state: AppState,
|
|
): PropertyPanePositionConfig | undefined => state.ui.users.propPanePreferences;
|