Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Feature / Call To Actions #906

Open
wants to merge 94 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
4c646c8
Update eslint settings to handle formatting
danieliser Nov 17, 2020
b2dc9d6
Add cta collector class
danieliser Nov 18, 2020
b667ec6
Add base abstract & interface classes
danieliser Nov 18, 2020
26dbc11
Initial commit of the link CTA
danieliser Nov 18, 2020
bb42ecb
Add phpcs & prettier rules
danieliser Nov 18, 2020
dcf0cd3
Update @wordpress/scripts to latest
danieliser Nov 18, 2020
46ee679
Add as_array export method for ctas
danieliser Nov 18, 2020
50bd16a
Add to_array method for collector
danieliser Nov 18, 2020
d80771b
Correct typo `to_array` should be `as_array`
danieliser Nov 18, 2020
45d30bb
Add new labels to shortcode ui
danieliser Nov 18, 2020
8bec534
Add base fields method to handle defaults
danieliser Nov 18, 2020
46193cf
Initial pass at shortcode for ctas
danieliser Nov 18, 2020
bcbf121
Add select list getter
danieliser Nov 18, 2020
55e742b
Simplify field declarations
danieliser Nov 19, 2020
5548077
Fix typo
danieliser Nov 19, 2020
da52ea0
Get method now uses get_all properly
danieliser Nov 19, 2020
96c55b0
Fix mismatched declaration
danieliser Nov 19, 2020
b1c7925
Register the new cta shortcode
danieliser Nov 19, 2020
f3ba462
Update @wordpress/base-styles
danieliser Nov 21, 2020
f3ff993
Add initial CTA block
danieliser Nov 21, 2020
ac41083
Downgrade package to fix issue
danieliser Nov 21, 2020
5cabfdc
Update a few packages
danieliser Nov 21, 2020
9f703fc
Comment out unused & broken code
danieliser Nov 21, 2020
d5a2007
Update php heading comments
danieliser Nov 21, 2020
ac12dc7
Add helper function for tracking conversions
danieliser Nov 21, 2020
85e77d0
Change attribute names
danieliser Nov 24, 2020
8f44bea
Correct typo in array key
danieliser Nov 24, 2020
3470037
Added several shortcode utilities
danieliser Nov 24, 2020
381497f
Deprecate duplicate methods and repoint them
danieliser Nov 24, 2020
9e6b6b0
Fix code styles
danieliser Nov 24, 2020
d79fe75
Add initial class to handle call to actions
danieliser Nov 24, 2020
7649f82
Commented out uneeded method
danieliser Dec 1, 2020
6f8df54
Add proper docblock
danieliser Dec 1, 2020
9928094
Update package lock
danieliser Dec 4, 2020
8cc8852
Pass ctas to block editor vars
danieliser Dec 4, 2020
3217cec
Fix coding standards
danieliser Dec 4, 2020
785ca6f
Add new filter for block editor vars
danieliser Dec 4, 2020
aaaec07
Add utility function for finding blocks in content
danieliser Dec 30, 2020
bd54990
Enqueue block styles
danieliser Dec 30, 2020
0f0dae4
Add localized var to detect WP 5.6+ is installed
danieliser Dec 30, 2020
7900f6a
Update method signature
danieliser Dec 30, 2020
0886eeb
Update cta listener for blocks
danieliser Dec 30, 2020
65c74cf
Fix lint issues with wp built ins
danieliser Dec 30, 2020
9d8b8a5
Add webpack watcher & block styles entry
danieliser Dec 30, 2020
97d07d9
Finally a working cta button block starting point
danieliser Dec 31, 2020
6753b14
Setup entry for block styles in webpack
danieliser Dec 31, 2020
ae7b5a4
Update eslint config
danieliser Dec 31, 2020
7005261
Update packages and add nanoid
danieliser Dec 31, 2020
1888cac
Update node & node-sass
danieliser Jan 7, 2021
f2d5a0b
Update lock files
danieliser Jan 7, 2021
03be240
Merge remote-tracking branch 'origin/develop' into feature/848-ctas
danieliser Jan 7, 2021
822df93
Change target, type & text fields to match block
danieliser Jan 8, 2021
1a29efd
Added type field
danieliser Jan 8, 2021
24c002a
Unify uuid functions between block and shortcode
danieliser Jan 8, 2021
2ad677d
Updated labels & style fields to match blocks
danieliser Jan 8, 2021
ab7e823
Update custom render as property
danieliser Jan 8, 2021
50770e0
Remove usage of `action`
danieliser Jan 8, 2021
102dfad
Remove extra classes field for now
danieliser Jan 8, 2021
3cb525c
Get CTA output synced
danieliser Jan 8, 2021
84e92aa
Correct typo
danieliser Feb 7, 2021
ef4c274
Update labels and classes for shortcode
danieliser Feb 7, 2021
1c6e069
Add custom classes to block wrapper
danieliser Feb 7, 2021
8b2c7e6
Add callToActions to export list
danieliser Feb 7, 2021
17658c9
Add select field for CTA type
danieliser Feb 7, 2021
9c9e11e
Fix default attribute values
danieliser Feb 8, 2021
0aee9ec
Remove unneeded code for uuid generation
danieliser Feb 8, 2021
626d466
Fix watcher to track json files
danieliser Feb 8, 2021
4e329ac
Add prettier config to package.json
danieliser Feb 8, 2021
1af990c
Update code styles
danieliser Feb 8, 2021
85c092f
Change callToActions to an array
danieliser Feb 8, 2021
9205377
Add new utility for getting field defaults
danieliser Feb 8, 2021
9dffc17
Add initial variation implementation
danieliser Feb 8, 2021
50da3ce
Add support for customizable block variations
danieliser Feb 8, 2021
b27be36
Add CTAs to ignore list for popup trigger field
danieliser Feb 8, 2021
c9c464a
Add initial field mapping from PHP to React
danieliser Feb 12, 2021
0948526
Add attributes for cta fields so they save properly
danieliser Feb 12, 2021
cc2a708
Update text & text-domain
danieliser Jun 19, 2021
24f4046
Allow passing a style class to cta shortcode
danieliser Jun 19, 2021
9891f6d
Add prettier config
danieliser Jun 19, 2021
825f09e
Export CTA list
danieliser Jun 19, 2021
aa2b421
Add CTA Type selector
danieliser Jun 19, 2021
875e721
Clean up block classes
danieliser Jun 19, 2021
2492899
Update dist assets
danieliser Jun 19, 2021
478b839
Merge branch 'feature/848-ctas' of github.com:PopupMaker/Popup-Maker …
danieliser Jun 19, 2021
b08bdf1
Merge branch 'develop' into feature/848-ctas
danieliser Apr 3, 2024
85015e9
Fix variable errors
danieliser Apr 12, 2024
522e3a1
Fix formatting
danieliser Apr 12, 2024
41ce3c6
Add backup of old block
danieliser Apr 12, 2024
f5063b4
Update build assets
danieliser Apr 12, 2024
68d4f53
Update packages and nvm file
danieliser Apr 12, 2024
7d89bee
Try new block attributes
danieliser Apr 12, 2024
5de8a0e
Attempt to use new block features
danieliser Apr 12, 2024
85e0994
Merge branch 'master' into feature/848-ctas
danieliser Apr 12, 2024
5fdc83b
Register custom post type for PUM CTA
danieliser Aug 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ const eslintConfig = {
],
plugins: [ 'standard', 'import', 'promise' ],
globals: {
_: 'readonly',
wp: 'readonly',
pum_admin_vars: 'readonly',
pum_site_vars: 'readonly',
pum_vars: 'readonly',
pum_site_vars: 'readonly',
pum_admin_vars: 'readonly',
pum_block_editor_vars: 'readonly',
},
env: {
browser: true,
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13
14
4 changes: 4 additions & 0 deletions assets/css/pum-site-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/pum-site-rtl.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/pum-site-rtl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions assets/css/pum-site.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/pum-site.css.map

Large diffs are not rendered by default.

Loading