1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-05-30 03:03:16 +00:00
Commit Graph

139 Commits

Author SHA1 Message Date
JianXu ad847a2f5d New Feature: Shortcuts for focusing tag editor(CmdOrControl+T) 2018-07-17 17:19:03 +08:00
Sosuke Suzuki 64407e5ca6 use context.popup on SnippetNoteDetai; 2018-06-30 16:12:23 +09:00
Junyoung Choi (Sai) b89896a4e7 Merge pull request #1919 from samlanning/inconsistent-state-update
fix inconsistent updates to react component state
2018-05-15 19:30:22 +09:00
Sam Lanning 4fd01b4234 Fix mis-referenced state properties 2018-05-14 16:29:54 -07:00
Sam Lanning 0f354f4f06 fix inconsistent updates to react component state
Executions of setState() may be batched, and so updates to this.state and
this.props can be asynchronous, so references to this.state and this.props
should not be made in the new state, and instead the callback form of
setState() should be used.

These alerts were found using lgtm.com:
https://lgtm.com/projects/g/BoostIO/Boostnote/alerts/?mode=tree&ruleFocus=1819283066

see: https://reactjs.org/docs/state-and-lifecycle.html#state-updates-may-be-asynchronous
2018-05-14 16:15:49 -07:00
yosmoc 7e1596de30 refactor code duplication 2018-05-13 00:36:03 +02:00
Sosuke Suzuki ce440351a5 use extracted confirmDeleteNote function 2018-04-10 16:28:05 +09:00
Frank Kanis 055969f5c6 Update text for internationalization 2018-03-21 22:17:34 +01:00
Nikolay Lopin 2811843e70 Merge branch 'master' into new-snippet-tabbar
# Conflicts:
#	browser/main/Detail/SnippetNoteDetail.js
2018-03-18 21:26:12 +03:00
Simon 847ad2d781 Merge branch 'master' into localization 2018-03-13 09:24:53 +01:00
Junyoung Choi (Sai) 1c283f88d0 Merge pull request #1636 from mirsch/remove-volatile-hash-from-note-links
remove volatile hash from note links - #1623
2018-03-12 11:26:41 +09:00
Nikolay Lopin a222fd0786 Add animation for scrolling with buttons 2018-03-08 01:02:49 +03:00
Simon 40b5472866 Adjustments for Travis CI 2018-03-07 08:37:55 +01:00
Simon a413e273ca Added strings in notifications 2018-03-07 08:20:05 +01:00
Nikolay Lopin 7472019422 Change property responsible for scrolling from "offsetLeft" to "scrollLeft" 2018-03-07 01:55:04 +03:00
mirsch 0280a5f09e use uuid in keygen, remove storage.key from note hash 2018-03-04 22:21:14 +01:00
Nikolay Lopin a35f876f4f Merge branch 'master' into new-snippet-tabbar 2018-03-05 00:06:57 +03:00
Sander Steenhuis 6502158716 Add search clear options; closes #1525 2018-02-26 16:30:08 +01:00
Junyoung Choi (Sai) 7d59f51244 Merge pull request #1549 from nlopin/restore-note-enhancing
Restore note UX enhancements
2018-02-24 16:05:00 +09:00
Nikolay Lopin 8e85a33dac Show Arrows at snippets tab bar only when needed 2018-02-24 00:49:21 +03:00
Junyoung Choi (Sai) fea856202d Merge pull request #1509 from Antogin/feat/display-url-title
Feat/display url title
2018-02-21 16:33:34 +09:00
Nikolay Lopin 1769dd959e Revert spaces 2018-02-21 03:21:40 +03:00
Nikolay Lopin 1253b81a01 Introduce tabs with minimal width 2018-02-21 03:08:40 +03:00
Nikolay Lopin 55e9441547 Introduce RestoreButton component instead of plain JSX 2018-02-17 00:37:36 +03:00
Junyoung Choi (Sai) 7a124c74cc Merge pull request #1483 from andyklimczak/delete-note
Fix permanently deleting note
2018-02-10 18:47:41 +09:00
Georges Indrianjafy a054f12492 Merge branch 'master' into feat/display-url-title
# Conflicts:
#	browser/components/CodeEditor.js
#	browser/finder/NoteDetail.js
2018-02-05 11:50:14 +02:00
Georges Indrianjafy 56d6eb7077 feat(config): add ablility to opt out of fetch url 2018-02-04 13:58:02 +02:00
Junyoung Choi (Sai) a64f73ca0c Merge pull request #879 from xxdavid/feature-editor-line-lines
Make line numbers in the editor optional
2018-02-03 13:57:00 +09:00
Andy Klimczak f04ad1e702 list:moved -> list:next 2018-01-31 22:17:36 -05:00
Andy Klimczak dc03bb76e6 Fix 2018-01-30 23:15:16 -05:00
Andy Klimczak d894bb4aab Fix permanently deleting note
- Permanently deleting note would not remove note from list until after
refresh
- Fix so permanently deleted note is removed list
2018-01-29 21:51:57 -05:00
Kazu Yokomizo 7a116966fa Add tooltip to full-screen-btn on the snippet note detail 2018-01-24 16:16:14 -05:00
Kazu Yokomizo 7730b5e20b Change size of icons on note detail 2018-01-24 15:39:27 -05:00
Kazu Yokomizo 81265f1238 Reorder of buttons 2018-01-23 21:02:19 -05:00
Kazz Yokomizo 85937d8e23 Merge pull request #1324 from mslourens/confirmation-dialog
show delete confirmation dialog
2018-01-12 09:37:05 +09:00
Maurits Lourens 9f9463f0e8 fixed review comments 2018-01-03 23:08:42 +01:00
Anthony Graham b4e138e21b Elixir Syntax Highlighting 2018-01-01 21:17:29 +00:00
Kazz Yokomizo dd729c406f Merge pull request #1256 from mslourens/export-html
first attempt to export html
2017-12-28 10:38:55 +09:00
David Pavlík da1098e441 Merge branch 'master' into feature-editor-line-lines 2017-12-23 23:06:26 +01:00
David Pavlík 85065357e2 Make the option to disable line numbers in editor affect snippet notes too 2017-12-23 22:52:50 +01:00
David Pavlík 1f5f6c3b0e Rename 'lineNumber' to 'displayLineNumbers' 2017-12-23 22:51:38 +01:00
Maurits Lourens e262d2f19b fixed lint error 2017-12-21 19:15:34 +01:00
Maurits Lourens aabfe820ac refactored to prevent duplicate code 2017-12-21 17:41:08 +01:00
Maurits Lourens 3bba5442bd show delete confirmation dialog 2017-12-21 15:57:27 +01:00
Maurits Lourens 6ce1922fb3 added tooltips like the new note button (and consequently extracted some buttons and styles) 2017-12-21 15:23:13 +01:00
Wade Johnson b742a3a4cd Put this back?? 2017-12-10 17:58:06 -08:00
Wade Johnson 8d5c9742f8 Add ability to scroll pasted last line of editor 2017-12-09 21:14:10 -08:00
Maurits Lourens 6a9d4ae0fd first attempt to export html 2017-12-08 11:43:50 +01:00
Maurits Lourens d06d94449c forgot to reload tab at oldindex 2017-12-04 19:24:50 +01:00
Maurits Lourens 6c75136777 implemented drag/drop for tabs 2017-12-04 19:24:50 +01:00