mirror of https://github.com/espruino/BangleApps
Add app history functionality add semicolons that were missing according to Web IDE fix intendtation in if statement fewer storage manipulations, tweak some logic comment regarding resetting history undo `const SETTINGS` -> `let settings` describe app history in readme In settings, don't allow app history and load to launcher to be active at the same time change `launchedApps` -> `appHistory` (somewhat unstable commit) tweaking logic around loading `.bootcde` at system initiation to make the history and resetting of history work as expected add to comment re loading `.bootcde` an extra time on init Revert "add to comment re loading `.bootcde` an extra time on init" This reverts commit b4aaccf35c820a1c7e7a22040c3958b4fc92e5c6. Revert "(somewhat unstable commit) tweaking logic around loading `.bootcde` at system initiation to make the history and resetting of history work as expected" This reverts commit 51dddfc30ac65572891efee1daf6099f7a3b19f4. tweak when settings page is autoupdated Change description for app history. Add contributor. quicklaunch shall not be recorded in the history Add setting to exclude quicklaunch from history, if it is present remove print statements If long press HW button do reset history. Set some variables to null if app history is disabled. add info re long press HW button resets history remove check for 'fastload.5.boot.js'. it would show up in the app history during development because the web ide said to load the uploaded app. it should not be needed in normal operations of the app for users. fewer checks for if useAppHistory is true, by first declaring some variables and then defining them inside an if-statement add recommendation of 'Fast Reset' app in readme |
||
---|---|---|
.. | ||
ChangeLog | ||
README.md | ||
boot.js | ||
icon.png | ||
metadata.json | ||
settings.js |
README.md
Fastload Utils
EXPERIMENTAL Use this with caution. When you find something misbehaving please check if the problem actually persists when removing this app.
This allows fast loading of all apps with two conditions:
- Loaded app contains
Bangle.loadWidgets
. This is needed to prevent problems with apps not expecting widgets to be already loaded. - Current app can be removed completely from RAM.
Settings
- Activate app history and navigate back through recent apps instead of immediately loading the clock face
- If Quick Launch is installed it can be excluded from app history
- Allows to redirect all loads usually loading the clock to the launcher instead
- The "Fastloading..." screen can be switched off
App history
- Long press of hardware button clears the app history and loads the clock face
- Installing the 'Fast Reset' app allows doing fastloads directly to the clock face by pressing the hardware button for one second. Useful if there are many apps in the history and the user want to access the clock quickly.
Technical infos
This is still experimental but it uses the same mechanism as .bootcde
does.
It checks the app to be loaded for widget use and stores the result of that and a hash of the js in a cache.