forked from open-nomie/nomie5
-
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.
- Moving config to /config - and out of store - Created FAQ route and config/faq
- Loading branch information
1 parent
081ee96
commit 7291fe2
Showing
17 changed files
with
144 additions
and
22 deletions.
There are no files selected for viewing
Empty file.
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 |
---|---|---|
@@ -1,6 +1,27 @@ | ||
### TODOs | ||
| Filename | line # | TODO | ||
|:------|:------:|:------ | ||
| src/store/boards.js | 136 | tried to make this a spread - but I keep breaking it. | ||
| src/store/ledger.js | 285 | this doesn't seem to be trigger a change in History.svetle | ||
| src/store/ledger.js | 378 | Make this use listBooks() array to only look for books that exist | ||
# TODO | ||
|
||
Generated Sat Jul 20 2019 9:51 pm | ||
|
||
- **src/store/ledger.js** | ||
- TODO: this doesn't seem to be trigger a change in History.svetle | ||
- TODO: Make this use listBooks() array to only look for books that exist | ||
- **src/store/boards.js** | ||
- TODO: tried to make this a spread - but I keep breaking it. | ||
- **src/routes/stats.svelte** | ||
- TODO: Needs to be refactored and cleaned up | ||
- TODO: Implement IgnoreZeros | ||
- **src/routes/settings.svelte** | ||
- TODO: Make this a modal input - not a damn prompt | ||
- **src/routes/history.svelte** | ||
- TODO: This is really sloppy - clean it up. | ||
- **src/routes/board-editor.svelte** | ||
- TODO: Make sorting work | ||
- **src/containers/tracker/input/keypad.svelte** | ||
- and one for the pin-lock container - TODO: merge these some day | ||
- **src/containers/board/board.svelte** | ||
- TODO: fix user store to be a correct store | ||
- TODO: Look at why this is needed... slop! | ||
- TODO: Finish this starter pack add trackers, make them installable. --> | ||
- **src/components/capture-log.svelte** | ||
- TODO: Mobile is getting GMT Time, desktop is not | ||
- await LedgerStore.saveLog($ActiveLogStore); TODO: Make ledger task instead |
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,22 @@ | ||
const findInFiles = require('find-in-files'); | ||
const dayjs = require('dayjs'); | ||
const fs = require('fs'); | ||
|
||
let md = ['# TODO', '', `Generated ${dayjs().format('ddd MMM D YYYY h:mm a')}`, '']; | ||
|
||
let stripComment = str => { | ||
return str.replace(/(\/\/|\<\!\-\-|\*)/gi, ''); | ||
}; | ||
|
||
findInFiles.find('TODO:', './src').then(res => { | ||
let fileNames = Object.keys(res); | ||
fileNames.forEach(name => { | ||
let file = name; | ||
let node = res[file]; | ||
md.push(`- **${file}**`); | ||
node.line.forEach(line => { | ||
md.push(` - ${stripComment(line).trim()}`); | ||
}); | ||
}); | ||
fs.writeFileSync('./TODO.md', md.join(`\n`), 'UTF-8'); | ||
}); |
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,35 @@ | ||
export default [ | ||
{ | ||
question: 'What should I track?', | ||
answer: `That's really up to you. But, you can't go wrong tracking your | ||
mood a couple times a day, and each time you drink water. From there, you'll start to see what | ||
else you might want to track and understand.`, | ||
}, | ||
{ | ||
question: 'When should I track?', | ||
answer: `That's really up to you too, but the key is to keep it balanced, | ||
track a few times throug out the day maybe?`, | ||
}, | ||
{ | ||
question: `Where's my data stored?`, | ||
answer: `Unless you've setup your own custom hosting with Blockstack, | ||
your data is stored encrypted in Blockstack's instance of GaiaHub. | ||
The only person able to decrypt your data is you.`, | ||
}, | ||
{ | ||
question: `Can I host my own data?`, | ||
answer: `Yes! If you're technical search form "DigitalOcean GaiaHub" and follow the instructions. | ||
This will direct you to Blockstack where you'll set your own GaiaHub storage`, | ||
}, | ||
{ | ||
question: `Can I auto import thing into this version of Nomie?`, | ||
answer: `Yes, using a custom URL parameter. If you add /?note=Hi to the end of this | ||
url - it will automatically create a note. Apps like Tasker (Android) and | ||
Shortcuts in iOS can open web browsers. So you url encode a note with the | ||
data you need. For example: #water(34)`, | ||
}, | ||
{ | ||
question: `Why create Nomie?`, | ||
answer: `Because I (@brandoncorbin) need it.`, | ||
}, | ||
]; |
File renamed without changes.
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
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
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,33 @@ | ||
<script> | ||
//Vendors | ||
import { navigate, Router, Route } from "svelte-routing"; | ||
// Modules | ||
import Tracker from "../modules/tracker/tracker"; | ||
// Components | ||
import NText from "../components/text/text.svelte"; | ||
import NItem from "../components/list-item/list-item.svelte"; | ||
// containers | ||
import NPage from "../containers/layout/page.svelte"; | ||
// config | ||
import faq from "../../config/faq"; | ||
</script> | ||
|
||
<NPage className="stats" withBack={true}> | ||
|
||
<div slot="header" class="n-row"> | ||
<h1>Frequent Questions</h1> | ||
<div class="filler" /> | ||
</div> | ||
|
||
<div class="container"> | ||
<div class="n-list"> | ||
{#each faq as q, index} | ||
<div class="n-pop my-2 py-2"> | ||
<NItem title={q.question} description={q.answer} /> | ||
</div> | ||
{/each} | ||
</div> | ||
</div> | ||
|
||
</NPage> |
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
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
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