Open Thatoo opened 6 months ago
Here are Firefox console logs (I get the same in Chromium) :
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. [node.js:383](resource://devtools/server/actors/inspector/node.js)
JQMIGRATE: Migrate is installed, version 3.4.1 [jquery-migrate.min.js:2:702](webpack:///nextcloud/node_modules/jquery-migrate/dist/jquery-migrate.min.js)
Proxying an event bus of version 3.1.0 with 1.3.0 [index.es.js:2337:14](webpack:///nextcloud/node_modules/@nextcloud/axios/node_modules/@nextcloud/event-bus/dist/index.es.js)
Proxying an event bus of version 3.1.0 with 1.3.0 [index.es.js:2337:14](webpack:///nextcloud/node_modules/@nextcloud/axios/node_modules/@nextcloud/event-bus/dist/index.es.js)
The `name` prop is required. Please migrate away from the deprecated `title` prop. 7 [NcAppNavigationItem.js:2:168856](webpack:///social/node_modules/@nextcloud/vue/dist/Components/NcAppNavigationItem.js)
session heartbeat polling started [session-heartbeat.js:103:9](webpack:///nextcloud/core/src/session-heartbeat.js)
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. [federated](https://MYDOMAIN.fr/nuage-nextcloud/apps/social/timeline/federated)
Proxying an event bus of version 3.1.0 with 1.3.0 [index.es.js:2337:14](webpack:///notifications/node_modules/@nextcloud/notify_push/node_modules/@nextcloud/auth/node_modules/@nextcloud/event-bus/dist/index.es.js)
Registering notifications container as a menu [NotificationsApp.vue:219](webpack:///notifications/src/NotificationsApp.vue)
Notifications permissions granted [NotificationsApp.vue:453](webpack:///notifications/src/NotificationsApp.vue)
Polling interval updated to 30000 [NotificationsApp.vue:416](webpack:///notifications/src/NotificationsApp.vue)
Started background fetcher as session_keepalive is enabled [NotificationsApp.vue:275](webpack:///notifications/src/NotificationsApp.vue)
Got notification data, restoring default polling interval. [NotificationsApp.vue:376](webpack:///notifications/src/NotificationsApp.vue)
You need to fill either the text or the ariaLabel props in the button component.
Object { text: "", ariaLabel: null }
Object { _uid: 79, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": [], … }
[NcButton.js:2:20633](webpack:///social/node_modules/@nextcloud/vue/dist/Components/NcButton.js)
You need to fill either the text or the ariaLabel props in the button component.
Object { text: "", ariaLabel: null }
Object { _uid: 81, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": [], … }
[NcButton.js:2:20633](webpack:///social/node_modules/@nextcloud/vue/dist/Components/NcButton.js)
You need to fill either the text or the ariaLabel props in the button component.
Object { text: "", ariaLabel: null }
Object { _uid: 90, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": [], … }
[NcButton.js:2:20633](webpack:///social/node_modules/@nextcloud/vue/dist/Components/NcButton.js)
You need to fill either the text or the ariaLabel props in the button component.
Object { text: "", ariaLabel: null }
Object { _uid: 92, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": [], … }
[NcButton.js:2:20633](webpack:///social/node_modules/@nextcloud/vue/dist/Components/NcButton.js)
However, on CLI, it is possible to boost a message.
If I launch ethis command it doesn't work :
sudo -u nextcloud php8.2 --define apc.enable_cli=1 /var/www/nextcloud/occ social:note:boost MYUSERNAME https://framapiaf.org/@ANOTHERUSERNAME/111642480479656893
But, if I launch the following command, it works
sudo -u nextcloud php8.2 --define apc.enable_cli=1 /var/www/nextcloud/occ social:note:boost MYUSERNAME https://framapiaf.org/users/ANOTHEUSERNAME/statuses/111642480479656893
I get this result :
object: {
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1"
],
"id": "https://MYDOMAIN.fr/nextcloud/apps/social/@MYUSERNAME/17036325142149796921",
"type": "Announce",
"to": "https://www.w3.org/ns/activitystreams#Public",
"cc": [
"https://MYDOMAIN.fr/nextcloud/apps/social/@MYUSERNAME/followers"
],
"actor": "https://MYDOMAIN.fr/nextcloud/apps/social/@MYUSERNAME",
"published": "2023-12-26T23:15:14+00:00",
"object": "https://framapiaf.org/users/Bristow_69/statuses/111642480479656893",
"local": true,
"signature": {
"type": "RsaSignature2017",
"creator": "https://MYDOMAIN.fr/nextcloud/apps/social/@MYUSERNAME#main-key",
"created": "2023-12-26T23:15:15Z",
"signatureValue": "BD0/0.....7ZA=="
},
"sensitive": false,
"attachment": []
}
token: ttttt-xxx-zzz-eee-rrrrr
and the message appear indeed boosted from a remote account following my social nextcloud account.
So the action works, just the button is not shown.
Same with Nextcloud 28.1.1. As I can't find a screenshot showing this boost button, I wonder if I'm the only one experimenting this issue or if it's normal and nobody has this button.
If I look at Inspector in firefox (F12), it doesn't help to know if there should be or not an other button :
<div data-v-f5496e80="" class="post-actions"><button data-v-2e49be1e="" data-v-f5496e80="" type="button" title="RĂ©pondre" class="button-vue button-vue--icon-only button-vue--vue-tertiary"><span data-v-2e49be1e="" class="button-vue__wrapper"><span data-v-2e49be1e="" class="button-vue__icon"><span data-v-f5496e80="" aria-hidden="true" role="img" class="material-design-icon reply-icon" data-v-2e49be1e=""><svg fill="currentColor" width="20" height="20" viewBox="0 0 24 24" class="material-design-icon__svg"><path d="M10,9V5L3,12L10,19V14.9C15,14.9 18.5,16.5 21,20C20,15 17,10 10,9Z"><!----></path></svg></span></span></span></button> <!----> <button data-v-2e49be1e="" data-v-f5496e80="" type="button" title="Aimer" class="button-vue button-vue--icon-only button-vue--vue-tertiary"><span data-v-2e49be1e="" class="button-vue__wrapper"><span data-v-2e49be1e="" class="button-vue__icon"><span data-v-f5496e80="" aria-hidden="true" role="img" class="material-design-icon heart-outline-icon" data-v-2e49be1e=""><svg fill="currentColor" width="20" height="20" viewBox="0 0 24 24" class="material-design-icon__svg"><path d="M12.1,18.55L12,18.65L11.89,18.55C7.14,14.24 4,11.39 4,8.5C4,6.5 5.5,5 7.5,5C9.04,5 10.54,6 11.07,7.36H12.93C13.46,6 14.96,5 16.5,5C18.5,5 20,6.5 20,8.5C20,11.39 16.86,14.24 12.1,18.55M16.5,3C14.76,3 13.09,3.81 12,5.08C10.91,3.81 9.24,3 7.5,3C4.42,3 2,5.41 2,8.5C2,12.27 5.4,15.36 10.55,20.03L12,21.35L13.45,20.03C18.6,15.36 22,12.27 22,8.5C22,5.41 19.58,3 16.5,3Z"><!----></path></svg></span></span></span></button> <!----> <!----></div>
but I can see an error inthe consol though and I don't know if it is realted or not :
TypeError: OCA.Search is not a constructor
beforeMount App.vue:195
VueJS 16
bn
dr
mount
$mount
init
d
d
Wo
_update
r
get
e
mount
$mount
_init
aa
<anonymous> main.js:59
<anonymous> main.js:65
<anonymous> main.js:65
Describe the bug On every single message, I have only one button to reply and one button to like (heart button) but I don't have any boost button.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour Have a third button to be able to boost message
Screenshots![image](https://github.com/nextcloud/social/assets/464782/a59ea1f3-353d-48f9-b443-6de4716bb226)
Client details:
Social app version: 0.6.1 Operating system: Yunohost (Debian 11) Web server: Nginx Database: MariaDB PHP version: 8.2 Nextcloud version: 27.1.4