impress-org / give-divi Goto Github PK
View Code? Open in Web Editor NEWGiveWP add-on for integrating with the Divi Builder
License: GNU General Public License v3.0
GiveWP add-on for integrating with the Divi Builder
License: GNU General Public License v3.0
As a developer, I want that the Give Divi Add-on code is tested.
It's not always easy to test the code we write with all the options and different input parameters, that's why we have to write automated tests that will do that for us. This will help us to easily test all possible scenarios and give us confidence that the code we wrote is solid and less prone to bugs.
We will use the PHPUnit test library to test our code.
With the Give Divi add-on installed, I'm getting a PHP Notice in the plugins table that breaks the table layout.
// Truncated for brevity
function give_show_update_notification_on_single_site() {
...
$plugin_data = Give_License::get_plugin_by_slug( $plugin['slug'] );
// Only show notices for Give add-ons
if (
'add-on' !== $plugin_data['Type']
|| $plugin_data['License']
) {
return;
}
...
}
Donor Register Form shortcode should be implemented as a Divi module.
Donor Register Form shortcode preview
[give_register redirect="bool"]
Subscriptions Table shortcode functionality of the Give Recurring add-on should be implemented as a Divi module.
Subscriptions Table shortcode preview.
[give_subscriptions show_status="bool" show_renewal_date="bool" show_progress="bool" show_start_date="bool" show_end_date="bool" subscriptions_per_page="int" pagination_type="string"]
The Multi-form Goal shortcode should be implemented as a Divi module.
"it's showing an error about the "Divi builder", but I have the Divi Theme active which includes the Divi Builder already"
"I think this wasn't tested with the Divi Theme, only the Divi Builder. I can't insert a form module at all."
Either the Divi Builder or a Divi Theme should be supported.
To reduce the need to edit this file when adding new modules, could we lsomething everage Modules::getModules()
but for routes? That would mean that new modules only need to be registered in one place.
Originally posted by @kjohnson in #5 (comment)
Hi
Does this is a WP Plugin? but it has no structure about of a WP Plugin.
How can I use this repository? I have DIVI.
Regards
As a site admin, I want the Donation Receipt module to work regardless of the site is using pretty URLs or not.
Currently, the Donation Receipt module only works if the pretty URLs are enabled.
The donation Receipt module should work regardless if the site is using pretty URLs or not.
Donation History shortcode functionality should be implemented as a Divi module.
Donation History shortcode preview
[donation_history id="bool" date="bool" donor="bool" amount="bool" status="bool" payment_method="bool"]
As a developer, I would like to have a multi-select dropdown field as a custom field option when building Divi modules.
There are some situations where this field would be useful, situations where we have to enter multiple values separated by a comma. This is not always ideal and can lead to errors. As we already have the benefit of visual UI, adding this custom field option will have a positive impact on the user experience.
Automated tests should be scaffolded to run WP Unit tests.
Donation Form Goal shortcode functionality should be implemented as a Divi module.
Donation Form Goal shortcode preview
[give_goal id="int" show_text="bool" show_bar="bool"]
Divi builder requires that all modules are using React class components in order to display them inside the builder.
The issue I'm facing with this approach is that integrating the markup generated from the shortcodes can be utterly complex and almost impossible to render without having some kind of visual style issues. Another problem is that some of the generated markups, like the Donation form, is heavily using JavaScript in order to display all elements correctly which may also cause all sort of problems when rendering the component.
I'll need some time for research on this topic and see what our options are. Right of the bat, there are a few of them.
1. Use image placeholders instead of rendering the markup.
Easy to implement, but defies the purpose of the visual builder
2. Make use of already built GiveWP Gutenberg blocks
I'm not sure can it be done in a simple and easy way. If yes, then all this should be a part of the core.
3. Fields API*
My understanding of the FIelds API is that it will be handy in situations like this. We will still have to build the markup from the data inside the component, but that would be an easy thing to do.
Form Grid shortcode functionality should be implemented as a Divi module.
Form Grid shortcode preview
[give_form_grid forms_per_page="int" ids="string" exclude="string" orderby="string" order="string" cats="string" tags="string" columns="string" show_title="bool" show_goal="bool" show_excerpt="bool" show_featured_image="bool" image_size="string" image_height="string" excerpt_length="int" display_style="string" status="string"]
Donation Receipt shortcode should be implemented as a Divi module.
Donation Receipt shortcode preview
[give_receipt error="string" price="bool" donor="bool" date="bool" payment_method="bool" payment_id="bool" payment_status="bool" company_name="bool" status_notice="bool"]
As a developer, I want that Divi add-on is scaffolded so that I can start working on it.
Donor Login Form shortcode should be implemented as a Divi module.
Donor Login Form shortcode preview
[give_login redirect="bool" login-redirect="string" logout-redirect="string"]
As an admin, I'd like the Divi modules settings to work so that I can use the Divi modules instead of the standard shortcode
All of the above settings should work as expected.
Form grid images
Add a form grid module, see the images, save and then visit the live URL. Images won't display
Form Lists options
Make sure to have many forms in your install maybe 20 or so and then try to select 1 of them that doesn't show on the initial form list display
Excerpt sizing
Attempt to manually adjust the sizes with the arrows or direct input rather than the slider setting.
As a site admin, I want the Give Divi plugin to work as expected. Currently, nothing works.
Give Divi plugin should work as expected.
As a developer, I want that Divi add-on is scaffolded so that I can start working on it.
Totals shortcode should be implemented as a Divi module.
Profile Editor shortcode preview
[give_totalt total_goal="int" ids="int" cats="int" tags="int" message="string" link="string" link_text="string" progress_bar="bool"]
Profile Editor shortcode should be implemented as a Divi module.
Profile Editor shortcode preview
[give_profile_editor]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.