Coder Social home page Coder Social logo

inclind_gutenberg_blocks's People

Contributors

gcalex5 avatar nickkhomich avatar onatalushko avatar shauntyndall avatar volodymyr-s avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

weikai

inclind_gutenberg_blocks's Issues

Evaluate Potential Issue With Aggregation

While working on the updates I noticed that with AdvAgg and Aggregated JS files it was failing to find the Drupal global variable. We should investigate this and ensure that with the default settings of AdvAgg and aggregated JS/CSS files enabled that the custom blocks load without issue.

Components improvements

Button

  • Change blue and yellow to primary and secondary
  • Icon settings are not working
  • Remove or make optional arrow when the transparent background is chosen

Call to Action

  • Fix layout (Place button inside col-12 wrapper)

Importing SCSS files in JS causes the compiler to fail.

In some instances, WP Gutenberg blocks will import SCSS files inside of JS files. This causes the compilation process to fail. We should investigate what's causing this and see if this can be resolved.

It looks like the babel step passes and then browserify fails:

  • Successfully compiled 5 files with Babel.
  • Error: Cannot find module './styles/style.scss'

Admin UI variables

Have the ability to change variables and set them to Guttenberg for a specific project.

  • Add Drupal UI to set default variables in the admin form (colors, background, size);
  • Ability to export through configs.

Document custom blocks

Create a Wiki page within this repository for each custom Gutenberg block defined by this module. The objective is to have an index of blocks we can review during the design process to determine which blocks would be useful and confirm the functionality (i.e. variables) fit with requirements.

Each page should present:

  • Screenshots demonstrating the block
  • Screenshots of the administrative interface.
  • Instructions for customization (if any).

Determine Further Conversions

We should determine what the next steps for this module are as far as conversion of WordPress Gutenberg blocks goes.

So far we have converted the dropcap block from Atomic Blocks. There are several other blocks available there that we could proceed with.

Additional options:

Deprecated Functions

The custom blocks are using deprecated functions. These should be updated to the suggestions in the Chrome console.
Screen Shot 2019-09-04 at 1 35 26 PM

Exclude dist directory

We should determine if we want to implement a build process for the module. If so, we will likely want to exclude the dist directory and have the build process push that in.

Styling

When copying the blocks over from one of our recent projects it appears that there is no default styling included with the blocks on the front-end. Both the front-end and the back-end could use some basic stying attached to them to have a reasonable default starting display for each block type.

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.