Commit graph

46 commits

Author SHA1 Message Date
Joey Payne
b9ee0f57f7 Make "Styles" and "Colors" consistently named 2016-03-18 07:27:25 -06:00
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
Joey Payne
c4ca019c8e Fix async empty notebook infinite loading 2016-03-18 07:15:09 -06:00
Joey Payne
24870a5769 Add async note loading and proper initial loading 2016-03-15 08:15:53 -06:00
Joey Payne
a705d8cd3f Fix navigation issues with deleting and clicking
Deleting a notebook would only work on the first item because
array.slice works differently than intended.

When adding a new notebook, it now focuses on that notebook and loads
the proper notes. Same when deleting a notebook.
2016-03-15 08:14:48 -06:00
Joey Payne
83e9d04ba5 Remove navItems and navigation related functionality
This functionality is now in reducers/navigation which makes the
code cleaner.
2016-03-15 08:05:40 -06:00
Joey Payne
3f5440ab16 Remove unused 'tapped' and 'blank' functions 2016-03-15 08:04:19 -06:00
Joey Payne
aa6d55c6c6 Refactor 'nb' naming to more accurate 'menuItem' 2016-03-15 07:59:58 -06:00
Joey Payne
2474c26b61 Move menu items and state to navigation reducer
All the state is now initialized in one place for the menu items instead
of in both LibraryNav and the navigation reducer. Simplifies life and
code.
2016-03-15 07:58:08 -06:00
Joey Payne
5a15eefc29 Add sorting functions to compare notes
Default sorting is date descending, title ascending. Custom sorting can
be implemented easily with these functions.
2016-03-15 07:54:49 -06:00
Joey Payne
85edd453e9 Add async notes loading functions with filters 2016-03-15 07:54:08 -06:00
Joey Payne
aeb8c07f5a Add object helpers 2016-03-15 07:52:24 -06:00
Joey Payne
755fd1cb0c Add useful webpack then electron start script 2016-03-14 08:17:52 -06:00
Joey Payne
0d62d7b979 Properly resize note list 2016-03-11 15:25:50 -07:00
Joey Payne
7684e53c47 Add ability to add notes to notebooks
Notes are added to the selected notebook on the left and they
appropriately update the numbers next to the labels.

Notes will also load based on notebook/menu item selection.
2016-03-11 15:21:50 -07:00
Joey Payne
05fc720669 Give entry selector context menu actions and store
The store helps to access global state modifications using redux.
The context menu actions will be used in the future when right clicking
notes.
2016-03-11 15:15:17 -07:00
Joey Payne
af6941df94 Cleanup searchbar long line 2016-03-11 15:14:16 -07:00
Joey Payne
ce85534e86 Make default list item propable 2016-03-11 15:12:53 -07:00
Joey Payne
646408eeaf Update moment.js version 2016-03-11 15:10:47 -07:00
Joey Payne
4204d56a6f Add utility functions for adding notes 2016-03-11 15:09:47 -07:00
Joey Payne
0cc8e837bf Add stateful redux functions for navigation 2016-03-11 15:08:36 -07:00
Joey Payne
027e1d4146 Add styling for notes section 2016-03-11 15:02:38 -07:00
Joey Payne
d14eed9965 Add state for navigation
Currently selected navigation item is available under the navigation
variable so that the whole application has access to it.
2016-03-06 11:08:42 -07:00
Joey Payne
c9b324c68b Remove additional references to rethink 2016-03-06 08:54:38 -07:00
Joey Payne
c1340ef758 Refactor context menu actions and constants
This is in order to accomodate more stateful objects by separating the
context menu specific actions and constants into their own files.
2016-03-05 17:24:23 -07:00
Joey Payne
28bd1f201c Fix duplicate notebooks appearing when adding new ones 2016-03-05 17:13:07 -07:00
Joey Payne
0ecf7b818b Remove rethink references and old main js file
Remove them because rethink integration will be saved for the paid
model.

The main.jsx file was replaced by the app/containers/App.jsx file.
2016-03-05 17:07:36 -07:00
Joey Payne
f5ac7539bc Add jest unit tests for adding and deleting notebooks 2016-03-04 20:54:19 -07:00
Joey Payne
8b26f60632 Use the latest version of jest and jasmine 2016-03-04 19:47:41 -07:00
Joey Payne
cc759a2995 Adjust APP_NAME to be inside utils
APP_NAME should be visible from any component and module, so putting it
in utils makes the most sense.
2016-03-04 08:57:45 -07:00
Joey Payne
e53cbd0fc6 Add testing infrastructure using jest
Added simple test to illustrate how to use jest with react.
2016-03-03 14:32:30 -07:00
Joey Payne
e2c13cd1db Refactor SearchBar into a component 2016-03-03 12:04:39 -07:00
Joey Payne
98cebb16db Add user no select on entries
This is so that text that appears in entries is not selectable.
2016-03-03 11:35:14 -07:00
Joey Payne
cfeb438af2 Add styling changes and beginnings of adding notes
Zoom set to 85% since components can't be resized.

Added start of functionality to add notes.
2016-03-03 11:35:14 -07:00
Joey Payne
6912567122 Add search bar and test entry item 2016-03-03 11:35:14 -07:00
Joey Payne
b497ec46f2 Create entries list section 2016-03-03 11:35:14 -07:00
Joey Payne
d30477bd9d Add ability to add notebooks and refactor code 2016-03-03 11:35:14 -07:00
Joey Payne
03238ad179 Add proper resizing of scrollable Notebook area
Resizing needed to be 100% of the height, but css would not work. Jquery
is now used.
2016-03-03 11:35:14 -07:00
Joey Payne
54d64cc124 Add global state and right click menu using redux 2016-03-03 11:35:14 -07:00
Joey Payne
9821373504 State progress update 2016-03-03 11:35:14 -07:00
Joey Payne
42822d2ec9 Add more navigation functionality 2016-03-03 11:35:14 -07:00
Joey Payne
3a682cf0b7 Ignore vim files in gitignore file 2016-03-03 11:35:14 -07:00
Joey Payne
ac40024528 Remove unnecessary test files
Mobile tear sheet and related image file removed because they were not
necessary any more.
2016-03-03 11:35:14 -07:00
Joey Payne
c5c75efc23 Add initial journal app with library menu on left 2016-03-03 11:35:14 -07:00
Joey Payne
eea2940738 Add git ignore for Node 2016-03-03 11:35:14 -07:00
Joey Payne
6c4c8b382c Add initial README 2016-03-03 11:34:36 -07:00