Browse Source

docs & comments & labels

pull/23/head
Trent Larson 1 year ago
parent
commit
d5336dbf1b
  1. 6
      project.task.yaml
  2. 7
      src/db/index.ts
  3. 2
      src/views/StatisticsView.vue

6
project.task.yaml

@ -10,6 +10,7 @@
- stats v1 : - stats v1 :
- 01 show numeric stats - 01 show numeric stats
- 01 link to world for specific stats - 01 link to world for specific stats
- .5 don't load another instance of a bush if it already exists
- contacts v1 : - contacts v1 :
- 01 Import contact info a la QR code. - 01 Import contact info a la QR code.
@ -35,9 +36,14 @@
- .5 customize favicon - .5 customize favicon
- .5 make advanced features harder to access; advanced build? - .5 make advanced features harder to access; advanced build?
- 40 notifications
- pull, w/ scheduled runs
- push
- Release Minimum Viable Product : - Release Minimum Viable Product :
- Turn off stats-world or ensure it's usable (eg. cannot zoom out too far and lose world, cannot screenshot). - Turn off stats-world or ensure it's usable (eg. cannot zoom out too far and lose world, cannot screenshot).
- Add disclaimers. - Add disclaimers.
- Rename DB to TimeSafari.
- Switch default server to the public server. - Switch default server to the public server.
- Deploy to a server. - Deploy to a server.
- Ensure public server has limits that work for group adoption. - Ensure public server has limits that work for group adoption.

7
src/db/index.ts

@ -41,7 +41,12 @@ const NonsensitiveSchemas = Object.assign({}, ContactsSchema, SettingsSchema);
* https://stackoverflow.com/questions/72474803/error-the-top-level-await-experiment-is-not-enabled-set-experiments-toplevelaw * https://stackoverflow.com/questions/72474803/error-the-top-level-await-experiment-is-not-enabled-set-experiments-toplevelaw
*/ */
// create password and place password in localStorage /**
* Create password and place password in localStorage.
*
* It's good practice to keep the data encrypted at rest, even if the secret
* is stored next to the app.
*/
const secret = const secret =
localStorage.getItem("secret") || Encryption.createRandomEncryptionKey(); localStorage.getItem("secret") || Encryption.createRandomEncryptionKey();

2
src/views/StatisticsView.vue

@ -75,7 +75,7 @@
{{ worldProperties.endTime }} {{ worldProperties.endTime }}
</div> </div>
<div v-if="worldProperties.animationDurationSeconds"> <div v-if="worldProperties.animationDurationSeconds">
<label>Animation duration:&nbsp;</label> <label>Animation Time:&nbsp;</label>
{{ worldProperties.animationDurationSeconds }} seconds {{ worldProperties.animationDurationSeconds }} seconds
</div> </div>
</div> </div>

Loading…
Cancel
Save