@@ -9,90 +9,90 @@ import NewYear from '../resource/img/NewYear.png'
99import bitsFetch from '../Utils/bitsFetch'
1010import { __ , sprintf } from '../Utils/i18nwrap'
1111
12+ // const source = !btcbi.isPro ? 'bit-integrations' : 'bit-integrations-pro'
13+ // const dealURL = `https://bitapps.pro/new-year-deal/#bit-integrations-pricing`
14+ const releaseDate = '27th April 2025'
15+
16+ // Changelog items format [{ 'label': '', 'desc': '', 'isPro': true }]
17+ const changeLog = [
18+ {
19+ label : __ ( 'Note' , 'bit-integrations' ) ,
20+ headClass : 'new-note' ,
21+ itemClass : '' ,
22+ items : [ ]
23+ } ,
24+ {
25+ label : __ ( 'New Actions' , 'bit-integrations' ) ,
26+ headClass : 'new-integration' ,
27+ itemClass : 'integration-list' ,
28+ items : [ ]
29+ } ,
30+ {
31+ label : __ ( 'New Triggers' , 'bit-integrations' ) ,
32+ headClass : 'new-trigger' ,
33+ itemClass : 'integration-list' ,
34+ items : [ ]
35+ } ,
36+ {
37+ label : __ ( 'New Features' , 'bit-integrations' ) ,
38+ headClass : 'new-feature' ,
39+ itemClass : 'feature-list' ,
40+ items : [
41+ {
42+ label : 'Omnisend' ,
43+ desc : 'Added support for custom properties.' ,
44+ isPro : true
45+ }
46+ ]
47+ } ,
48+ {
49+ label : __ ( 'Improvements' , 'bit-integrations' ) ,
50+ headClass : 'new-improvement' ,
51+ itemClass : 'feature-list' ,
52+ items : [
53+ {
54+ label : 'FluentSMTP' ,
55+ desc : 'Added email failed alternative hook.' ,
56+ isPro : true
57+ } ,
58+ {
59+ label : 'Bento' ,
60+ desc : 'Improved utilities tags explode functionality.' ,
61+ isPro : true
62+ }
63+ ]
64+ } ,
65+ {
66+ label : __ ( 'Bug Fixes' , 'bit-integrations' ) ,
67+ headClass : 'fixes' ,
68+ itemClass : 'fixes-list' ,
69+ items : [
70+ {
71+ label : 'PerfexCRM' ,
72+ desc : 'Fixed issue with custom field # tags.' ,
73+ isPro : false
74+ } ,
75+ {
76+ label : 'WooCommerce (Trigger)' ,
77+ desc : 'Resolved Unicode escape issue in Product Name.' ,
78+ isPro : false
79+ } ,
80+ {
81+ label : 'SureFeedBack' ,
82+ desc : 'Fixed comment resolved hook issue.' ,
83+ isPro : true
84+ }
85+ ]
86+ }
87+ ]
88+
1289export default function ChangelogToggle ( ) {
1390 const [ btcbi , setBtcbi ] = useRecoilState ( $btcbi )
1491 const [ show , setShow ] = useState ( btcbi . changelogVersion !== btcbi . version )
1592 const [ showAnalyticsOptin , setShowAnalyticsOptin ] = useState ( false )
1693 const [ loading , setLoading ] = useState ( '' )
1794 const [ step , setStep ] = useState ( 2 )
1895
19- // const source = !btcbi.isPro ? 'bit-integrations' : 'bit-integrations-pro'
20- // const dealURL = `https://bitapps.pro/new-year-deal/#bit-integrations-pricing`
21- const releaseDate = '27th April 2025'
22-
23- // Changelog items format [{ 'label': '', 'desc': '', 'isPro': true }]
24- const changeLog = [
25- {
26- label : __ ( 'Note' , 'bit-integrations' ) ,
27- headClass : 'new-note' ,
28- itemClass : '' ,
29- items : [ ]
30- } ,
31- {
32- label : __ ( 'New Actions' , 'bit-integrations' ) ,
33- headClass : 'new-integration' ,
34- itemClass : 'integration-list' ,
35- items : [ ]
36- } ,
37- {
38- label : __ ( 'New Triggers' , 'bit-integrations' ) ,
39- headClass : 'new-trigger' ,
40- itemClass : 'integration-list' ,
41- items : [ ]
42- } ,
43- {
44- label : __ ( 'New Features' , 'bit-integrations' ) ,
45- headClass : 'new-feature' ,
46- itemClass : 'feature-list' ,
47- items : [
48- {
49- label : 'Omnisend' ,
50- desc : 'Added support for custom properties.' ,
51- isPro : true
52- }
53- ]
54- } ,
55- {
56- label : __ ( 'Improvements' , 'bit-integrations' ) ,
57- headClass : 'new-improvement' ,
58- itemClass : 'feature-list' ,
59- items : [
60- {
61- label : 'FluentSMTP' ,
62- desc : 'Added email failed alternative hook.' ,
63- isPro : true
64- } ,
65- {
66- label : 'Bento' ,
67- desc : 'Improved utilities tags explode functionality.' ,
68- isPro : true
69- }
70- ]
71- } ,
72- {
73- label : __ ( 'Bug Fixes' , 'bit-integrations' ) ,
74- headClass : 'fixes' ,
75- itemClass : 'fixes-list' ,
76- items : [
77- {
78- label : 'PerfexCRM' ,
79- desc : 'Fixed issue with custom field # tags.' ,
80- isPro : false
81- } ,
82- {
83- label : 'WooCommerce (Trigger)' ,
84- desc : 'Resolved Unicode escape issue in Product Name.' ,
85- isPro : false
86- } ,
87- {
88- label : 'SureFeedBack' ,
89- desc : 'Fixed comment resolved hook issue.' ,
90- isPro : true
91- }
92- ]
93- }
94- ]
95-
9696 const setChangeLogVersion = val => {
9797 setShow ( val )
9898 if ( ! val ) {
0 commit comments