eXolnet / eXolnet/glutenblocks

Generalize the block registration and script queuing

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1
Forks
0
Avg merge
6d 22h
Merged PRs (30d)
1

Description

Instead of having a `index.php` file in each block and copy it into a builded php file, we should create manually one registration file and one for script queuing. This would decouple the block setup from the compiling of the blocks.

Contributor guide

Open the contributing guide

Research direction

Start by locating the per-block index.php files and the build step that copies them into compiled PHP files. Trace how block registration and script queuing currently happen, then define the manual registration and queuing files needed to decouple setup from compilation. Done means block setup no longer depends on copied per-block index.php files.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.