Chris Blakley

Results 109 issues of Chris Blakley

Consider using a single array of options for Customizer stuff rather than individual options. I think the syntax for this would be similar to what we use for Nebula Options.

WP Admin / Shortcode / Widget
Backend (Server)

Looks like the async Cookie Store API is available in Chrome 87, so once it spreads to the other browsers we can replace Nebula's cookie functions with this API. Some...

Frontend (Script)

Browsers are beginning to implement an option that lets users "prefer" less data usage. Nebula can check this in a few places, but the first that comes to mind is...

Frontend (Style)
Backend (Server)
Frontend (Script)

https://caniuse.com/broadcastchannel This can be used to trigger an event on the current and other windows. Currently I think the only thing Nebula uses this for is syncing in-progress contact forms...

Frontend (Script)

Documentation here: https://developer.mozilla.org/en-US/docs/Web/API/Cache https://web.dev/cache-api-quick-guide/ Describes that the Cache API which originated for use with service workers can be used outside of that. See if that's something Nebula can utilize for...

:thought_balloon: Question / Research
Plugin / Library / API
Frontend (Script)

As described here: https://web.dev/idle-detection/ This currently requires ~~notification~~ a dedicated idle detection permission. ~~I think how Nebula should handle this is if we already have notification permission we can use...

:thought_balloon: Question / Research
Frontend (Script)

Sass is discouraging the continued use of `@import` in favor of `@use`. https://sass-lang.com/documentation/at-rules/import ![Screen Shot 2020-06-29 at 12 01 13 AM](https://user-images.githubusercontent.com/6349678/85971660-c4243c80-b99b-11ea-93fb-83e60f54afd2.png) This is part of the Sass module system: https://sass-lang.com/blog/the-module-system-is-launched...

Plugin / Library / API
Frontend (Style)

Starter Content is good for theme previews and the Customizer. It can be added with the `add_theme_support()` function. Misc references and examples: https://make.wordpress.org/core/2016/11/30/starter-content-for-themes-in-4-7/ https://developer.wordpress.org/reference/functions/add_theme_support/ https://developer.wordpress.org/reference/functions/get_theme_starter_content/ https://github.com/xwp/wordpress-develop/blob/master/src/wp-content/themes/twentyseventeen/functions.php#L117 ```php add_theme_support( 'starter-content', array(...

Backend (Server)

Once Trusted Types is better supported across major browsers consider requiring it in Nebula. https://caniuse.com/#feat=trusted-types https://web.dev/trusted-types/ This will require changes to headers and within JavaScript for DOM manipulation. Nebula may...

Backend (Server)
Frontend (Script)

Currently the Dashboard metabox lists `Latest Commits` and `Recently Updated Issues`. I'm thinking the right column could combine as `Recent Issues and Discussions`. Maybe an option to choose? But I...

WP Admin / Shortcode / Widget
Plugin / Library / API
Backend (Server)