slimndap / wp-theatre

A free plugin to publish your events on a WordPress website. Perfect for theaters, music venues, cinemas and festivals.
https://wp.theater
GNU General Public License v3.0
39 stars 22 forks source link

POC: Transform [wpt_productions] into query-block variation #330

Open carstingaxion opened 7 months ago

carstingaxion commented 7 months ago

From all the Shortcodes, [wpt_productions] seemed to be the best candidate to validate the idea of using block-transforms on the existing shortcodes to migrate into the new era of blocks.

https://github.com/slimndap/wp-theatre/assets/198883/55468ccc-71a9-4259-896d-a42bb6d290e1

Ressources

Steps I did

working, so far

1.

2.

https://github.com/slimndap/wp-theatre/assets/198883/0d236850-50ce-4d55-8524-fef8c95e7180

Next steps

  1. I would go on creating dedicated issues for each shortcode. This should help while developing and documenting the necessary steps, parameters, fields and use-cases.
  2. Create transforms for all existing shortcodes and all its parameters to achieve best compatibility with existing installations

I think, that all of this, could be done independently from our decisions whether to carry out an own event-management solution or not.

carstingaxion commented 7 months ago

Find the working code in figuren-theater/theater-production-blocks at feature/wpt-shortcode-to-query-block, if you want to give it a try @slimndap