Skip to content

Commit f9eec1b

Browse files
release(minor): Version 9.3
- Bluesky Network Integration [PRO] - Post Sharing Controls in the Block Editor - Fixed Issue with X (Twitter) Not Sharing Posts with Images
2 parents 54738b5 + 5372828 commit f9eec1b

49 files changed

Lines changed: 5454 additions & 2461 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ composer.lock
2323
key.enc
2424
package-lock.json
2525
vue
26+
/src
2627
.github
2728
.vscode
2829
.wordpress-org

.eslintrc.js

Lines changed: 67 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,71 @@ module.exports = {
44
browser: true,
55
node: true,
66
},
7-
extends: ['plugin:vue/recommended'],
8-
// required to lint *.vue files
9-
plugins: ['vue'],
10-
// add your custom rules here
11-
rules: {
12-
'vue/no-dupe-keys': 'warn',
13-
'vue/no-unused-components': 'warn',
14-
'vue/no-side-effects-in-computed-properties': 'warn',
15-
'vue/return-in-computed-property': 'warn',
16-
'vue/no-unused-vars': 'warn',
17-
'vue/no-textarea-mustache': 'warn',
18-
'vue/require-valid-default-prop': 'warn',
19-
'vue/multi-word-component-names': 'warn',
20-
'vue/no-mutating-props': 'warn',
21-
},
22-
parserOptions: {
23-
parser: 'babel-eslint',
24-
},
25-
globals: {},
7+
overrides: [
8+
// Vue files
9+
{
10+
files: ['vue/**/*.js', 'vue/**/*.vue'],
11+
extends: ['plugin:vue/recommended'],
12+
plugins: ['vue'],
13+
parserOptions: {
14+
parser: 'babel-eslint',
15+
},
16+
rules: {
17+
'vue/no-dupe-keys': 'warn',
18+
'vue/no-unused-components': 'warn',
19+
'vue/no-side-effects-in-computed-properties': 'warn',
20+
'vue/return-in-computed-property': 'warn',
21+
'vue/no-unused-vars': 'warn',
22+
'vue/no-textarea-mustache': 'warn',
23+
'vue/require-valid-default-prop': 'warn',
24+
'vue/multi-word-component-names': 'warn',
25+
'vue/no-mutating-props': 'warn',
26+
},
27+
},
28+
// React files
29+
{
30+
files: [ 'src/**/*.js' ],
31+
extends: ['plugin:@wordpress/eslint-plugin/recommended'],
32+
parserOptions: {
33+
ecmaFeatures: {
34+
jsx: true,
35+
},
36+
ecmaVersion: 'latest',
37+
sourceType: 'module',
38+
},
39+
rules: {
40+
'linebreak-style': ['error', 'unix'],
41+
'array-bracket-spacing': [
42+
'warn',
43+
'always',
44+
{
45+
arraysInArrays: false,
46+
objectsInArrays: false,
47+
},
48+
],
49+
'key-spacing': [
50+
'warn',
51+
{
52+
beforeColon: false,
53+
afterColon: true,
54+
},
55+
],
56+
'object-curly-spacing': [
57+
'warn',
58+
'always',
59+
{
60+
arraysInObjects: true,
61+
objectsInObjects: false,
62+
},
63+
],
64+
'@wordpress/i18n-text-domain': [
65+
'error',
66+
{
67+
allowedTextDomain: 'tweet-old-post',
68+
},
69+
],
70+
'@wordpress/no-unsafe-wp-apis': 0,
71+
},
72+
},
73+
],
2674
};

.github/workflows/build-dev-artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
run: |
4242
npm ci
4343
npm run build-dev
44+
npm run sharing
4445
- name: Create Zip file
4546
run: npm run dist
4647
- name: Retrieve branch name

.github/workflows/deploy-to-wporg.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
run: |
2121
npm ci
2222
npm run build
23+
npm run sharing
2324
composer install --no-dev --prefer-dist --no-progress --no-suggest
2425
- name: WordPress Plugin Deploy
2526
uses: 10up/action-wordpress-plugin-deploy@master

.github/workflows/e2e.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
- name: Make build
4141
run: |
4242
npm run build
43+
npm run sharing
4344
4445
- name: Setup WP Env
4546
run: |

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ assets/.DS_Store
1010
.DS_Store
1111
temp-images
1212
.vscode
13-
assets/js/build
13+
assets/js/build
14+
assets/js/react

assets/css/rop.css

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,103 @@
1717
.revive-old-posts_page_rop_content_filters #wpbody-content > #rop_content_filters,
1818
.toplevel_page_TweetOldPost #wpbody-content > #rop_core {
1919
display: block !important;
20-
}
20+
}
21+
22+
.revive-social-sidebar .revive-social__toggle > .components-base-control__field > .components-flex {
23+
flex-direction: row-reverse;
24+
}
25+
26+
.revive-social-platform-icon {
27+
width: 28px;
28+
height: 28px;
29+
border-radius: 50%;
30+
display: flex;
31+
align-items: center;
32+
justify-content: center;
33+
color: white;
34+
font-weight: bold;
35+
font-size: 14px;
36+
flex-shrink: 0;
37+
}
38+
39+
.revive-social__checkbox {
40+
--checkbox-input-size: 20px;
41+
}
42+
43+
.revive-social__modal table {
44+
width: 100%;
45+
}
46+
47+
.revive-social__modal th {
48+
text-align: left;
49+
padding: 0 0 1rem 0;
50+
}
51+
52+
.revive-social__modal tbody tr {
53+
height: 40px;
54+
}
55+
56+
.revive-social__spinner svg {
57+
margin: 0;
58+
}
59+
60+
.revive-social__spinner p {
61+
margin: 0;
62+
}
63+
64+
.revive-social__sharing-buttons .components-button {
65+
padding: 0;
66+
height: auto;
67+
}
68+
69+
.revive-social__sharing-buttons .revive-social-platform-icon {
70+
border-radius: 0;
71+
font-size: 16px;
72+
width: 32px;
73+
height: 32px;
74+
}
75+
76+
.revive-social__sharing-buttons .revive-social-platform-icon:hover {
77+
opacity: 0.8;
78+
}
79+
80+
.facebook-icon {
81+
background-color: #1877f2;
82+
}
83+
.twitter-icon {
84+
background-color: #000000;
85+
}
86+
.linkedin-icon {
87+
background-color: #0077b5;
88+
}
89+
.instagram-icon {
90+
background: linear-gradient(135deg, #fbbf24, #ef4444, #8b5cf6);
91+
}
92+
.telegram-icon {
93+
background-color: #0088cc;
94+
}
95+
.tumblr-icon {
96+
background-color: #001935;
97+
}
98+
.vk-icon {
99+
background-color: #0074ab;
100+
}
101+
.mastodon-icon {
102+
background-color: #6364ff;
103+
}
104+
.gmb-icon {
105+
background-color: #323b43;
106+
}
107+
.webhook-icon {
108+
background-color: #ffbc42;
109+
}
110+
.bluesky-icon {
111+
background-color: #0ea5e9;
112+
}
113+
.whatsapp-icon {
114+
background-color: #25d366;
115+
}
116+
117+
.link-icon {
118+
background-color: #0073aa;
119+
}

assets/css/rop_core.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,12 @@ a.active {
847847
display: flex;
848848
align-items: center;
849849
}
850+
#rop_core .btn.btn-bluesky {
851+
background-color: #1A8CD8;
852+
color: #fff;
853+
display: flex;
854+
align-items: center;
855+
}
850856

851857
#rop_core
852858
.btn:is(

assets/js/build/dashboard.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/build/exclude.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)