Commit Graph

2517 Commits

Author SHA1 Message Date
Rob Garrison
5df1380426 Rearrange HTML & remove extra JS 2018-10-13 17:47:48 -05:00
Rob Garrison
3c1ee1cd9e Tweaks 2018-10-13 17:47:48 -05:00
narcolepticinsomniac
2d28a7520d
Remove usercss white styling 2018-10-13 18:06:54 -04:00
narcolepticinsomniac
d1bc80282f
Reincorporate a line of code I missed 2018-10-12 19:27:57 -04:00
narcolepticinsomniac
5d73cbf240
Reincorporate an updated line I missed 2018-10-12 19:25:05 -04:00
narcolepticinsomniac
d051bd3477
Reincorporate 8's updates 2018-10-12 19:16:11 -04:00
narcolepticinsomniac
0766dd7f0a
Reincorporate tophf's update 2018-10-12 17:47:08 -04:00
narcolepticinsomniac
f76512e513
Reincorporate 8's updates 2018-10-12 17:38:19 -04:00
narcolepticinsomniac
f52fd0d124
Reincorporate 8's updates 2018-10-12 17:28:47 -04:00
narcolepticinsomniac
407e70b20c
Reincorporate 8's updates 2018-10-12 17:25:46 -04:00
narcolepticinsomniac
9dfafe368c
Reincorporate 8's updates 2018-10-12 17:16:38 -04:00
narcolepticinsomniac
e4aaa9e94f
messages 2018-10-12 16:35:09 -04:00
narcolepticinsomniac
97108767e7
popup 2018-10-12 16:31:59 -04:00
narcolepticinsomniac
e83ff94ef7
options CSS 2018-10-12 16:30:33 -04:00
narcolepticinsomniac
4f45e633ac
messagebox 2018-10-12 16:29:35 -04:00
narcolepticinsomniac
6474eb178a
manage CSS 2018-10-12 16:28:28 -04:00
narcolepticinsomniac
525030c15d
prefs 2018-10-12 16:26:51 -04:00
narcolepticinsomniac
b2af8770ee
usercss 2018-10-12 16:25:29 -04:00
narcolepticinsomniac
586ad8aad7
edit 2018-10-12 16:24:42 -04:00
narcolepticinsomniac
dbc26c2901
One UI PR to rule them all
Gonna take a while to figure out all the other edited files.
2018-10-12 16:21:41 -04:00
eight
5cbe8a8d78
Add: fetch style object from DB directly in the editor (#507) 2018-10-02 20:22:18 +08:00
eight
2fd531e253 Rewrite linter system (#487)
* Add: implement new linter system

* Refactor: pull out editor worker

* Switch to new linter and worker

* Enable eslint cache

* Fix: undefined error

* Windows compatibility

* Fix: refresh linter if the editor.linter changes

* Add: stylelint

* Add: getStylelintRules, getCsslintRules

* Fix: logic to get correct linter

* WIP: linter-report

* Fix: toggle hidden state

* Add: matain the order of lint report for section editor

* Add: unhook event

* Add: gotoLintIssue

* Fix: shouldn't delete rule.init

* Add: linter-help-dialog

* Drop linterConfig

* Add: linter-config-dialog, cacheFn

* Add: use cacheFn

* Drop lint.js

* Add: refresh. Fix report order

* Fix: hide empty table

* Add: updateCount. Fix table caption

* Switch to new linter/worker

* Fix: remove unneeded comment

* Fix: cacheFn -> cacheFirstCall

* Fix: use cacheFirstCall

* Fix: cache metaIndex

* Fix: i < trs.length

* Fix: drop isEmpty

* Fix: expose some simple states to global

* Fix: return object code style

* Fix: use proxy to reflect API

* Fix: eslint-disable-line -> eslint-disable-next-line

* Fix: requestId -> id

* Fix: one-liner

* Fix: one-liner

* Fix: move dom event block to top

* Fix: pending -> pendingResponse

* Fix: onSuccess -> onUpdated

* Fix: optimize row removing when i === 0

* Fix: hook/unhook -> enableForEditor/disableForEditor

* Fix: linter.refresh -> linter.run

* Fix: some shadowing

* Fix: simplify getAnnotations

* Fix: cacheFirstCall -> memoize

* Fix: table.update -> table.updateCaption

* Fix: unneeded reassign

* Fix: callbacks -> listeners

* Fix: don't compose but extend

* Refactor: replace linter modules with linter-defaults and linter-engines

* Fix: implement linter fallbacks

* Fix: linter.onChange -> linter.onLintingUpdated

* Fix: cms -> tables

* Fix: parseMozFormat is not called correctly

* Move csslint-loader to background

* Fix: watch config changes

* Fix: switch to LINTER_DEFAULTS

* Fix: csslint-loader -> parserlib-loader
2018-10-01 09:03:17 -05:00
Rob Garrison
5f60c519ce Alas, poor clamp! I knew it well 2018-09-24 07:02:04 -05:00
Rob Garrison
b0fbdfb6e9 Update number input on blur 2018-09-24 07:02:04 -05:00
Rob Garrison
93dee41c11 Don't re-render input while focused 2018-09-24 07:02:04 -05:00
Rob Garrison
c18671c91c Fix undefined value 2018-09-24 07:02:04 -05:00
Rob Garrison
a0ffdb7645 Update current value in updateRangeCurrentValue 2018-09-24 07:02:04 -05:00
Rob Garrison
ec16a0c1e0 Remove onblur, don't save invalid inputs 2018-09-24 07:02:04 -05:00
Rob Garrison
40f580a0b2 Change stored number value on change 2018-09-24 07:02:04 -05:00
Rob Garrison
5af74a9d80 Remove isNumber function 2018-09-24 07:02:04 -05:00
Rob Garrison
40a3abbee8 Fix isNumber function 2018-09-24 07:02:04 -05:00
Rob Garrison
d00e5f4ddb Change clamp function order & only call onblur 2018-09-24 07:02:04 -05:00
Rob Garrison
a4d2e3dd9c Remove misleading comment 2018-09-24 07:02:04 -05:00
Rob Garrison
75d2ef2cc1 Fix strict equals 2018-09-24 07:02:04 -05:00
Rob Garrison
f2c973096b Fix clamp function 2018-09-24 07:02:04 -05:00
Rob Garrison
2c7742e56f Check for null in isNumber 2018-09-24 07:02:04 -05:00
Rob Garrison
15a0521408 Fix clamp function 2018-09-24 07:02:04 -05:00
Rob Garrison
f35077afce Fix clamp undefined step 2018-09-24 07:02:04 -05:00
Rob Garrison
7fff670683 Fix clamp undefined min/max 2018-09-24 07:02:04 -05:00
Rob Garrison
375e0ec448 Switch to isNumber function 2018-09-24 07:02:04 -05:00
Rob Garrison
314ec99e5c More suggested changes 2018-09-24 07:02:04 -05:00
Rob Garrison
0678a6b302 Remove unnecessary css 2018-09-24 07:02:04 -05:00
Rob Garrison
ff0145a129 Fix clamp to step floor 2018-09-24 07:02:04 -05:00
Rob Garrison
7be33a9237 Fix default values 2018-09-24 07:02:04 -05:00
Rob Garrison
d136fdbafa Allow including null in number/range variables 2018-09-24 07:02:04 -05:00
Rob Garrison
7d533d4d4a Fix select default option extraction 2018-09-24 07:02:04 -05:00
Rob Garrison
153a066fbe Fix clampValue issue if min/max are not defined 2018-09-24 07:02:04 -05:00
Rob Garrison
2a2191049f Don't allow step to be set to zero 2018-09-24 07:02:04 -05:00
Rob Garrison
1ba0173422 Remove rangeToProps & fix clampValue functions 2018-09-24 07:02:04 -05:00
Rob Garrison
1881552348 Remove va.range & add min/max/step to va directly 2018-09-24 07:02:04 -05:00