Giter Site home page Giter Site logo

yonkov / custom-welcome-guide Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 1.32 MB

Customize the Welcome Guide message that pops up when the user opens up the Block editor for the first time.

Home Page: https://wordpress.org/plugins/custom-welcome-guide/

PHP 39.95% JavaScript 54.40% SCSS 5.46% CSS 0.20%

custom-welcome-guide's People

Contributors

vlastimirs avatar yonkov avatar

Watchers

 avatar  avatar

Forkers

vladolaru

custom-welcome-guide's Issues

Replace default Welcome Guide Popup with a Custom one

By selecting a "featured" tour from the plugin's settings page, users should override the default Welcome Guide modal that pops up in the Gutenberg Editor.

Acceptance criteria: The featured tour should pop up when you open the editor for the first time

Useful links:

  1. WordPress/gutenberg#19512
  2. https://wordpress.org/plugins/disable-welcome-messages-and-tips/
  3. Building custom Welcome modal in Wordpress: https://css-tricks.com/adding-a-custom-welcome-guide-to-the-wordpress-block-editor/

Thoroughly Test The Plugin

Testing criteria:

  • test with different wp versions
  • test without guides
  • test with different content when creating a Guide.
  • try creating only one guide without subguides
  • try creating only one guide with many subguides
  • try creating many guides without subguides
  • try creating many guides with many subguides
  • try creating guides with featured images
  • try adding malicious js to the content of the guide
  • check documentation and update if necessary

Success criteria:

  • everything works as expected
  • no php notices when wp_debug set to true
  • no js notices and errors

Plugin does not work when the Classic Editor Plugin is enabled

Problem: The plugin is currently not compatible with the classic WordPress editor. A possible workaround would be to display a notice for users who are still using the Classic Editor to switch to the Gutenberg Editor in order to use the plugin.

** Useful links:**

  1. https://www.wpbeginner.com/wp-tutorials/how-to-add-admin-notices-in-wordpress/
  2. WordPress/gutenberg#12200

Success criteria: A dismissable php notice on top of the post editor would suffice.

Create a Loading Component

When the posts are fetched, for a brief period of time, they are undefined. Maybe we can add a spinner to indicate that data has been loaded, for a better user experience.

Priority: low

Create Custom Plugin Settings Page using React

Add options to the plugin settings page:

  1. show welcome guides in Posts (checkbox enabled by default)
  2. show welcome guides in Pages (checkbox enabled by default)
  3. show welcome guides in Custom Post Types (checkbox disabled by default)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.