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

Development #1841

Merged
merged 249 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
afccadc
feat: add prompt prototype
Soare-Robert-Daniel Jun 12, 2023
1f4f904
Merge branch 'development' into feat/form-gpt
Soare-Robert-Daniel Jun 15, 2023
c7fe27c
feat: add initial demo for Form AI
Soare-Robert-Daniel Jun 15, 2023
a81399a
feat: add AI Block
Soare-Robert-Daniel Jun 20, 2023
6f17a67
chore: replace target block
Soare-Robert-Daniel Jun 21, 2023
6325546
feat: form submissions dashboard
Soare-Robert-Daniel Jun 21, 2023
2364339
chore: phpcs
Soare-Robert-Daniel Jun 22, 2023
edf4f2b
chore: review
Soare-Robert-Daniel Jun 22, 2023
0a9718c
feat: add hidden form field
Soare-Robert-Daniel Jun 22, 2023
b5535ce
chore: add upsell in free
Soare-Robert-Daniel Jun 22, 2023
9c1bde1
chore: update form e2e test with hidden field
Soare-Robert-Daniel Jun 22, 2023
317ea9d
Sync branch [skip ci]
pirate-bot Jun 23, 2023
ad1be75
Uppercase label
HardeepAsrani Jun 23, 2023
e8c386d
chore: review
Soare-Robert-Daniel Jun 23, 2023
f418c9f
chore: field switching for hidden field
Soare-Robert-Daniel Jun 23, 2023
de51b82
chore: tweaks
Soare-Robert-Daniel Jun 23, 2023
d386e53
chore: change prompts format
Soare-Robert-Daniel Jun 23, 2023
32a0e9f
feat: add webhook to form
Soare-Robert-Daniel Jun 28, 2023
48a2bab
feat: add mapped name to form field & webhook improvements
Soare-Robert-Daniel Jun 29, 2023
e39e61d
chore: css cleanup
Soare-Robert-Daniel Jun 29, 2023
73bf170
Merge branch 'development' into feat/form-dashboard
Soare-Robert-Daniel Jun 30, 2023
3dac914
chore: better seperation between free and pro
Soare-Robert-Daniel Jun 30, 2023
fa11e01
chore: title centering
Soare-Robert-Daniel Jun 30, 2023
0f30d27
chore: add block switching & styling
Soare-Robert-Daniel Jun 30, 2023
e69901c
chore: text centering, not layout centering
Soare-Robert-Daniel Jun 30, 2023
03631e9
chore: clean up
Soare-Robert-Daniel Jun 30, 2023
7c3866a
chore: wrong usage & saving of headers
Soare-Robert-Daniel Jun 30, 2023
e551fd3
chore: display error when fields have the same
Soare-Robert-Daniel Jun 30, 2023
abd62a1
chore: add submissions widget ID in URL
Soare-Robert-Daniel Jul 7, 2023
4e7dec0
chore: lint
Soare-Robert-Daniel Jul 7, 2023
f722f39
Merge branch 'development' into feat/form-gpt
Soare-Robert-Daniel Jul 7, 2023
bfa1eb0
chore: design changes
Soare-Robert-Daniel Jul 7, 2023
94fbc40
chore: design changes for field preview
Soare-Robert-Daniel Jul 7, 2023
a9d84b6
Merge pull request #1727 from Codeinwp/feat/form-dashboard
HardeepAsrani Jul 10, 2023
c3f199d
Sync branch [skip ci]
pirate-bot Jul 10, 2023
a6e5ae7
Sync branch [skip ci]
pirate-bot Jul 10, 2023
7592e9e
Sync branch [skip ci]
pirate-bot Jul 10, 2023
82242f1
Sync branch [skip ci]
pirate-bot Jul 10, 2023
1845b03
Sync branch [skip ci]
pirate-bot Jul 10, 2023
315dea9
Sync branch [skip ci]
pirate-bot Jul 10, 2023
4a93daa
Sync branch [skip ci]
pirate-bot Jul 10, 2023
2ecd2fd
Sync branch [skip ci]
pirate-bot Jul 10, 2023
b46450d
Sync branch [skip ci]
pirate-bot Jul 10, 2023
78b6d12
Sync branch [skip ci]
pirate-bot Jul 10, 2023
25807bf
Sync branch [skip ci]
pirate-bot Jul 10, 2023
aa389d4
Sync branch [skip ci]
pirate-bot Jul 10, 2023
8d6c22b
Sync branch [skip ci]
pirate-bot Jul 10, 2023
4dbfa28
Sync branch [skip ci]
pirate-bot Jul 10, 2023
a54e395
Sync branch [skip ci]
pirate-bot Jul 10, 2023
1d7c4d0
Sync branch [skip ci]
pirate-bot Jul 10, 2023
0574318
Merge branch 'development' into feat/form-hidden-field
Soare-Robert-Daniel Jul 10, 2023
567d8cc
chore: free inspector clean-up
Soare-Robert-Daniel Jul 10, 2023
2edfe2d
Merge branch 'development' into form/webhook
Soare-Robert-Daniel Jul 10, 2023
c7a5530
Sync branch [skip ci]
pirate-bot Jul 10, 2023
cdf05cd
Sync branch [skip ci]
pirate-bot Jul 10, 2023
ba97352
Sync branch [skip ci]
pirate-bot Jul 10, 2023
82f8520
chore: add filter for payload
Soare-Robert-Daniel Jul 10, 2023
2a09c0e
Merge remote-tracking branch 'origin/development' into form/webhook
Soare-Robert-Daniel Jul 10, 2023
6846809
chore: webhook delete
Soare-Robert-Daniel Jul 11, 2023
b1ad509
chore: tweaks
Soare-Robert-Daniel Jul 11, 2023
69c2341
chore: add docs links
Soare-Robert-Daniel Jul 11, 2023
c2860ba
chore: add temp server for prompts & display for token usage, error
Soare-Robert-Daniel Jul 11, 2023
3d316dd
chore: regenerate response
Soare-Robert-Daniel Jul 11, 2023
6757796
chore: prompt placeholder
Soare-Robert-Daniel Jul 11, 2023
c2af297
chore: improve design
Soare-Robert-Daniel Jul 12, 2023
d79c17a
chore: inline the payload init
Soare-Robert-Daniel Jul 12, 2023
aebc48a
chore: webhook payload filter name
Soare-Robert-Daniel Jul 12, 2023
7b0baf8
chore: tranform the AI block into Form & various tweaks
Soare-Robert-Daniel Jul 13, 2023
6708581
chore: name change
Soare-Robert-Daniel Jul 13, 2023
be098c2
chore: beta label
Soare-Robert-Daniel Jul 13, 2023
c9d22a5
chore: design tweaks
Soare-Robert-Daniel Jul 13, 2023
bf052ff
Sync branch [skip ci]
pirate-bot Jul 13, 2023
7e5fb6d
Sync branch [skip ci]
pirate-bot Jul 13, 2023
ab61085
feat: add temporary saving for form submissions
Soare-Robert-Daniel Jul 14, 2023
a71c05c
Sync branch [skip ci]
pirate-bot Jul 14, 2023
2412284
chore: hidden field type switch
Soare-Robert-Daniel Jul 17, 2023
90f0828
chore: missing import
Soare-Robert-Daniel Jul 17, 2023
89b6c64
Merge pull request #1730 from Codeinwp/form/webhook
HardeepAsrani Jul 17, 2023
8764575
feat: form submission confirmation workflow
Soare-Robert-Daniel Jul 17, 2023
fe99ed2
chore: wrong name file
Soare-Robert-Daniel Jul 17, 2023
99e5618
chore: remove console.log
Soare-Robert-Daniel Jul 17, 2023
7e4fafc
Merge branch 'next' into feat/form-hidden-field
Soare-Robert-Daniel Jul 17, 2023
b64f478
chore: add prod link
Soare-Robert-Daniel Jul 17, 2023
5517b71
chore: remove default names
Soare-Robert-Daniel Jul 17, 2023
c2dcb4c
Merge branch 'next' into feat/form-gpt
Soare-Robert-Daniel Jul 17, 2023
3ef2c59
chore: confirmation workflow in frontend
Soare-Robert-Daniel Jul 17, 2023
0d0e374
Merge branch 'next' into feat/temp-form-save
Soare-Robert-Daniel Jul 17, 2023
eafaf71
Merge pull request #1713 from Codeinwp/feat/form-gpt
HardeepAsrani Jul 17, 2023
c6e6d0e
chore: add temp save under debug flag
Soare-Robert-Daniel Jul 18, 2023
64fdbb4
chore: confirm only the draft submissions
Soare-Robert-Daniel Jul 18, 2023
77e60c5
Merge pull request #1728 from Codeinwp/feat/form-hidden-field
HardeepAsrani Jul 25, 2023
f1eeac2
chore: add session id workflow
Soare-Robert-Daniel Jul 27, 2023
6621e48
feat: stripe field display
Soare-Robert-Daniel Jul 28, 2023
bdaed79
Sync branch [skip ci]
pirate-bot Aug 1, 2023
1b5a84d
Sync branch [skip ci]
pirate-bot Aug 1, 2023
df44baf
Sync branch [skip ci]
pirate-bot Aug 1, 2023
1ddd12c
chore: create the stripe checkout session & tweaks
Soare-Robert-Daniel Aug 2, 2023
93fe7a4
Merge branch 'next' into feat/form-stripe-field
Soare-Robert-Daniel Aug 2, 2023
4227cac
Merge branch 'next' into feat/temp-form-save
Soare-Robert-Daniel Aug 2, 2023
01c29b5
Merge branch 'feat/form-stripe-field' into feat/form-stripe-complet
Soare-Robert-Daniel Aug 2, 2023
65ade9d
chore: combine temp saving with stripe field
Soare-Robert-Daniel Aug 2, 2023
b5227a6
chore: add automatic confirmation cron
Soare-Robert-Daniel Aug 3, 2023
4643aec
chore: unified save request for Form & Form Fields
Soare-Robert-Daniel Aug 4, 2023
0b92f43
chore: stripe field input width
Soare-Robert-Daniel Aug 4, 2023
566b37e
chore: clean-up & minor tweaks
Soare-Robert-Daniel Aug 7, 2023
88e7cc9
chore: e2e hotfix
Soare-Robert-Daniel Aug 7, 2023
52f9440
feat: add AI content toolbar
Soare-Robert-Daniel Aug 9, 2023
b7077f6
chore: add toolbar to multiple block selection
Soare-Robert-Daniel Aug 9, 2023
da0cd6d
chore: remove unused code chunks
Soare-Robert-Daniel Aug 10, 2023
d9049e1
chore: content generation ai block & toolbar request optimization
Soare-Robert-Daniel Aug 10, 2023
44e4afb
chore: add proxy for content generation and usage in wp options
Soare-Robert-Daniel Aug 10, 2023
899e4c7
chore: add openai timeout request & ai block result padding
Soare-Robert-Daniel Aug 10, 2023
628d3cb
Sync branch [skip ci]
pirate-bot Aug 10, 2023
0db270c
Sync branch [skip ci]
pirate-bot Aug 10, 2023
de94846
Sync branch [skip ci]
pirate-bot Aug 10, 2023
4389b03
Sync branch [skip ci]
pirate-bot Aug 10, 2023
23df204
Sync branch [skip ci]
pirate-bot Aug 10, 2023
467ccb0
Sync branch [skip ci]
pirate-bot Aug 10, 2023
c0c039e
Sync branch [skip ci]
pirate-bot Aug 10, 2023
1885ade
Sync branch [skip ci]
pirate-bot Aug 10, 2023
d813eb4
Sync branch [skip ci]
pirate-bot Aug 10, 2023
854a121
Sync branch [skip ci]
pirate-bot Aug 10, 2023
1e20044
Sync branch [skip ci]
pirate-bot Aug 10, 2023
3894254
chore: code review
Soare-Robert-Daniel Aug 11, 2023
b434e71
chore: fix prompt fetch from server
Soare-Robert-Daniel Aug 11, 2023
3592c9c
chore: phpcs
Soare-Robert-Daniel Aug 11, 2023
5c8f333
chore: decrease the timeout for prompt fetch
Soare-Robert-Daniel Aug 11, 2023
6d48612
chore: clean up the api key usage in editor request for generation & …
Soare-Robert-Daniel Aug 11, 2023
749b39f
Merge branch 'next' into feat/ai-content-toolbar
Soare-Robert-Daniel Aug 11, 2023
014d4d5
chore: use AI Block as buffer
Soare-Robert-Daniel Aug 16, 2023
49f032c
feat: add ai showcase in modal
Soare-Robert-Daniel Aug 16, 2023
1c0c866
chore: clean up
Soare-Robert-Daniel Aug 21, 2023
8ff7eab
chore: prompt name
Soare-Robert-Daniel Aug 21, 2023
3e0e109
chore: input overflow & duplication
Soare-Robert-Daniel Aug 21, 2023
5808e03
chore: missing step
Soare-Robert-Daniel Aug 21, 2023
2d72965
chore: code review
Soare-Robert-Daniel Aug 21, 2023
5d2a477
chore: incorrect order of spinner activation
Soare-Robert-Daniel Aug 21, 2023
6df91ff
feat: revamp inspector for Progress & Circle
Soare-Robert-Daniel Aug 21, 2023
c0ca601
chore: wrong condition for toggle
Soare-Robert-Daniel Aug 21, 2023
7d56700
fix: slider error block creation
Soare-Robert-Daniel Aug 21, 2023
82664de
Sync branch [skip ci]
pirate-bot Aug 21, 2023
a9f100b
Merge branch 'development' into fix/slider-bug
Soare-Robert-Daniel Aug 22, 2023
09be2fd
chore: error handling & clean-up
Soare-Robert-Daniel Aug 22, 2023
2ff1ae6
chore: prevent errors in Inserter Block Preview
Soare-Robert-Daniel Aug 22, 2023
46b83b7
Merge pull request #1818 from Codeinwp/feat/ai-onboarding
HardeepAsrani Aug 23, 2023
3f644da
Sync branch [skip ci]
pirate-bot Aug 23, 2023
6b8d0c0
Sync branch [skip ci]
pirate-bot Aug 23, 2023
9b52b96
Merge branch 'development' into feat/circle-and-progress-style-tab
Soare-Robert-Daniel Aug 23, 2023
4dc10f4
fix: add CSS var conversion to hex for section shadow
Soare-Robert-Daniel Aug 23, 2023
6672445
fix: section/column shadow display for CSS vars
Soare-Robert-Daniel Aug 23, 2023
b8bc734
chore: add tab switch to progress & circle
Soare-Robert-Daniel Aug 23, 2023
7308ec4
fix: color section dropdown alignment selector
Soare-Robert-Daniel Aug 23, 2023
dacb523
Merge branch 'next' into feat/form-stripe-complet
Soare-Robert-Daniel Aug 23, 2023
da58c72
chore: rename php file
Soare-Robert-Daniel Aug 23, 2023
08dd607
chore: add support for subscription payments
Soare-Robert-Daniel Aug 23, 2023
32e950c
fix: regenerate style on theme change
Soare-Robert-Daniel Aug 23, 2023
eec4106
chore: cron job name & stripe redirect
Soare-Robert-Daniel Aug 24, 2023
0d83257
chore: color for form redirect link
Soare-Robert-Daniel Aug 24, 2023
642b743
chore: alignment in Inspector for ButtonDropdownControl
Soare-Robert-Daniel Aug 24, 2023
e2b9c1c
chore: form redirect behaviour
Soare-Robert-Daniel Aug 24, 2023
bc27239
chore: stripe field in common
Soare-Robert-Daniel Aug 24, 2023
c42b33e
Adding requestAnimationFrame() to scroll sniffing for better performa…
rtvenge Aug 24, 2023
8a878de
Update deploy-stagging.yml
HardeepAsrani Aug 25, 2023
388e3b2
chore: delete IDE Fleet settings
Soare-Robert-Daniel Aug 25, 2023
22edc4f
chore: add Fleet in .gitignore
Soare-Robert-Daniel Aug 25, 2023
ae2e5ff
chore: pass condition for shadow opacity
Soare-Robert-Daniel Aug 25, 2023
8e64e5f
chore: remove extra wording in form
Soare-Robert-Daniel Aug 25, 2023
2804f76
Merge branch 'development' into fix/theme-switch
Soare-Robert-Daniel Aug 28, 2023
544881c
chore: add proxy function
Soare-Robert-Daniel Aug 28, 2023
bcc961a
chore: eliminate more extra wording
Soare-Robert-Daniel Aug 28, 2023
31a9972
fix: add cleanup after sorting
Soare-Robert-Daniel Aug 28, 2023
20c16cd
Merge pull request #1832 from Codeinwp/fix/slider-images-inspector
Soare-Robert-Daniel Aug 28, 2023
005676a
Revert "Merge pull request #1832 from Codeinwp/fix/slider-images-insp…
Soare-Robert-Daniel Aug 28, 2023
bdb4477
fix: add cleanup after sorting
Soare-Robert-Daniel Aug 28, 2023
9117d09
Merge branch 'next' into feat/ai-content-toolbar
Soare-Robert-Daniel Aug 28, 2023
c6f5121
chore: add expandable input & hide Regenerate
Soare-Robert-Daniel Aug 28, 2023
9d4f69a
fix: allow saving in FSE for Form Options
Soare-Robert-Daniel Aug 29, 2023
682b641
fix: List ID fetch & improve error handling
Soare-Robert-Daniel Aug 30, 2023
8c3be5e
chore: add e2e for error display on Marketing Integration
Soare-Robert-Daniel Aug 30, 2023
67bd381
chore: remove empty inspector
Soare-Robert-Daniel Aug 30, 2023
c0ffe12
chore: use the production endpoint
Soare-Robert-Daniel Aug 30, 2023
c78424e
chore: change docs links #1830
Soare-Robert-Daniel Aug 30, 2023
d507725
chore: docs link in Editor placeholder #1830
Soare-Robert-Daniel Aug 30, 2023
11a48e1
feat: add docs on mapped & enable on hidden input
Soare-Robert-Daniel Aug 30, 2023
f8d605e
Update src/blocks/blocks/form/common.tsx
HardeepAsrani Aug 30, 2023
de110da
Merge pull request #1833 from Codeinwp/fix/slider-image-sorting
HardeepAsrani Aug 31, 2023
10389ec
Merge pull request #1831 from Codeinwp/fix/form-names
HardeepAsrani Aug 31, 2023
f7394f2
Merge pull request #1819 from Codeinwp/feat/circle-and-progress-style…
HardeepAsrani Aug 31, 2023
997b4f5
Merge pull request #1823 from Codeinwp/fix/slider-bug
HardeepAsrani Aug 31, 2023
d12d6c5
Merge pull request #1828 from rtvenge/fix/scroll-perf
HardeepAsrani Aug 31, 2023
1004e7e
Merge pull request #1827 from Codeinwp/fix/theme-switch
HardeepAsrani Aug 31, 2023
32176c7
Merge pull request #1826 from Codeinwp/fix/section-color-dropdown
HardeepAsrani Aug 31, 2023
c8bd024
Merge pull request #1825 from Codeinwp/fix/section-shadow-opacity
HardeepAsrani Aug 31, 2023
a16411a
chore: use dummy block insertion to unlock post save
Soare-Robert-Daniel Aug 31, 2023
8e51195
Merge branch 'development' into fix/form-saving-fse
Soare-Robert-Daniel Aug 31, 2023
143ab79
chore: add e2e test
Soare-Robert-Daniel Aug 31, 2023
89f423a
chore: simplfy service test
Soare-Robert-Daniel Aug 31, 2023
0d5fc1e
chore: themeisle endpoint
Soare-Robert-Daniel Aug 31, 2023
235d058
Merge pull request #1836 from Codeinwp/fix/form-mailchimp
HardeepAsrani Aug 31, 2023
d551791
Merge branch 'development' into fix/form-saving-fse
Soare-Robert-Daniel Sep 1, 2023
e1d6b21
fix: otter options infinite loading
Soare-Robert-Daniel Sep 1, 2023
0b6f3c2
feat: add new tab option for button link
Soare-Robert-Daniel Sep 1, 2023
1664bc1
chore: e2e test & default behaviour
Soare-Robert-Daniel Sep 1, 2023
bcb38b6
chore(deps-dev): bump @wordpress/element from 5.16.0 to 5.18.0
dependabot[bot] Sep 1, 2023
4ac477f
chore(deps-dev): bump @wordpress/e2e-test-utils-playwright
dependabot[bot] Sep 1, 2023
cab8c40
chore(deps): bump fsevents from 2.3.2 to 2.3.3
dependabot[bot] Sep 1, 2023
fdd0fd1
chore(deps-dev): bump @wordpress/dom-ready from 3.39.0 to 3.41.0
dependabot[bot] Sep 1, 2023
4a5eb3a
chore(deps-dev): bump phpstan/phpstan from 1.10.26 to 1.10.32
dependabot[bot] Sep 1, 2023
fd6e9ae
chore(deps): bump codeinwp/themeisle-sdk from 3.3.1 to 3.3.3
dependabot[bot] Sep 1, 2023
3af254d
Merge pull request #1838 from Codeinwp/feat/mapped-name-docs
HardeepAsrani Sep 2, 2023
01a4e17
Merge pull request #1798 from Codeinwp/feat/form-stripe-complet
HardeepAsrani Sep 2, 2023
7630a71
Merge branch 'next' into feat/ai-content-toolbar
HardeepAsrani Sep 2, 2023
c48f923
Merge pull request #1803 from Codeinwp/feat/ai-content-toolbar
HardeepAsrani Sep 2, 2023
e69314e
Merge pull request #1848 from Codeinwp/dependabot/npm_and_yarn/develo…
HardeepAsrani Sep 2, 2023
47a60d3
Merge pull request #1862 from Codeinwp/dependabot/composer/developmen…
HardeepAsrani Sep 2, 2023
b27ba4d
Merge pull request #1857 from Codeinwp/dependabot/npm_and_yarn/develo…
HardeepAsrani Sep 2, 2023
e0ceb04
Merge pull request #1855 from Codeinwp/dependabot/npm_and_yarn/develo…
HardeepAsrani Sep 2, 2023
c8786d4
Merge pull request #1851 from Codeinwp/dependabot/npm_and_yarn/develo…
HardeepAsrani Sep 2, 2023
5427503
chore(deps-dev): bump @wordpress/components from 25.5.0 to 25.7.0
dependabot[bot] Sep 2, 2023
4dabe71
chore(deps-dev): bump typescript from 5.1.6 to 5.2.2
dependabot[bot] Sep 2, 2023
f851f27
chore(deps): bump stripe/stripe-php from 10.19.0 to 12.1.0
dependabot[bot] Sep 2, 2023
0c283aa
chore(deps): bump @wordpress/icons from 9.30.0 to 9.32.0
dependabot[bot] Sep 2, 2023
45558a1
chore(deps-dev): bump @wordpress/env from 8.4.0 to 8.7.0
dependabot[bot] Sep 2, 2023
c2b2a50
Merge pull request #1849 from Codeinwp/dependabot/npm_and_yarn/develo…
HardeepAsrani Sep 2, 2023
d965457
Merge pull request #1853 from Codeinwp/dependabot/npm_and_yarn/develo…
HardeepAsrani Sep 2, 2023
dd29e68
Merge pull request #1859 from Codeinwp/dependabot/composer/developmen…
HardeepAsrani Sep 2, 2023
db6b702
Merge pull request #1856 from Codeinwp/dependabot/npm_and_yarn/develo…
HardeepAsrani Sep 2, 2023
26f9f8f
Merge pull request #1850 from Codeinwp/dependabot/npm_and_yarn/develo…
HardeepAsrani Sep 2, 2023
458678e
Merge pull request #1860 from Codeinwp/dependabot/composer/developmen…
HardeepAsrani Sep 2, 2023
eee5f0a
chore(deps-dev): bump @wordpress/block-editor from 12.6.0 to 12.9.0
dependabot[bot] Sep 2, 2023
4a41760
Merge pull request #1854 from Codeinwp/dependabot/npm_and_yarn/develo…
HardeepAsrani Sep 2, 2023
e77fe2d
chore: save detection for form in FSE
Soare-Robert-Daniel Sep 11, 2023
aa7b80c
feat: add tracking consent toggle
Soare-Robert-Daniel Sep 11, 2023
16ef2f5
chore: presence of key for prompts fetch
Soare-Robert-Daniel Sep 11, 2023
9649026
fix: add extra condition check for upsell
Soare-Robert-Daniel Sep 12, 2023
6949658
Merge pull request #1845 from Codeinwp/fix/otter-options-loading
HardeepAsrani Sep 12, 2023
b78ff88
Merge pull request #1864 from Codeinwp/feat/consent-tracking
HardeepAsrani Sep 12, 2023
3d002a8
Merge pull request #1846 from Codeinwp/feat/review-link-option
HardeepAsrani Sep 12, 2023
e1fa507
Merge pull request #1834 from Codeinwp/fix/form-saving-fse
HardeepAsrani Sep 12, 2023
7e6c793
Merge 'development' into 'next'.
Soare-Robert-Daniel Sep 12, 2023
afd2ede
Merge pull request #1865 from Codeinwp/fix/upsell-notice
HardeepAsrani Sep 13, 2023
310d548
Sync branch [skip ci]
pirate-bot Sep 13, 2023
7ce9329
chore: disable prompt usage tracking
Soare-Robert-Daniel Sep 15, 2023
b7a5239
chore: small e2e config change
Soare-Robert-Daniel Sep 18, 2023
a08cc1a
chore: try an older wp version for e2e
Soare-Robert-Daniel Sep 18, 2023
42e37de
chore: disable wp_debug on tests env
Soare-Robert-Daniel Sep 18, 2023
4b720fb
chore: improve prompt filtering
Soare-Robert-Daniel Sep 18, 2023
e2d7306
chore: explicit bool string for prompt fetching
Soare-Robert-Daniel Sep 18, 2023
3f486b1
Merge pull request #1754 from Codeinwp/next
HardeepAsrani Sep 18, 2023
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
1 change: 1 addition & 0 deletions .github/workflows/deploy-stagging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Codeinwp' }} # Disable on forks
env:
SSH_USERNAME: ${{ secrets.SSH_USERNAME }}
SSH_KEY: ${{ secrets.SSH_KEY }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ todo.md
artifacts
*.results.json
trace.json
license.json
license.json
.fleet
21 changes: 11 additions & 10 deletions .wp-env.override.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@
"config": {
"WP_DEBUG": true,
"WP_DEBUG_DISPLAY": true,
"FS_METHOD": "direct"
"FS_METHOD": "direct",
"WP_DEFAULT_THEME": "twentytwentythree"
},
"env": {
"development": {
"themes": [
"./one-theme"
]
},
"tests": {
"config": {
"WP_DEBUG": false,
"WP_DEBUG_DISPLAY": false
},
"plugins": [
"."
],
"mappings": {
"wp-content/mu-plugins": "./node_modules/@wordpress/e2e-tests/mu-plugins",
"wp-content/plugins/gutenberg-test-plugins": "./node_modules/@wordpress/e2e-tests/plugins"
}
"wp-content/mu-plugins": "./node_modules/@wordpress/e2e-tests/mu-plugins",
"wp-content/plugins/gutenberg-test-plugins": "./node_modules/@wordpress/e2e-tests/plugins",
"wp-content/themes/gutenberg-test-themes/twentytwentythree": "https://downloads.wordpress.org/theme/twentytwentythree.1.0.zip"
}
}
}
}
}
Binary file added assets/images/guide/welcome-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions blocks.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@
"form-file": {
"block": "blocks/blocks/form/file/block.json"
},
"form-hidden-field": {
"block": "blocks/blocks/form/hidden-field/block.json"
},
"form-stripe-field": {
"block": "blocks/blocks/form/stripe-field/block.json"
},
"google-map": {
"block": "blocks/blocks/google-map/block.json",
"assets": {
Expand Down Expand Up @@ -272,5 +278,8 @@
"product-upsells": {
"isPro": true,
"block": "pro/woocommerce/upsells/block.json"
},
"content-generator": {
"block": "blocks/blocks/content-generator/block.json"
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
"tubalmartin/cssmin": "^4.1",
"wptt/webfont-loader": "^1.1",
"sabberworm/php-css-parser": "^8.4",
"stripe/stripe-php": "^10.4"
"stripe/stripe-php": "^12.1"
}
}
36 changes: 18 additions & 18 deletions composer.lock

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

1 change: 1 addition & 0 deletions inc/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public function autoload_classes() {
'\ThemeIsle\GutenbergBlocks\Integration\Form_Providers',
'\ThemeIsle\GutenbergBlocks\Integration\Form_Email',
'\ThemeIsle\GutenbergBlocks\Server\Form_Server',
'\ThemeIsle\GutenbergBlocks\Server\Prompt_Server',
);

$classnames = apply_filters( 'otter_blocks_autoloader', $classnames );
Expand Down
9 changes: 9 additions & 0 deletions inc/class-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ public static function should_show_upsell() {
* @access public
*/
public function should_show_dashboard_upsell() {
if ( defined( 'OTTER_PRO_VERSION' ) ) {
return;
}

$show_upsell = false;

$installed = get_option( 'otter_blocks_install' );
Expand Down Expand Up @@ -398,6 +402,11 @@ public function reset_dashboard_notice() {
* @access public
*/
public function add_pro_link( $links ) {

if ( defined( 'OTTER_PRO_VERSION' ) ) {
return $links;
}

$links[] = sprintf(
'<a href="%s" target="_blank" style="color:#ed6f57;font-weight:bold;">%s</a>',
esc_url_raw( tsdk_utmify( self::get_url(), 'pluginspage', 'action' ) ),
Expand Down
21 changes: 11 additions & 10 deletions inc/class-registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,16 +498,17 @@ function() {
'root' => esc_url_raw( rest_url() ),
'nonce' => wp_create_nonce( 'wp_rest' ),
'messages' => array(
'submission' => __( 'Form submission from', 'otter-blocks' ),
'captcha-not-loaded' => __( 'Captcha is not loaded. Please check your browser plugins to allow the Google reCaptcha.', 'otter-blocks' ),
'check-captcha' => __( 'Please check the captcha.', 'otter-blocks' ),
'invalid-email' => __( 'The email address is invalid!', 'otter-blocks' ),
'already-registered' => __( 'The email was already registered!', 'otter-blocks' ),
'try-again' => __( 'Error. Something is wrong with the server! Try again later.', 'otter-blocks' ),
'privacy' => __( 'I have read and agreed the privacy statement.', 'otter-blocks' ),
'too-many-files' => __( 'Too many files loaded. Maximum is: ', 'otter-blocks' ),
'big-file' => __( 'File size is to big. The limit is: ', 'otter-blocks' ),
'invalid-file' => __( 'Invalid files type. The submitted files could not be processed.', 'otter-blocks' ),
'submission' => __( 'Form submission from', 'otter-blocks' ),
'captcha-not-loaded' => __( 'Captcha is not loaded. Please check your browser plugins to allow the Google reCaptcha.', 'otter-blocks' ),
'check-captcha' => __( 'Please check the captcha.', 'otter-blocks' ),
'invalid-email' => __( 'The email address is invalid!', 'otter-blocks' ),
'already-registered' => __( 'The email was already registered!', 'otter-blocks' ),
'try-again' => __( 'Error. Something is wrong with the server! Try again later.', 'otter-blocks' ),
'privacy' => __( 'I have read and agreed the privacy statement.', 'otter-blocks' ),
'too-many-files' => __( 'Too many files loaded. Maximum is: ', 'otter-blocks' ),
'big-file' => __( 'File size is to big. The limit is: ', 'otter-blocks' ),
'invalid-file' => __( 'Invalid files type. The submitted files could not be processed.', 'otter-blocks' ),
'confirmingSubmission' => __( 'Confirming submission', 'otter-blocks' ),
),
)
);
Expand Down
8 changes: 8 additions & 0 deletions inc/css/blocks/class-shared-css.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,14 @@ public static function section_shared() {
'value' => 'boxShadowColor',
'default' => '#000',
'format' => function( $value, $attrs ) {
if ( ! isset( $attrs['boxShadowColorOpacity'] ) ) {
return $value;
}

if ( 100 === $attrs['boxShadowColorOpacity'] ) {
return $value;
}

$opacity = ( isset( $attrs['boxShadowColorOpacity'] ) ? $attrs['boxShadowColorOpacity'] : 50 ) / 100;
return Base_CSS::hex2rgba( $value, $opacity );
},
Expand Down
Loading
Loading