1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-05-27 17:53:22 +00:00
Commit Graph

355 Commits

Author SHA1 Message Date
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
William Grant 5bd0499ae4 Merge branch 'master' into monokai_theme 2018-04-27 09:06:11 +02:00
William Grant 239edb0605 tweaked styling 2018-04-27 09:01:41 +02:00
William Grant 92be3f32d6 added monokai theme 2018-04-27 08:10:50 +02:00
Junyoung Choi 05009d40c4 Merge branch 'master' into attachment_refactoring 2018-04-26 16:24:58 -07:00
ehhc d2163dacf9 Fixes #1825 Refactoring of the attachment/image management 2018-04-21 14:32:24 +02:00
Sosuke Suzuki eafccc4fc4 remove confirmDeletion function 2018-04-10 16:44:04 +09: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
Simon fe9afc8952 extracted all strings from html lines 2018-03-06 14:07:04 +01:00
Simon b11dc2ca20 first testing of translation 2018-03-06 09:54:37 +01: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) e8fd53d8b7 Merge pull request #1567 from pfftdammitchris/fix-toggle-view-css-positioning
Fixed ToggleMode button overlapping CSS issue
2018-02-24 16:44:41 +09: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 a3ec6f470a Add horizontal scroll for touch devices 2018-02-24 01:03:25 +03:00
Nikolay Lopin 8e85a33dac Show Arrows at snippets tab bar only when needed 2018-02-24 00:49:21 +03:00
Nikolay Lopin 77542597f5 onClick listener fix 2018-02-23 10:26:48 +03:00
Junyoung Choi deab34abd6 Fix memory lick 2018-02-22 09:39:56 +09: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
pfftdammitchris 4f15cc3f08 Fixed ToggleMode button overlapping CSS issue
The absolute positioning of the toggle mode button was creating a static overlapping position issue with the top bar. This fix solves that problem by removing the static positioning and coupling the button component with the buttons to the right
2018-02-20 21:09:43 -08: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
Nikolay Lopin 98c9132d4a Merge branch 'master' into export-note-with-images
# Conflicts:
#	browser/components/MarkdownPreview.js
2018-02-05 12:59:45 +03: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
Nikolay Lopin 3da4bb69ce Export images together with document 2018-02-05 02:08:09 +03: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
Kazz Yokomizo eb693f7b48 Merge pull request #1481 from andyklimczak/1476-tag-check
Remove leading # when creating tag
2018-01-30 21:50:12 +09:00
Kazu Yokomizo 2b1302aa07 Fix #1477 2018-01-30 14:38:53 +09: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
Andy Klimczak 470c071344 Remove leading # when creating tag
- Remove leading # from tags that are created with leading #
- Convenience method for users who tend to type them, but did not want a
tag with double #
- If a user wants a tag with a leading #, then can double it (ie: ##OfPeople)
2018-01-29 20:42:59 -05:00
Kazu Yokomizo 2e05214828 Fix the editor lock button layout 2018-01-25 13:30:36 -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 e7e8f11a74 Fix tooltips position 2018-01-24 16:08:44 -05:00