From aac13dcdcabb2f975cf7a27b64dae24a37c27517 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 08:26:31 -0800 Subject: [PATCH 1/9] Updated build.md to include directions for checking out PRs --- docs/build.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/build.md b/docs/build.md index eaf94666..f60361aa 100644 --- a/docs/build.md +++ b/docs/build.md @@ -31,6 +31,34 @@ $ yarn run dev > 1. When editing a constructor method of a component > 2. When adding a new css class (similar to 1: the CSS class is re-written by each component. This process occurs at the Constructor method.) +## Accessing code used in Pull Requests +Visit the page for the pull request and look at the end of the url for the PR number +
+https://github.com/BoostIO/Boostnote/pull/2794
+
+In the following, replace with that number (no brackets). +For the above url, you would replace with 2794 + +_If you do not have a local copy the master branch yet_ +``` +git clone https://github.com/BoostIO/Boostnote.git +cd Boostnote +git fetch origin pull/2612/head: +git checkout +``` + +_If you already have the master branch_ +``` +git fetch origin pull/2612/head: +git checkout +``` + +_To compile and run the code_ +``` +yarn +yarn build +``` + ## Deploy We use Grunt to automate deployment. From 5e9bd2fd2d7a66671e7c91051366ed53984ba4d4 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 08:34:14 -0800 Subject: [PATCH 2/9] escaped angle brackets --- docs/build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build.md b/docs/build.md index f60361aa..91176611 100644 --- a/docs/build.md +++ b/docs/build.md @@ -36,8 +36,8 @@ Visit the page for the pull request and look at the end of the url for the PR nu
 https://github.com/BoostIO/Boostnote/pull/2794
 
-In the following, replace with that number (no brackets). -For the above url, you would replace with 2794 +In the following, replace \ with that number (no brackets). +For the above url, you would replace \ with 2794 _If you do not have a local copy the master branch yet_ ``` From 7b8fb5644089c07f2d6300f07bd9bded4b92e91f Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 08:38:18 -0800 Subject: [PATCH 3/9] fixed error in url --- docs/build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build.md b/docs/build.md index 91176611..36aea9a7 100644 --- a/docs/build.md +++ b/docs/build.md @@ -43,13 +43,13 @@ _If you do not have a local copy the master branch yet_ ``` git clone https://github.com/BoostIO/Boostnote.git cd Boostnote -git fetch origin pull/2612/head: +git fetch origin pull//head: git checkout ``` _If you already have the master branch_ ``` -git fetch origin pull/2612/head: +git fetch origin pull//head: git checkout ``` From 6fb72bd44ab4428b0a66ad4a52502e7fddacfb2e Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 09:46:51 -0800 Subject: [PATCH 4/9] minor typo --- docs/build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build.md b/docs/build.md index 36aea9a7..08a1b5dc 100644 --- a/docs/build.md +++ b/docs/build.md @@ -39,7 +39,7 @@ https://github.com/BoostIO/Boostnote/pull/2794 In the following, replace \ with that number (no brackets). For the above url, you would replace \ with 2794 -_If you do not have a local copy the master branch yet_ +_If you do not have a local copy of the master branch yet_ ``` git clone https://github.com/BoostIO/Boostnote.git cd Boostnote From e298739cb9021a18136ab6bfded44604258b6b07 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 12:34:25 -0800 Subject: [PATCH 5/9] fixed typo --- docs/build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build.md b/docs/build.md index 08a1b5dc..095f8628 100644 --- a/docs/build.md +++ b/docs/build.md @@ -56,7 +56,7 @@ git checkout _To compile and run the code_ ``` yarn -yarn build +yarn run dev ``` ## Deploy From 47d7cef2148d0307080303efbe82268523a80c0b Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 15:50:33 -0800 Subject: [PATCH 6/9] Update copywrite year 2018->2019 --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index aba9b92a..d1eb710b 100644 --- a/readme.md +++ b/readme.md @@ -41,7 +41,7 @@ Issues on Boostnote can be funded by anyone and the money will be distributed to * Website: https://boostnote.io * Newsletters: https://boostnote.io/#subscribe * [Development](https://github.com/BoostIO/Boostnote/blob/master/docs/build.md): Development configurations for Boostnote. -* Copyright (C) 2016 - 2018 BoostIO, Inc. +* Copyright (C) 2016 - 2019 BoostIO, Inc. #### License From a8e601e5e00d94eb726581f1bb49296bbfd16136 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 16:09:25 -0800 Subject: [PATCH 7/9] Update InfoTab.js --- browser/main/modals/PreferencesModal/InfoTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modals/PreferencesModal/InfoTab.js index d618fa22..dafabb02 100644 --- a/browser/main/modals/PreferencesModal/InfoTab.js +++ b/browser/main/modals/PreferencesModal/InfoTab.js @@ -134,7 +134,7 @@ class InfoTab extends React.Component { >{i18n.__('Development')}{i18n.__(' : Development configurations for Boostnote.')}
  • - {i18n.__('Copyright (C) 2017 - 2018 BoostIO')} + {i18n.__('Copyright (C) 2017 - 2019 BoostIO')}
  • {i18n.__('License: GPL v3')} From 951a126d63e7ff3abda89e1dcbc7eec3e2d59a38 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 18:51:03 -0800 Subject: [PATCH 8/9] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 7472c9eb..2d1ab131 100644 --- a/LICENSE +++ b/LICENSE @@ -2,7 +2,7 @@ GPL-3.0 Boostnote - an open source note-taking app made for programmers just like you. -Copyright (C) 2017 - 2018 BoostIO +Copyright (C) 2017 - 2019 BoostIO This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by From 3fe45e9cbb9ef8a13c5ee21f7bf7ba1f6fe8dc45 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Wed, 16 Jan 2019 16:09:07 -0800 Subject: [PATCH 9/9] Added cheatsheets to menu --- lib/main-menu.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/lib/main-menu.js b/lib/main-menu.js index 05921347..dcd85217 100644 --- a/lib/main-menu.js +++ b/lib/main-menu.js @@ -383,6 +383,27 @@ const help = { { label: 'Changelog', click () { shell.openExternal('https://github.com/BoostIO/boost-releases') } + }, + { + label: 'Cheatsheets', + submenu: [ + { + label: 'Markdown', + click () { shell.openExternal('https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet') } + }, + { + label: 'Latex', + click () { shell.openExternal('https://katex.org/docs/supported.html') } + }, + { + label: 'HTML', + click () { shell.openExternal('https://htmlcheatsheet.com/') } + }, + { + label: 'Boostnote', + click () { shell.openExternal('https://github.com/TobseF/boostnote-markdown-cheatsheet/blob/master/BOOSTNOTE_MARKDOWN_CHEAT_SHEET.md') } + } + ] } ] }