From a042633d8fcc413fa6eb52693d7f645c6fd05ab7 Mon Sep 17 00:00:00 2001 From: rjwats Date: Wed, 19 Feb 2020 00:04:57 +0000 Subject: [PATCH] Minor UI Updates (#93) * simplify props set to constant true * reduce icon size in users table for better small screen compatibility * use lib_compat_mode property over library exclusion * get travis to build esp32 environment in addition to esp8266 during CI build --- .travis.yml | 2 +- interface/src/ap/AccessPoint.tsx | 4 ++-- interface/src/ntp/NTPSettingsForm.tsx | 2 +- interface/src/ntp/NetworkTime.tsx | 4 ++-- interface/src/security/ManageUsersForm.tsx | 4 ++-- interface/src/security/Security.tsx | 4 ++-- interface/src/security/UserForm.tsx | 4 ++-- interface/src/system/System.tsx | 4 ++-- interface/src/system/SystemStatusForm.tsx | 2 +- interface/src/wifi/WiFiConnection.tsx | 6 +++--- platformio.ini | 5 +++-- 11 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4668306..30aa006 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,4 @@ install: - platformio update script: - - platformio run + - platformio run -e esp12e -e node32s diff --git a/interface/src/ap/AccessPoint.tsx b/interface/src/ap/AccessPoint.tsx index 089d30b..eba011e 100644 --- a/interface/src/ap/AccessPoint.tsx +++ b/interface/src/ap/AccessPoint.tsx @@ -26,8 +26,8 @@ class AccessPoint extends Component { - - + + diff --git a/interface/src/ntp/NTPSettingsForm.tsx b/interface/src/ntp/NTPSettingsForm.tsx index ba82a70..7885bc9 100644 --- a/interface/src/ntp/NTPSettingsForm.tsx +++ b/interface/src/ntp/NTPSettingsForm.tsx @@ -65,7 +65,7 @@ class NTPSettingsForm extends React.Component { onChange={this.changeTimeZone} margin="normal" > - Time zone... + Time zone... {timeZoneSelectItems()} diff --git a/interface/src/ntp/NetworkTime.tsx b/interface/src/ntp/NetworkTime.tsx index 8855c7b..ebefb6e 100644 --- a/interface/src/ntp/NetworkTime.tsx +++ b/interface/src/ntp/NetworkTime.tsx @@ -26,8 +26,8 @@ class NetworkTime extends Component { - - + + diff --git a/interface/src/security/ManageUsersForm.tsx b/interface/src/security/ManageUsersForm.tsx index c6fc783..27c6f78 100644 --- a/interface/src/security/ManageUsersForm.tsx +++ b/interface/src/security/ManageUsersForm.tsx @@ -131,10 +131,10 @@ class ManageUsersForm extends React.Component - this.removeUser(user)}> + this.removeUser(user)}> - this.startEditingUser(user)}> + this.startEditingUser(user)}> diff --git a/interface/src/security/Security.tsx b/interface/src/security/Security.tsx index 4371efa..4e99769 100644 --- a/interface/src/security/Security.tsx +++ b/interface/src/security/Security.tsx @@ -25,8 +25,8 @@ class Security extends Component { - - + + diff --git a/interface/src/security/UserForm.tsx b/interface/src/security/UserForm.tsx index 92b7c67..c2c6ec5 100644 --- a/interface/src/security/UserForm.tsx +++ b/interface/src/security/UserForm.tsx @@ -33,9 +33,9 @@ class UserForm extends React.Component { const { user, creating, handleValueChange, handleCheckboxChange, onDoneEditing, onCancelEditing } = this.props; return ( - + {creating ? 'Add' : 'Modify'} User - + { - - + + diff --git a/interface/src/system/SystemStatusForm.tsx b/interface/src/system/SystemStatusForm.tsx index 25d2744..c9fe315 100644 --- a/interface/src/system/SystemStatusForm.tsx +++ b/interface/src/system/SystemStatusForm.tsx @@ -91,7 +91,7 @@ class SystemStatusForm extends Component Confirm Restart - + Are you sure you want to restart the device? diff --git a/interface/src/wifi/WiFiConnection.tsx b/interface/src/wifi/WiFiConnection.tsx index 506aefa..c6cef06 100644 --- a/interface/src/wifi/WiFiConnection.tsx +++ b/interface/src/wifi/WiFiConnection.tsx @@ -48,9 +48,9 @@ class WiFiConnection extends Component - - - + + + diff --git a/platformio.ini b/platformio.ini index 2f9ff6b..7ed6e8a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -11,6 +11,9 @@ build_flags= ; Uncomment PROGMEM_WWW to enable the storage of the WWW data in PROGMEM ;-D PROGMEM_WWW +; ensure transitive dependencies are included for correct platforms only +lib_compat_mode = strict + ; Uncomment & modify the lines below in order to configure OTA updates ;upload_flags = ; --port=8266 @@ -31,10 +34,8 @@ lib_deps = platform = espressif8266 board = esp12e board_build.f_cpu = 160000000L -lib_ignore = AsyncTCP [env:node32s] ;board_build.partitions = min_spiffs.csv platform = espressif32 board = node32s -lib_ignore = ESPAsyncTCP