Commit Graph

85 Commits

Author SHA1 Message Date
eight
34497ebe16 WIP: switch to API 2018-10-05 18:47:52 +08:00
eight
f1639cc33e WIP: broadcastMessage 2018-10-05 01:03:40 +08:00
eight
24b1eea8a4 Merge branch 'master' of https://github.com/openstyles/stylus into dev-exclusions 2018-10-03 15:00:07 +08:00
tophf
4f8953adde refresh the just edited style entry after history back 2018-08-30 09:23:55 +03:00
tophf
95524df6f4 code cosmetics: use :: for pseudo elements 2018-08-27 17:20:48 +03:00
tophf
918debe110 fix show-more in old UI and simplify generation of targets 2018-08-24 14:02:31 +03:00
tophf
d8914c38a7 highlight edited style on history back in FF 2018-08-02 21:10:43 +03:00
tophf
5da1e0fb9b set onbeforeunload only when dirty
https://developers.google.com/web/updates/2018/07/page-lifecycle-api#legacy-lifecycle-apis-to-avoid
2018-08-02 20:54:40 +03:00
tophf
ee4c4de059 code cosmetics: combine and simplify 2018-07-28 23:39:49 +03:00
tophf
363b8a7bf1 skip empty applies-to values 2018-07-28 21:04:29 +03:00
Rob Garrison
68dfa0153c Add style exclusions. Closes #113 2018-07-22 11:21:43 -05:00
tophf
c6724b02d3 code cosmetics: pacify eslint 2018-07-21 21:04:47 +03:00
tophf
b5b0bcaf19 tabs should open next to the manager tab
closes #427
2018-07-11 19:04:05 +03:00
tophf
fc50ee2e2c disable '#header select' autosizing in Vivaldi 2018-06-27 15:42:35 +03:00
tophf
349c33b478 set even/odd class based on html { --columns: # } variable 2018-05-16 03:53:38 +03:00
tophf
1d0ca613f9 handleUpdate may alter/add an entry which needs to be sorted 2018-05-15 14:56:12 +03:00
tophf
68165e8fa2 filters affect striping, not the sort order 2018-05-15 12:21:30 +03:00
tophf
e80efa7604 FF: hotkeys dialog 2018-04-12 21:28:45 +03:00
tophf
dd5cd5c686 correctly show "Everything" in applies-to column
* don't show it twice
* show it if the style targets were actually removed since the last paint
2018-03-19 07:10:59 +03:00
tophf
6b0628a7ee CSS containment was buggy in Chrome before 58.0.3004
fixes #355
2018-02-28 05:04:35 +03:00
tophf
0fd5d100c9 update filter stats after deleting a style 2018-02-26 23:16:10 +03:00
tophf
e4150aa8b0 sort only after filtering is complete 2018-02-26 22:57:03 +03:00
tophf
ceb11ae52a ignore dates and other meta data when diffing 2018-02-26 22:56:42 +03:00
tophf
4493c9e9f0 don't double-process 'styleUpdated' in manager 2018-01-14 18:18:08 +03:00
tophf
989df35b05 live preview in editor
* refreshAllTabs was extracted
* ...and fixed to use each frame's url when getting the styles
2018-01-12 00:54:36 +03:00
tophf
0c2c86a8de update favicons in handleUpdate 2018-01-12 00:53:35 +03:00
tophf
23fcbd6c27 fixup 7de3e37a: handleUpdateInstalled is for .updatable only 2018-01-07 16:53:41 +03:00
tophf
45219a88c1 microoptimization: 'style' is already a deep-copy 2018-01-04 22:47:29 +03:00
tophf
392ca4c988 add "configure" button in the old UI 2018-01-04 22:35:12 +03:00
tophf
1c432b2868 fixup 77a07b7f: don't invoke editor on clicking the name 2018-01-04 22:25:03 +03:00
tophf
66f176992b fixup 671b2765: don't show favicons in old UI 2018-01-04 22:20:03 +03:00
tophf
3418ac9cb9 FF: support private/container tabs 2018-01-03 10:43:56 +03:00
Rob Garrison
671b276532 Attempt to get favicon for RegExp match (#321)
show favicons for regexp() in applies-to column
2018-01-01 08:17:43 +03:00
tophf
af6c3a79d5 don't show update buttons for local styles in old UI
#319
2017-12-29 17:53:11 +03:00
tophf
e4f8cf5fb5 simplify usePrefsDuringPageLoad 2017-12-26 08:54:01 +03:00
tophf
4da6eeb746 manage: speed up first meaningful paint
by postponing creation of favicon placeholders for the visible entries to the second render run when rendering in chunks or after all styles were displayed when rendering the entire list
2017-12-26 08:52:19 +03:00
tophf
fc673fe9c6 fixup ea709c93: remove the unused variable 2017-12-25 12:25:53 +03:00
tophf
12fe1b619f render 20+ styles at once
so that the page on a typical 1080p display is completely filled in initial frame at 200ms
2017-12-25 12:18:24 +03:00
tophf
53eac84312 load visible favicons immediately, lazy-load the rest 2017-12-25 12:18:24 +03:00
Rob Garrison
5a07bbb1e3 Add manager sort block 2017-12-25 12:17:18 +03:00
tophf
6607455e8f silence eslint; switch shirt-circuiting to single-line if/else 2017-12-18 10:27:50 +03:00
tophf
3c2421d875 always scroll to the style on "history back" from editor to manager 2017-12-13 09:19:49 +03:00
tophf
fefe82fd54 remove what-input, use own implementation, rebase on master 2017-12-13 03:27:10 +03:00
Rob Garrison
2cdd264780 fixups
Manage: Disable tabindex in nested buttons
Manage: Fix homepage link alignment
Manage: Make entry actions keyboard navigatable
Manage: Add search help accessibility
Msgbox: Save and restore focus
Manage: Fix delete confirmation cancel
Manage: Make history button accessible
Manage: Make favicons dropdown accessible
Manage: Prevent focus on hidden textarea
Msgbox: Stop tabbing outside of msgbox
Usercss: Make nondefault reset accessible
Usercss: Make colorpicker accessible
Edit: Disable tabindex in nested buttons
Edit: Make info and config icons accessible
Options: Cleanup HTML
Options: Make advanced toggle accessible
Edit: Fix issues popup
Edit: Remove link underlines from icons
2017-12-12 21:40:31 +03:00
tophf
1c68ac1a3a initialize editor page fully in First Meaningful Paint frame
* previously it wasn't the case when colorpicker option was enabled
* the cost of always loading colorview is ~1ms for >200ms here
2017-12-08 06:20:56 +03:00
tophf
99cce55a8e ensure long words break before breaking the layout
supersedes 40075a0d
2017-12-07 23:21:27 +03:00
tophf
03b6f6c263 manage: search regexps, add search help, fix favicons toggle icon
* the toggle icon is now a triangle, rotated when open
2017-12-06 09:39:45 +03:00
tophf
1951bc89bb manage: inform when hiding all styles due to active filters 2017-12-04 10:31:28 +03:00
tophf
c0c60fb7a2 add a terse invocation syntax for $element and rename it to $create 2017-12-04 08:57:12 +03:00
tophf
7de3e37a51 show "Style installed" in manager for styles added while it's open 2017-12-02 07:07:12 +03:00