-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Basic list items, and preview Co-authored-by: Ram Damera <ramdamera@outlook.com> * Organize everything into directories * Fix linting issues * Add basic switch component - Change font-size to 16px - Use `event.code` instead of `event.key` * Use system fonts - Generate sourcemaps in dev mode only - Clean dist files * Use copy-webpack-plugin to copy [tray|fav]icon * Update dependencies and re-organize main.js * Move all events into constants.js and add stylelint * Fix some missing event references * Fix transitions of settings view * Fix keyboard shortcut handling on settings view * Add `updateView` option while handling views * Fix build and move view.js to @ramlmn/view - Fix settings dialog race condition - Move view.js to @ramlmn/view Node module - Update package dependencies - Fix build script * Fix some race conditions in opening settings view * Update deps, and fix some more race conditions * Finally made startup setting work :yay: * (feat): add support for persistent history, and clearing items * (refactor) refactor items and previewer components, and fix some bugs * Use event.preventDefault() for some keys * (refactor) rename ITEM_SELECT to ITEM_COPY * Use md5 instead of sha256 for item hashes * Fix rendering items when clearing * Add CSP to load `data:` images * Use MD5 for hashes * Clear system clipboard content too on clearing items * Update readme with screenshots
- Loading branch information
Showing
53 changed files
with
1,571 additions
and
1,419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ node_modules | |
dist | ||
npm-debug.log | ||
.vscode | ||
|
||
build/* | ||
!build/assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export const EVENT = { | ||
APP_CLOSE: 'app-close', | ||
APP_HIDE: 'app-hide', | ||
APP_INIT: 'app-init', | ||
APP_SHOW: 'app-show', | ||
APP_STATS: 'app-stats', | ||
|
||
ITEM_DELETE: 'item-delete', | ||
ITEM_NEW: 'item-new', | ||
ITEM_NEXT: 'item-next', | ||
ITEM_PREVIOUS: 'item-previous', | ||
ITEM_RENDER: 'item-render', | ||
ITEM_SEARCH: 'item-search', | ||
ITEM_COPY: 'item-copy', | ||
|
||
ITEMS_SAVE: 'items-save', | ||
ITEMS_RESTORE: 'items-restore', | ||
ITEMS_CLEAR: 'items-clear', | ||
|
||
SETTINGS_UPDATE: 'settings-update', // main -> renderer | ||
SETTINGS_CHANGE: 'settings-change', // renderer -> main | ||
SETTINGS_HIDE: 'settings-hide', | ||
SETTINGS_SHOW: 'settings-show' | ||
}; |
Oops, something went wrong.