Add ability for navigation to update note numbers efficiently
The note numbers now only update for the current notebook selected and the recent notes.
This commit is contained in:
parent
c4ca019c8e
commit
ec89e94449
3 changed files with 114 additions and 74 deletions
|
|
@ -7,6 +7,7 @@ export const MENU_TYPE = 'MENU_TYPE'
|
|||
export const ADD_MENU_ITEM = 'ADD_MENU_ITEM'
|
||||
export const UPDATE_MENU_ITEM = 'UPDATE_MENU_ITEM'
|
||||
export const REMOVE_MENU_ITEM = 'REMOVE_MENU_ITEM'
|
||||
export const MAX_MENU_ITEMS = 10
|
||||
|
||||
// Notebook item manipulation
|
||||
export const NOTEBOOK_TYPE = 'NOTEBOOK_TYPE'
|
||||
|
|
@ -14,3 +15,4 @@ export const ADD_NOTEBOOK = 'ADD_NOTEBOOK'
|
|||
export const REMOVE_NOTEBOOK = 'REMOVE_NOTEBOOK'
|
||||
export const SORT_NOTEBOOKS = 'SORT_NOTEBOOKS'
|
||||
export const UPDATE_NOTEBOOK = 'UPDATE_NOTEBOOK'
|
||||
export const NOTE_ADDED = 'NOTE_ADDED'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue