Chris Veilleux
3377670bf8
changed imports to use new directory structure for shared code
2019-01-30 14:52:23 -06:00
Chris Veilleux
d168d25717
reorganized the shared directory to have a top-level "selene" package that all other shared packages will be included in.
2019-01-30 14:49:54 -06:00
Chris Veilleux
f199e0969b
moved the contents of the "backend" directory up one level since this repo is now just for backend code
2019-01-30 14:47:18 -06:00
Chris Veilleux
9635769ae9
removing frontend code that was moved to the selene-ui repo
2019-01-28 16:31:54 -06:00
Chris Veilleux
a1210c41d2
changed to reflect new purpose of repo
2019-01-28 16:30:31 -06:00
Chris Veilleux
ce283b8916
Merge pull request #33 from MycroftAI/device-page
...
Add device page and changed some of the stylesheet organization
2019-01-23 20:15:15 -06:00
Chris Veilleux
39e5467492
updated to use new stylesheets
2019-01-23 20:12:49 -06:00
Chris Veilleux
26b2befb42
fixed selector tag naming
2019-01-23 20:11:40 -06:00
Chris Veilleux
03c71f9092
fixed selector tag naming
2019-01-23 20:11:21 -06:00
Chris Veilleux
cace2ea9c1
fixed selector tag naming
2019-01-23 20:11:08 -06:00
Chris Veilleux
38f78a8978
updated to use new stylesheets
2019-01-23 20:10:25 -06:00
Chris Veilleux
4df3cfcad2
new generic icons for devices with an unknown product identifier
2019-01-22 14:51:04 -06:00
Chris Veilleux
fc3b2439e7
moved a bunch of variables and styles out of the theme.scss file so that they can be referenced throughout the app.
2019-01-22 14:50:25 -06:00
Chris Veilleux
6b28b39488
minor design changes
2019-01-11 12:40:37 -06:00
Chris Veilleux
7f479dd0b0
gave the css class for section titles a more apt name.
2019-01-10 11:45:36 -06:00
Chris Veilleux
b1ecc8bab1
Applied a slew of design changes requested buy design team.
2019-01-10 11:22:32 -06:00
Chris Veilleux
7c2e1964fb
abstracted out the commonalities of attribute editing modals into a common component
2019-01-08 15:46:45 -06:00
Chris Veilleux
602622ff73
moved the attribute components into the attribute folder. suffixed existing component with "-edit" and added a "-view" component for each attribute
2019-01-08 14:04:52 -06:00
Chris Veilleux
f11c01484e
stubbed in UI components for geographic location
2019-01-08 12:03:27 -06:00
Chris Veilleux
95fd091be5
did some refactoring to make the device attribute component re-usable. also did a bit of renaming
2019-01-07 17:51:47 -06:00
Chris Veilleux
aacc165022
add device delete dialog
2019-01-04 16:00:31 -06:00
Chris Veilleux
a919fbfcf4
removed an unnecessary field
2019-01-04 15:36:32 -06:00
Chris Veilleux
8e3d2b3969
removed css that is not needed because of the mat-dialog-actions directive
2019-01-04 15:36:07 -06:00
Chris Veilleux
c54b9c567e
fine tuned how the value selected in the dialog gets reflected in the device object
2019-01-04 13:59:54 -06:00
Chris Veilleux
f2f6e18254
removed an unnecessary field
2019-01-04 11:53:55 -06:00
Chris Veilleux
31e382fde6
add informational text to the placement dialog.
2019-01-04 11:50:31 -06:00
Chris Veilleux
275862a98b
add device placement dialog
2019-01-03 14:55:40 -06:00
Chris Veilleux
c7c6174b0e
Add descriptive text indicating what grouping functionality benefits are
2019-01-03 14:52:08 -06:00
Chris Veilleux
d1e09bcbbf
Add styling for the descriptive text
2019-01-03 14:50:49 -06:00
Chris Veilleux
10a288166b
rename file to match other platform icons
2019-01-03 14:49:56 -06:00
Chris Veilleux
d3a335aca0
icons for device platforms
2019-01-02 20:22:12 -06:00
Chris Veilleux
c31937cbfc
applied styling from design group and implemented a first attempt at a device group picker
2019-01-02 20:21:36 -06:00
Chris Veilleux
0120b292b8
Merge pull request #31 from MycroftAI/data-access-layer
...
Merging the initial data access layer code into the overhaul branch
2018-12-28 12:38:30 -06:00
Chris Veilleux
018a63565c
Merge pull request #30 from MycroftAI/device-skill-access-layer
...
Creating access layer for the device and skill settings
2018-12-28 11:52:55 -06:00
Matheus Lima
f8183ec439
Adding blank lines do fix pep8 issue
2018-12-28 14:49:51 -03:00
Matheus Lima
f8e26e7b33
Changing attribute to use typing.List
2018-12-26 21:01:37 -03:00
Matheus Lima
3b4483275c
- Minor fixes related to pep8
...
- Using list comprehension instead lambda expression to make the code more readable
- Removed SkillSetting since this class is not business related
2018-12-26 20:03:56 -03:00
Matheus Lima
acb77b1566
Creating access layer for the device and skill settings
...
- Replaced the function getcwd() for path.dirname(__file__) as a safer solution to get the current folder
- Created functions to fetch devices using either id or account id
- Created function get_setting_by_device_id_and_setting_version_hash to fetch a skill setting using the setting version hash and the device id
The last function hits multiple tables and to avoid trigger a lot of queries we:
- use a single query to fetch all sections for a given skill and device;
- use a single query to fetch all settings passing the list of section ids from the previous step;
- use a single query to fetch all skill settings for a given device and skill
2018-12-26 18:18:09 -03:00
Chris Veilleux
0dbe02ce44
improved spacing
2018-12-20 15:05:59 -06:00
Chris Veilleux
63e54ecf79
removed leaflet code
2018-12-20 14:18:59 -06:00
Chris Veilleux
9a2536ba68
added page not found module and removed leaflet module
2018-12-20 14:18:44 -06:00
Chris Veilleux
740760029d
Merge remote-tracking branch 'remotes/origin/tartarus-overhaul' into device-page
2018-12-20 14:07:58 -06:00
Chris Veilleux
ae61d36aa3
Merge pull request #28 from MycroftAI/profile-page
...
Profile page UI content complete. Still needs API and styling work.
2018-12-20 14:05:33 -06:00
Chris Veilleux
8e9ab7d871
Merge branch 'tartarus-overhaul' into profile-page
2018-12-20 14:04:20 -06:00
Chris Veilleux
737904d0ab
Merge pull request #27 from MycroftAI/ui-theming
...
Initial theming file definitions
2018-12-20 14:02:35 -06:00
Chris Veilleux
6bdada2283
Merge pull request #29 from MycroftAI/not-found-page
...
added a library application to build a standard 404 page
2018-12-20 14:01:00 -06:00
Chris Veilleux
d4b5191d64
added a library application to build a standard 404 (page not found) page
2018-12-20 13:54:15 -06:00
Chris Veilleux
f24946ab30
Merge remote-tracking branch 'remotes/origin/master' into data-access-layer
2018-12-19 14:28:21 -06:00
Chris Veilleux
49faa139eb
fixed some formatting issues that occurred when the sidnav content did not take up the whole screen
2018-12-18 15:48:31 -06:00
Chris Veilleux
ddd84d0dc4
removed background color as it is redundant with the app
2018-12-18 15:33:20 -06:00