fzngagan
(Faizaan Gagan)
2019 年 10 月 1 日午前 7:39
1
This theme component changes the default timed topic timer to a live countdown timer.
Repository Link
https://github.com/paviliondev/live-topic-timer
The rerender time can be changed in the component settings according to your use case.
The time displayed by the timer can be format in multiple ways from the theme component setting whose documentation can be found here .
To do
Display the timer on the header next to the topic title.
I’m looking for specific UI/UX suggestions for how to implement a header timer, in the context of Discourse, with a view to crowd-funding the development costs if there’s enough interest (@darhazer @tobiaseigen )
Installation
This is a guide for installing and managing themes and theme components in Discourse.
Required user level: Administrator
Installing and customizing themes can significantly improve the look and feel of your Discourse site. You can easily import and manage themes and their components through the Discourse admin panel.
This guide covers:
Importing new themes and theme components
Adding theme components to a theme
Managing automatic updates
Additional resourc…
「いいね!」 27
This doesn’t work since a few days. Can you look at it?
「いいね!」 1
fzngagan
(Faizaan Gagan)
2019 年 12 月 28 日午後 10:24
3
Yes, I’m aware of the fact that some of the code I overrode is changed in core discourse. I’ll take a look at this around mid next week.
cc @angus , @Ellibereth , @darhazer
「いいね!」 4
fzngagan
(Faizaan Gagan)
2020 年 1 月 5 日午後 7:52
4
committed 07:32PM - 05 Jan 20 UTC
Just pushed an update to the component to fix compatibility with latest discourse.
「いいね!」 7
can this be set on specific categories? i could see this being very useful in combination with the voting plugin.
「いいね!」 1
fzngagan
(Faizaan Gagan)
2020 年 1 月 20 日午後 12:56
6
Currently, it works for all timed topics. @ninjapenguin if you’re are willing to fund the development of this feature, I’ll be happy to add the category specific feature for the component.
In any case, you can join the discussion related to the component here.
Hello, I’m looking for a modification of how topic timers are visualized - I want a live countdown, like 2d 14:37:50 (meaning will be executed after 2days 14 hours, 37 minutes and 50 seconds; updating each second). I’m using topic timers for...
Reading time: 6 mins 🕑
Likes: 61 ❤
「いいね!」 1
i don’t think we need it enough. more a ‘nice to have’ in our use case than a core feature we’d use often. it looks great though, well done.
「いいね!」 1
残念ながら、このテーマコンポーネントがトピックタイマーのインターフェースを壊してしまっています。日数が秒数に変換されてしまい、「このトピックの返信は自動的に削除されます…」という青いバーに「次」が表示されません。そのため、タイマーを削除することが不可能になります。このテーマコンポーネントを削除すると、再び正常に動作するようになりました。
「いいね!」 2
fzngagan
(Faizaan Gagan)
2020 年 5 月 7 日午後 8:29
9
再度ほこりを落とす必要があります。来週中にこの件に対応します。ご報告ありがとうございます。ブックマークのリマインダーの必要性を強く感じさせられました。
「いいね!」 2
fzngagan
(Faizaan Gagan)
2021 年 3 月 24 日午前 11:49
11
かねてより訪れたいと思っていたのです。金曜日に拝見させていただきます。
「いいね!」 1
fzngagan
(Faizaan Gagan)
2021 年 3 月 25 日午前 6:34
12
CaptainZac:
このテーマのバグです。
この問題を再現確認できました。お待たせして申し訳ありません。
このテーマコンポーネントは、close topic timer 以外のタイマーではテストされていませんでした。このコンポーネントは特定のタイマー向けに構築されたものの、名前からするとあらゆる種類のトピックタイマーに対応するはずでした。
また、少なくとも他のデフォルト機能には影響を与えるべきではありませんでした。現在修正に取り組んでおり、近々解決策をご報告します。
これは Discourse 上での私の最初のクライアントワークでした。懐かしい思い出が蘇ります。
追伸:
プラグインやテーマ開発者向けに拡張可能にするため、コアの Topic Timer への PR を作成しました。モノリスなメソッドをオーバーライドするのは、破綻を起こしやすい傾向があります。
master ← fzngagan:topic-timer-impr
merged 11:12PM - 25 Mar 21 UTC
This PR improves the code structure of the topic-timer-info component while reta… ining all the functionality and making it extensible for theme/plugin devs.
cc @martin
「いいね!」 4
martin
(Martin Brennan)
2021 年 3 月 25 日午後 11:12
13
修正いただきありがとうございます。コアにマージしました
「いいね!」 2
sam
(Sam Saffron)
2021 年 3 月 26 日午前 12:17
14
少し本題から外れますが、今後のために参考までに:
DEV: プレフィックスは開発関連のリファクタリングを意味し、リリースノートに記載する必要はありません。
FIX: はバグ修正を意味し、リリースノートで言及する可能性があります。
FEATURE: は新機能(または機能の削除)を意味し、リリースノートで言及する可能性があります。
IMPR: は少し奇妙ですが、このプレフィックスは現在どこでも使用されていません。
「いいね!」 4
fzngagan
(Faizaan Gagan)
2021 年 3 月 26 日午前 12:50
15
私の記憶違いでした。Jeff さんがこれらの用語について説明した投稿を間違えて覚えていましたが、IMR がその一つではないことは想像できます。この点は覚えておきます。
「いいね!」 2
fzngagan
(Faizaan Gagan)
2021 年 3 月 26 日午前 4:30
16
好消息は、マージ後、開発者視点から見てコードの拡張性と保守性が向上したことです。来週中にコンポーネントの修正を試みます。
ヒントをくれた @sam とマージしてくれた @martin に感謝します。
「いいね!」 2
fzngagan
(Faizaan Gagan)
2021 年 3 月 29 日午後 8:39
17
テーマコンポーネントと Discourse の両方を最新のテスト通過版に更新すれば、この問題は解決するはずです。
さらに、他のすべてのタイマーもサポートするようになりました。もし問題が発生した場合は、喜んで対応いたします。