You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed over a call with @jrmartin , it would greatly help to slightly change the redux store with a better structure to follow the pattern below:
add to the current GENERAL_DEFAULT_STATE an object to address all the components of the UI, this will help to store each component global information and keep track of visibility and focus between all the components, an example below
move each store property component specific into the right context in the ui object, for instance termInfoVisible can be moved in ui.termInfo.visible, circuitQuerySelected can be moved in ui.circuitBrowser.querySelected, etc.
The text was updated successfully, but these errors were encountered:
As discussed over a call with @jrmartin , it would greatly help to slightly change the redux store with a better structure to follow the pattern below:
export const GENERAL_DEFAULT_STATE = {
error: undefined,
idsMap: {},
idsList: [],
...
ui: {
termInfo: {
visible: false,
focus: false,
},
canvas: {
visible: false,
focus: false,
},
termContext: {
visible: false,
focus: false,
}
...
}
}
The text was updated successfully, but these errors were encountered: