Commit Graph
40 Commits
Author SHA1 Message Date
1c349527a1 Update webpack to v5 (#6844)
* upgrade webpack info

* cleanup eslint findings

* fix eslint formatter stylish error

* lazy is invalid option for webpack dev middleware

* upgrade webpack to 5.x

* remove unsupported terser option

* fix missing process polyfill dependency

* try alternate proces fix

* fix css image reference

* add statements to import missing css files to index.html

* TerserPlugin no longer required

* add missing css links

* remove terser

Co-authored-by: Jeremy Cunningham <jpcunningh@gmail.com>
Co-authored-by: Sulka Haro <sulka@sulka.net>
2021-02-07 17:25:19 +02:00
d762694b83 Bolus settings (#6834)
* Add bolus plugin and restructure rendering settings

* Add setting to prevent automated micro boluses from triggering notifications and snoozing alarms

* clean up

* Small change to the bolus-settings branch so it supports flexible configuration that enables the old behavior

* Translations

* Fix settings default

Co-authored-by: Jason Calabrese <jason@cbrese.com>
2021-02-02 19:14:32 +02:00
Sulka Haro c12ad765be * Refactor how the levels dependency is loaded, to fix some localization issues
* Moves reporting client to the bundles
2020-12-14 20:31:20 +02:00
Sulka Haro 9a6ee8aa77 Fix applying localizations to plugin names in client preferences 2020-12-14 16:05:44 +02:00
802d98684f Fixes #4991 - Now selects basal profile based day by day (#5572)
* Test profile settings

* NPM Version change

* Use console log

* Use console log for client

* Use console log for client.sbx

* Use console log for client.ddata

* Use console log for client again

* revert

* Added multi-profile reporting capabilities

Co-authored-by: VIS TFS Admin <liveid@visualsolution.co.uk>
2020-06-12 17:47:28 +03:00
Andrew DixonandGitHub 17eb4ae7bc Option to switch off bolus amount outputs (#5522)
* Option to switch off bolus amount outputs (#5514)

* Fixing issue with carb value not be output when set to "none" (#5514)

* Adding additional output options (#5514)

* Adding environment variable option for 'x U and Over' option.

This option is BOLUS_RENDER_OVER with a default value of 1 and the value can be an integer or a float, e.g. 0.3, 1.5, 2, etc...

* Adding change to change the font size depending on the bolus value.

* Merge two "all" options to create an option that displays as SMB had.
2020-04-14 10:20:35 +03:00
Erin879andSulka Haro 112bfff0d0 Append token parameter in URL to side menu links (#5020) 2019-10-09 23:07:31 +03:00
Erin879 8c9d51fd0a Fixed plugin settings being displayed in other settings pages 2019-08-03 15:09:43 +01:00
Sulka Haro 99ac3a6857 Remove debug logging 2019-07-26 12:04:08 +03:00
Sulka Haro 6c01edbfb6 Only show plugin settings in in client if the plugin is visible 2019-07-26 11:31:19 +03:00
Sulka Haro 2b0b19d6df Adds a new feature for plugins, where plugin extended settings can be changed in the client. Needs expanding on later - currently only supports booleans as checkboxes. 2019-07-25 21:33:42 +03:00
Sulka HaroandGitHub 8f25a6e7a4 Fix all issues from ESLint (#4730)
* Cherry picks the ES language changes from #4690

* Fix small issues found in linting

* * Fix all but one eslint complaint in the bundled code
* Add eslint and js-beautify rc files into the repo
2019-07-17 15:04:57 +03:00
PieterGitandSulka Haro 1769f2d837 speech and Warning, Pump Battery Low Alarm issue during Clock testing... (#3709)
* Fix Warning, Pump Battery Low Alarm cannot be disabled

* fix Clock Views language.js

* see if this will solve the problems with the speech plugin detection at the client

* fix dutch spelling

* translate Clock Views:

* disable again

* Update language.js
2018-07-26 11:02:46 +03:00
Sulka Haro 7df05f0198 Removing Bower part 1 2017-08-15 22:24:23 +03:00
MilosKozak 2249d22dba change logig of showing profile link to OR 2017-03-07 22:32:49 +01:00
Jason Calabrese efe69e5095 refactoring: move deviceName, timeFormat, formatAgo, timeAt to utils 2016-12-11 23:57:48 -08:00
Jason Calabrese d8b46eecdd refactor init so plugins can be localized 2016-10-15 10:54:20 -07:00
Jason Calabrese 370559e987 shuffle things around to get apisecret auth working in denied mode without storing 2016-10-01 01:35:07 -07:00
Jason Calabrese 60e82a032e don't override default thresholds/enable with empty values 2016-08-08 18:38:52 -07:00
ruud de rooij 1ca6bb49d1 Add colorblind-friendly color theme
The color theme uses light green and yellow which to some colorblind
people may be too close to distinguish easily. This adds a
"colorblind-friendly colors" theme which uses light blue instead of
light green for the "in-range" color.
2016-04-22 03:58:39 +00:00
MilosKozak 8e7ab1abb1 make edit mode based on settings 2015-12-23 19:13:29 +01:00
Jason Calabrese 52f6f45fd7 a little refactoring 2015-11-07 22:30:59 -08:00
Jason Calabrese 70eb400716 really use the STORAGE_VERSION constant, good catch codacy 2015-11-07 22:27:13 -08:00
Jason Calabrese d5e72878eb prevent careportal from being hidden by old stored settings 2015-11-07 22:19:15 -08:00
Jason Calabrese d8f77437a5 clean up fix bug loading basalrender from localstorage 2015-10-27 20:25:57 -07:00
Jason Calabrese 7c3cc6d3dd adust basal rendering using the new BASAL_RENDER extended settings on the setting drawer, removed checkbox 2015-10-27 19:51:39 -07:00
Jason Calabrese e9227da608 added option to select the scale of the Y axis 2015-10-19 19:33:20 -07:00
MilosKozak 887c02eaa5 unify timeFormat to number 2015-09-23 14:28:43 +02:00
Jason Calabrese 315a414ed0 also check for null's from local storage 2015-09-01 12:21:08 -07:00
Jason Calabrese 77a1a4241c check if value from local storage is defined instead or being truthy 2015-08-31 19:59:19 -07:00
Jason Calabrese d6bf867bbe move code that adds languages to select to browser-settings.js
also fixes bug where the current language isn't selected
2015-08-26 18:45:58 -07:00
Jason Calabrese 6170489ea1 Merge pull request #787 from nightscout/wip/profileeditor
Extend Profile Editor
2015-08-16 00:29:28 -07:00
Jason Calabrese 3b5cb23c80 added language selection to the settings panel 2015-08-15 18:32:02 -07:00
Jason Calabrese a54e1bd47a add link to 'Edit treatment Profile' if any related plugins are enabled 2015-08-15 14:07:13 -07:00
Jason Calabrese a63d41c601 fix to get custom thresholds from server; some clean up 2015-08-04 00:50:39 -07:00
Jason Calabrese f9f69aae7d pull the rest of the static js into the bundle and get some tests setup 2015-08-03 19:07:42 -07:00
Jason Calabrese c22f6d3c3f added browser-settings tests 2015-08-02 23:03:38 -07:00
Jason Calabrese 7976c806de introduce a chart module, still lot to move over and then lots of refactoring 2015-07-31 01:05:57 -07:00
Jason Calabrese 9b30436822 move most of the focus/context data rendering to a new module 2015-07-30 22:50:46 -07:00
Jason Calabrese 31ce8cbb92 lot of refactoring to have common settings for client and server 2015-07-30 13:46:13 -07:00