TechNote/app/constants/navigation.jsx
Joey Payne ec89e94449 Add ability for navigation to update note numbers efficiently
The note numbers now only update for the current notebook selected and
the recent notes.
2016-03-18 07:20:59 -06:00

18 lines
632 B
JavaScript

export const UPDATE_SELECTION = 'UPDATE_SELECTION'
export const REFRESH = 'REFRESH'
// Menu item manipulation
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'
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'