Commit Graph

91 Commits

Author SHA1 Message Date
Gerome Matilla
6d6de0f883
Improve JS Logic (#28)
* theme engine fix ugly logic part 1

* remove new lines when gettings css value property

* theme-engine: add process cssvalues

* theme-engine: add getting inputfields value

* theme-engine: validation

* theme-engine: animspeed validation

* theme-engine: animspeed validation 2

* fix #rgbaa validator

* theme-engine:almost finish

* theme-engine: fix codacy errors

* theme-engine: fix missing semicolon

* theme-engine: fix missing semicolon

* weather-settings: use confirm() method

* weather-settings: cleanup, remove some confirm()
2020-06-17 19:03:27 +08:00
Gerome Matilla
ae6e1254ea
Quality control (#27)
* fix paddings on screen

* fix  test Variable Assigned to Object Injection Sink

* fix parse int missing base

* fix security issues(regex not included)

* fix missing base

* fixes padding

* minor fixes

* regex

* cleanup

* minor cleanup in webmenu

* cleanups

* cleanups spaces to tab

* cleanups

* spacing tabs fixes test

* cleanup

* cleanup

* multitransition new line

* cleanup

* cleanup

* cleanup

* cleanup

* readme

* comments

* cleanup

* Avoid assignments in operands

* cleanup
2020-06-16 20:07:54 +08:00
Gerome Matilla
f484e86e09 css cleanup 2020-06-16 14:52:24 +08:00
Gerome Matilla
c59d1ec0ec
Css (#26)
* add screens css

* separate dir for screens

* separate dir for dashboard and settings

* separate dir for centeredbox and its contents

* move autosuggestion to centeredbox dir

* rename webmenu to webmenuscreen

* fix bugs and errors caused by renaming webmenu

* fix missing dashboard icons

* fix missing weather forecast  icons

* reduced the use of !important

* reduced the use of !important

* reduced the use of !important

* reduced the use of !important

* reduced the use of !important

* reduced the use of !important

* combine bars and panels

* bars css cleanup

* dashboard missing icon fix and css

* decrease the usage of !important

* decrease the usage of important
2020-06-16 13:00:55 +08:00
Gerome Matilla
c9df5ef9f9 weathersettings add default locator variable 2020-06-13 18:38:06 +08:00
Gerome Matilla
22d12de004 rename bodybackground js 2020-06-13 18:33:33 +08:00
Gerome Matilla
6151380ab1 weathersettings cleanup 2020-06-13 18:32:41 +08:00
Gerome Matilla
3974ec6da9 fix city id textbox not appearing 2020-06-13 16:45:29 +08:00
Gerome Matilla
eb8470636d make city mode as default in weather settings 2020-06-13 16:03:14 +08:00
Gerome Matilla
420c498723 rename bodybackground to dummy, fix swipe event bug, improve transition of lazy loading 2020-06-13 13:01:39 +08:00
Gerome Matilla
f0e192f14d adjust timeout for lazyloading 2020-06-13 10:48:13 +08:00
Gerome Matilla
4db08d7b51 fix white flicker on firefox during lazy loading transition 2020-06-13 10:46:52 +08:00
Gerome Matilla
7a1a3b7167 CLEANUP 2020-06-13 08:27:30 +08:00
Gerome Matilla
f44eb62ec7 allow url search in searchbox 2020-06-13 08:02:10 +08:00
Gerome Matilla
ab3582987b README 2020-06-13 06:41:43 +08:00
Gerome Matilla
aeef841570 README 2020-06-12 18:52:39 +08:00
Gerome Matilla
1ca7c94480
Add Geolocation for Weather (#25)
* add location mode ui option

* toggleable locator

* toggleable locator with working update

* update and cleanup

* readme

* cleanup
2020-06-12 18:26:39 +08:00
Gerome Matilla
57d8884baf fix weathersettings broken logic 2020-06-12 15:55:54 +08:00
Gerome Matilla
70a07fd5c3 fix weathersettings broken logic 2020-06-12 15:49:43 +08:00
Gerome Matilla
53026c94b4 modularize fetching openweathermap data 2020-06-12 15:32:02 +08:00
Gerome Matilla
c7b55d2e38 fix ugly weather settings naming 2020-06-12 14:44:48 +08:00
Gerome Matilla
82ce5b44b0 weather cleanup 2020-06-12 07:46:44 +08:00
Gerome Matilla
af7c6bca0f weather forecast replace date with day name 2020-06-11 11:39:01 +08:00
Gerome Matilla
3cbfa48dec
Add transition duration settings in dashboard (#22)
* add animation speed settings in theme engine

* readme
2020-06-10 16:35:39 +08:00
Gerome Matilla
7c8ece1d5e
Use insertAdjacentHTML instead of createElement (#21)
* web menu

* weather-screen forecast

* search engine selection, change some to beforeend
2020-06-10 15:35:27 +08:00
Gerome Matilla
84727755db
Cleanups (#20)
* centedbox css

* add font-weight to the css

* some cleanup
2020-06-10 14:47:04 +08:00
Gerome Matilla
9e6703134b fix search engine settings logic and probably add more bugs 2020-06-10 09:09:43 +08:00
Gerome Matilla
ff65622eb7 cleanup 2020-06-09 18:13:12 +08:00
Gerome Matilla
17b685c3ae fix searchbox not hiding if weatherscreen is opened, code clenaup 2020-06-09 15:55:50 +08:00
Gerome Matilla
5fae8e1656 fix weather screens temp symbol not updating 2020-06-09 12:45:43 +08:00
Gerome Matilla
24b7d4ff0f code consistency 2020-06-09 12:26:02 +08:00
Gerome Matilla
2c3f2dfc3f hide suggestions on searchbox close 2020-06-09 12:21:57 +08:00
Gerome Matilla
3814cf563f fix clock format 2020-06-09 10:55:25 +08:00
Gerome Matilla
0c083f497c fix not updating clock 2020-06-09 10:37:34 +08:00
Gerome Matilla
581cdea730
rewrite of js files (#19) 2020-06-09 10:02:03 +08:00
Gerome Matilla
a9b176a483 decrease the usage of var 2020-06-07 15:24:18 +08:00
Gerome Matilla
2c490585b2 decrease the usage of var 2020-06-07 15:18:09 +08:00
Gerome Matilla
916a127300 weather settings reduced the use of var 2020-06-07 14:54:57 +08:00
Gerome Matilla
620f297f70
Code quality improvement(i guess) (#17)
* replace  divs with labels in dashboard textboxes

* convert weather settings block to form

* convert search engine block to form

* convert theme engine block to form

* dashboard buttons:replace onmouseup with .onclick()

* add hover event on buttons
2020-06-07 14:34:27 +08:00
Gerome Matilla
c6d4387a65 some cleanup 2020-06-07 09:25:35 +08:00
Gerome Matilla
083ac06021 fix webmenu search erasure bug 2020-06-07 06:04:00 +08:00
Herman
b11ac06301
vertical arrow navigation for web menu (#16) 2020-06-07 05:43:19 +08:00
Gerome Matilla
991a54976a rename disableinput function 2020-06-06 19:05:39 +08:00
Gerome Matilla
d0f2b3b74c disable inputs if hidden 2020-06-06 18:16:34 +08:00
Gerome Matilla
44a903e59b web menu: disable tabbings on webmenu and ignore tab on webmenu searchbox 2020-06-06 17:43:09 +08:00
Gerome Matilla
dbc4f902ca cleanups and readme 2020-06-06 11:34:20 +08:00
Gerome Matilla
1738a942c1 suggestion keyboard navigation 2020-06-06 11:13:45 +08:00
Gerome Matilla
a43fe216e3 input events and ui consistency 2020-06-06 10:35:54 +08:00
Gerome Matilla
b52d86b0e2 cleanup 2020-06-06 10:11:33 +08:00
Gerome Matilla
4f3b78834c autogenerate init 2020-06-06 09:52:16 +08:00