Discourse Retort

Setting up a certain trust level or group membership as requirement would be great. I would love to implement it as premium feature for premium members in my forum.

「いいね!」 1

I really want to include this in our forum that’s being imported from phpbb… I’m just not sure on how the users will understood that they will have a “reactions” and a “like” altogether… I fear that they will end ignoring the like in favor of the reactions :confused:

I suppose, you could tweak the UI with CSS and/or Jquery so that people see multiple emojis to react with

What would be even more amazing is to grey out the extra emojis and lead the CTA to buy a certain group membership to enable that feature.

Retort includes the retort limited emoji set setting to present a fixed list of emoji.

You could pair that down to 3/4 reactions beyond ‘like’ to encourage users to use the like button when it’s relevant.

That doesn’t sound amazing, that sounds really really user-hostile.

Seems like disabling the plugin and rebuilding still breaks the post content. I had to go to finder → ~/discourse/plugins, then had to manually remove the retort folder.

@gdpelican The retort plugin is inteferring with the emoji selection box, see this post:

https://meta.discourse.org/t/emoji-button-not-showing-emojis-when-browser-full-screen/119468/10

上記のバグを確認しました。

@Vaping_Community さん、@Jose_C_Gomez さん :smiling_face:

この PR で問題が解決しましたか?FIX: Prevent emoji-picker from not showing by SantosGuillamot · Pull Request #7856 · discourse/discourse · GitHub

私たちも同様の問題に直面していましたが、これで修正されました。(アプリの再ビルドが必要かもしれません)

はい、現在修正されました。

私はユーザー向けに iOS/Android アプリを提供しており、それを使ってフォーラムにアクセスしています。

アプリでトピックを開くと、投稿が正しく読み込まれないか、ナビゲーションのみが表示されることがよくあります。

また、/logs に以下のエラーも表示されています:

TypeError: Cannot read property 'get' of undefined
    at i.disabledFor (https://.../assets/plugins/retort-0e38325ecc1e77022640749d263c616fa2014661562526df5557240511da536a.js:1:3734)
    at https://.../assets/plugins/retort-0e38325ecc1e77022640749d263c616fa2014661562526df5557240511da536a.js:1:4642
    at https://.../assets/application-005c06796edb69789ba3362843ad68e4f0e5b629e4bce0ccfce36db53770401e.js:75:13612
    at Array.map (<anonymous>)

および

TypeError: undefined is not an object (evaluating 'e.get')
disabledFor@https://.../assets/plugins/retort- 
0e38325ecc1e77022640749d263c616fa2014661562526df5557240511da536a.js:1:3733
https://.../assets/plugins/retort- 
0e38325ecc1e77022640749d263c616fa2014661562526df5557240511da536a.js:1:4653
map@[native code]

Retort を無効にするとこの問題は解決します。通常のモバイルブラウザでは問題なく動作します。

このバグが存在するため、アプリを停止するか、Retort を無効にするかのどちらかを選ばざるを得ず、どちらも好ましい選択肢ではありません :smiley: もしよろしければ、修正のために支払いも検討できます :slight_smile:

「いいね!」 1

@DiscourseMetrics この問題を解決する修正をプッシュしました。ただし、別のアプリを起動して確認したわけではないので、その点は認めざるを得ません。account-for-missing-post ブランチをプルダウンして、問題が解決しているか確認していただけますか?

git clone -b account-for-missing-post https://github.com/gdpelican/retort.git
「いいね!」 2

空白トピックの発生は現在減っており、順調に進んでいます :slight_smile:

現在、以下のエラーが表示されています:

TypeError: Cannot read property 'find' of undefined
    at i.postFor (https://.../assets/plugins/retort-e5332d5fc1fdd242b0b5702995f9e863e10f7e9def1d713e49cce1c391de94ed.js:1:3337)

および

TypeError: i is undefined
Url: https://.../assets/plugins/retort-e5332d5fc1fdd242b0b5702995f9e863e10f7e9def1d713e49cce1c391de94ed.js

および

TypeError: undefined is not an object (evaluating 'i.retorts')
Url: https://.../assets/plugins/retort-e5332d5fc1fdd242b0b5702995f9e863e10f7e9def1d713e49cce1c391de94ed.js
「いいね!」 1

はい、少々お時間をください。詳しく調査いたします。どうやら、アプリがウェブとは何らかの方法で異なる処理を行っているようです。

もし、該当のアプリやフォーラムへのアクセス権限を付与いただける方法があれば、大変助かります。:slight_smile:

「いいね!」 1

以下のコードはデフォルトを変更していません。何かご存知ですか?ありがとうございます。

.post-retort {
    /* ここにさまざまな CSS コード */
}
「いいね!」 1

@gdpelican のコミュニティ向けにハロウィンイベントを準備しており、リプライの反応として :candy: を使用しようとしています。

しかし、正直なところ SQL についてはほとんど何も知りません。データエクスプローラーのクエリを 2 つ作成したいと考えています。1 つは :candy: の反応を最も多く受け取った人を表示するもので、もう 1 つは :candy: の反応を最も多く送信した人を表示するものです。これは可能でしょうか?お時間をいただきありがとうございます!

こちらでも確認されました。以前はこれをカスタマイズしていました。現在は継承の仕方が何か変わっており、設定した CSS がデフォルトに上書きされてしまいます。修正か、少なくとも回避策をお待ちしています。

私たちの場合、特に背景色が問題で、デフォルトがテーマの色を使用しており、暗すぎてアイコンが見えなくなっています。

投稿に22回リトートが追加されています。

image

23番目としてリトートを押すと、403 Internal server errorが発生します。

このエラーはログに以下のように表示されています:

Failed to handle exception in exception app middleware : PG::StringDataRightTruncation: ERROR: value too long for type character varying(255)

リトートを追加した各ユーザー名を保存しており、多数追加された際にフィールドの長さが不足しているのではないかと思われます。:slight_smile:

「いいね!」 3

トピックや投稿ごとに反応(リアクション)の数に制限があるのか気になっています。 :slight_smile:

「いいね!」 1

バンプは好きではありませんが、.post-retort の CSS における継承の不具合により、当社の場合は暗い色のため多くの絵文字がほとんど見えず、リポートが機能しなくなっています。

「いいね!」 2

ポップアップをすべてのボタンの「上」に表示することは可能ですか?現在、ポップアップは各ボタン要素の内部にあるため、次のポップアップが前のポップアップを隠してしまいます。

「いいね!」 1