快速添加主题标签

| | | |\n|— | — | —|\n|:information_source: | 摘要 | 点击按钮即可为主题添加标签|\n|:hammer_and_wrench: | 代码库 | https://github.com/NateDhaliwal/quick-add-tags|\n|:question: | 安装指南 | 如何安装主题或主题组件|\n|:open_book: | 初次使用 Discourse 主题? | Discourse 主题使用入门指南|\n\n[wrap=theme-install-button repoName="Quick-add Tags" repoUrl="https://github.com/NateDhaliwal/quick-add-tags\"]\n安装此主题组件\n[/wrap]\n\n这是一个组件,可以在主题页脚中通过按钮为主题添加标签。它还提供了在 x 天后(最少 0 天)自动关闭主题的选项。\n\n

\n\n管理员可以通过 quick_add_tags 设置配置要添加到主题的标签。\n\n管理员还可以配置按钮标签、文本和成功消息文本。\n\n成功添加标签后,将显示成功消息:\nimage\n\n如果添加标签失败,将显示错误消息:\nimage\n\n如果启用 auto_close_topic,则只有管理员/版主/TL4 用户(因为他们有权设置主题计时器)才能看到添加标签按钮。您可以将 auto_close_topic_days 设置为任何值。这将在指定天数后关闭主题。\n\n灵感来源于我看到 这篇文章。希望这对大家有帮助!

20 个赞

此 PR 将所有先前设置替换为新的 quick_add_tags_buttons 设置。

这增加了添加多个按钮的功能,并提供了按类别限制每个按钮的选项。

此外,您现在可以为每个按钮更改按钮标签和标题。

例如,您可以进行以下设置:

按钮 1:

  • 要添加的标签:标签 A、标签 B、标签 C
  • 在类别中:ABC、DEF
  • 自动关闭:是
  • 多少天后关闭:2
  • 按钮标签:添加 A、B、C
  • 按钮标题:添加标签 A、B 和 C

按钮 2:

  • 要添加的标签:标签 A、标签 D
  • 在类别中:DEF、XYZ
  • 自动关闭:否
  • 按钮标签:添加 A、D
  • 按钮标题:添加标签 A 和 D

感谢 @tobiaseigen 为此功能提供的灵感!

5 个赞

您好,我正在测试您的TC以用于此用例:A list of topics awaiting answers and solutions? - #6 by patrickemin

  • 第一个问题,自动关闭是从哪一天开始计算的?
  • 第二个问题:似乎必须指定类别,但在我的用例中,我不想指定类别,这可能吗?

另外,按钮尺寸过大,您知道为什么吗?

谢谢。

从您按下按钮的那一刻起计算。

我看看是否能通过复选框使其成为可选,或者也许留空。

我记得这是由于按钮中的文本量造成的。字符少一些没问题。我正在使用 DButton,不知道为什么会发生这种情况。我看看是否能对其应用一些 CSS。

2 个赞

谢谢,我认为留空更好。

2 个赞

而且,在您处理此事的同时 :wink:,最好能有一个复选框,用于向非员工用户隐藏这些按钮,这与主题关闭设置无关。

2 个赞

是的,我已经在考虑按组限制了。谢谢。

3 个赞

似乎现在已经修复了 :thinking:

应该已经完成了。

正在处理一个设置,用于添加用户组,并在用户属于任何一个用户组时显示该按钮。我快完成了,正处于最后的测试阶段。

1 个赞

@patrickemin 根据 此 PR,您现在可以根据每个按钮中的 show_for_groups 设置来按组限制按钮。

1 个赞

谢谢,我猜将类别字段留空并非默认应用于所有类别?

不,我已经将其更改为在留空时应用于所有类别。

当我使用此 URL 进行安装时,出现错误 git not found:FEATURE: Limit buttons by groups by NateDhaliwal · Pull Request #2 · NateDhaliwal/quick-add-tags · GitHub

1 个赞

我不确定你为什么需要从 PR 安装?我已经将其合并到 main 了。

抱歉,安装成功,现在可以正常工作了

1 个赞

发现一个 bug:

创建新标签按钮时,如果字段留空,我的网站就会崩溃:

控制台日志摘录:

quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}
quick-add-tag-button.gjs:31 user_groups:
quick-add-tag-button.gjs:32 (14) [1, 51, 54, 48, 52, 49, 44, 56, 2, 3, 10, 11, 12, 13]
quick-add-tag-button.gjs:42 {}
quick-add-tag-button.gjs:26 e {#ts: undefined, #mp: undefined, #mh: undefined, #mm: undefined, #eL: undefined, …}

嗯,那是因为它本不该是空白的 :wink:。也许我应该在文本为空时添加一个占位符。

@nathank 我已经清理了一些东西。你还看到那个吗?

2 个赞

Users are dumb, and need some guardrails at times!

Yup, fixed - but now has a very interesting clash with #calendar-and-event:

What it should look like

What I get with a blank quick tag item

quick-add-tag-button.gjs:38 Uncaught (in promise) TypeError: e.show_for_groups is not iterable
    at new k (quick-add-tag-button.gjs:38:41)
    at h.createComponent (index.js:259:12)
    at $.create (index.js:419:28)
    at Object.evaluate (index.js:985:23)
    at Object.evaluate (index.js:103:106)
    at tn.evaluateSyscall (index.js:2873:20)
    at tn.evaluateInner (index.js:2852:64)
    at tn.evaluateOuter (index.js:2849:10)
    at tH.next (index.js:4167:45)
    at tH._execute (index.js:4157:21)
    at tH.execute (index.js:4133:41)
    at tj.handleException (index.js:3450:19)
    at tR.handleException (index.js:3592:52)
    at tF.throw (index.js:3414:16)
    at G.evaluate (index.js:565:42)
    at tF._execute (index.js:3401:34)
    at tF.execute (index.js:3393:17)
    at tU.rerender (index.js:3610:8)
    at tq.render (index-BCp6wOJU.js:4639:55)
    at index-BCp6wOJU.js:4934:16
    at eX (index.js:2414:7)
    at tG._renderRoots (index-BCp6wOJU.js:4914:7)
    at tG._renderRootsTransaction (index-BCp6wOJU.js:4962:12)
    at tG._revalidate (index-BCp6wOJU.js:4995:10)
    at invoke (index.js:262:14)
    at m.flush (index.js:180:11)
    at g.flush (index.js:334:19)
    at q._end (index.js:762:32)
    at q.end (index.js:565:10)
    at q._run (index.js:806:14)
    at q._join (index.js:783:19)
    at q.join (index.js:605:17)
    at Array.<anonymous> (index-BCp6wOJU.js:4728:26)
    at q._trigger (index.js:860:21)
    at q._end (index.js:775:16)
    at index.js:499:12
quick-add-tag-button.gjs:38 Uncaught (in promise) TypeError: e.show_for_groups is not iterable
    at new k (quick-add-tag-button.gjs:38:41)
    at h.createComponent (index.js:259:12)
    at $.create (index.js:419:28)
    at Object.evaluate (index.js:985:23)
    at Object.evaluate (index.js:103:106)
    at tn.evaluateSyscall (index.js:2873:20)
    at tn.evaluateInner (index.js:2852:64)
    at tn.evaluateOuter (index.js:2849:10)
    at tH.next (index.js:4167:45)
    at tH._execute (index.js:4157:21)
    at tH.execute (index.js:4133:41)
    at tj.handleException (index.js:3450:19)
    at tR.handleException (index.js:3592:52)
    at tF.throw (index.js:3414:16)
    at G.evaluate (index.js:565:42)
    at tF._execute (index.js:3401:34)
    at tF.execute (index.js:3393:17)
    at tU.rerender (index.js:3610:8)
    at tq.render (index-BCp6wOJU.js:4639:55)
    at index-BCp6wOJU.js:4934:16
    at eX (index.js:2414:7)
    at tG._renderRoots (index-BCp6wOJU.js:4914:7)
    at tG._renderRootsTransaction (index-BCp6wOJU.js:4962:12)
    at tG._revalidate (index-BCp6wOJU.js:4995:10)
    at invoke (index.js:262:14)
    at m.flush (index.js:180:11)
    at g.flush (index.js:334:19)
    at q._end (index.js:762:32)
    at q.end (index.js:565:10)
    at q._run (index.js:806:14)
    at q._join (index.js:783:19)
    at q.join (index.js:605:17)
    at Array.<anonymous> (index-BCp6wOJU.js:4728:26)
    at q._trigger (index.js:860:21)
    at q._end (index.js:775:16)
    at index.js:499:12
k @ quick-add-tag-button.gjs:38
createComponent @ index.js:259
create @ index.js:419
(anonymous) @ index.js:985
evaluate @ index.js:103
evaluateSyscall @ index.js:2873
evaluateInner @ index.js:2852
evaluateOuter @ index.js:2849
next @ index.js:4167
_execute @ index.js:4157
execute @ index.js:4133
handleException @ index.js:3450
handleException @ index.js:3592
throw @ index.js:3414
evaluate @ index.js:565
_execute @ index.js:3401
execute @ index.js:3393
rerender @ index.js:3610
(anonymous) @ index-BCp6wOJU.js:4639
(anonymous) @ index-BCp6wOJU.js:4934
eX @ index.js:2414
_renderRoots @ index-BCp6wOJU.js:4914
_renderRootsTransaction @ index-BCp6wOJU.js:4962
_revalidate @ index-BCp6wOJU.js:4995
invoke @ index.js:262
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
end @ index.js:565
_run @ index.js:806
_join @ index.js:783
join @ index.js:605
(anonymous) @ index-BCp6wOJU.js:4728
_trigger @ index.js:860
_end @ index.js:775
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_ensureInstance @ index.js:919
schedule @ index.js:618
(anonymous) @ rsvp.js:9
_ @ rsvp-ziM3qQyS.js:360
m @ rsvp-ziM3qQyS.js:324
g @ rsvp-ziM3qQyS.js:338
(anonymous) @ rsvp-ziM3qQyS.js:440
(anonymous) @ preload-store.js:32
Promise.then
(anonymous) @ preload-store.js:32
(anonymous) @ rsvp-ziM3qQyS.js:435
e @ rsvp-ziM3qQyS.js:451
getAndRemove @ preload-store.js:26
I @ topic.js:40
refresh @ post-stream.js:365
model @ from-params.js:31
deserialize @ route.js:867
getModel @ router-BViwI_oJ.js:314
(anonymous) @ router-BViwI_oJ.js:149
k @ rsvp-ziM3qQyS.js:412
w @ rsvp-ziM3qQyS.js:398
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_ensureInstance @ index.js:919
ensureInstance @ index.js:731
scheduleRevalidate @ index-BCp6wOJU.js:3609
dirtyTag @ index.js:229
P @ index.js:287
setter @ index.js:447
l @ cache-fCezwMOy.js:1886
l @ index.js:35
dirtyStorageFor @ map.ts:31
set @ map.ts:107
set @ history-store.js:48
navigateToTopic @ item.gjs:89
event @ item.gjs:158
_ @ transformer.js:253
click @ item.gjs:145
quick-add-tag-button.gjs:38 Uncaught (in promise) TypeError: e.show_for_groups is not iterable
    at new k (quick-add-tag-button.gjs:38:41)
    at h.createComponent (index.js:259:12)
    at $.create (index.js:419:28)
    at Object.evaluate (index.js:985:23)
    at Object.evaluate (index.js:103:106)
    at tn.evaluateSyscall (index.js:2873:20)
    at tn.evaluateInner (index.js:2852:64)
    at tn.evaluateOuter (index.js:2849:10)
    at tH.next (index.js:4167:45)
    at tH._execute (index.js:4157:21)
    at tH.execute (index.js:4133:41)
    at tj.handleException (index.js:3450:19)
    at tR.handleException (index.js:3592:52)
    at tF.throw (index.js:3414:16)
    at G.evaluate (index.js:565:42)
    at tF._execute (index.js:3401:34)
    at tF.execute (index.js:3393:17)
    at tU.rerender (index.js:3610:8)
    at tq.render (index-BCp6wOJU.js:4639:55)
    at index-BCp6wOJU.js:4934:16
    at eX (index.js:2414:7)
    at tG._renderRoots (index-BCp6wOJU.js:4914:7)
    at tG._renderRootsTransaction (index-BCp6wOJU.js:4962:12)
    at tG._revalidate (index-BCp6wOJU.js:4995:10)
    at invoke (index.js:262:14)
    at m.flush (index.js:180:11)
    at g.flush (index.js:334:19)
    at q._end (index.js:762:32)
    at q.end (index.js:565:10)
    at q._run (index.js:806:14)
    at q._join (index.js:783:19)
    at q.join (index.js:605:17)
    at Array.<anonymous> (index-BCp6wOJU.js:4728:26)
    at q._trigger (index.js:860:21)
    at q._end (index.js:775:16)
    at index.js:499:12
k @ quick-add-tag-button.gjs:38
createComponent @ index.js:259
create @ index.js:419
(anonymous) @ index.js:985
evaluate @ index.js:103
evaluateSyscall @ index.js:2873
evaluateInner @ index.js:2852
evaluateOuter @ index.js:2849
next @ index.js:4167
_execute @ index.js:4157
execute @ index.js:4133
handleException @ index.js:3450
handleException @ index.js:3592
throw @ index.js:3414
evaluate @ index.js:565
_execute @ index.js:3401
execute @ index.js:3393
rerender @ index.js:3610
(anonymous) @ index-BCp6wOJU.js:4639
(anonymous) @ index-BCp6wOJU.js:4934
eX @ index.js:2414
_renderRoots @ index-BCp6wOJU.js:4914
_renderRootsTransaction @ index-BCp6wOJU.js:4962
_revalidate @ index-BCp6wOJU.js:4995
invoke @ index.js:262
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
end @ index.js:565
_run @ index.js:806
_join @ index.js:783
join @ index.js:605
(anonymous) @ index-BCp6wOJU.js:4728
_trigger @ index.js:860
_end @ index.js:775
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_ensureInstance @ index.js:919
schedule @ index.js:618
(anonymous) @ rsvp.js:9
_ @ rsvp-ziM3qQyS.js:360
m @ rsvp-ziM3qQyS.js:324
g @ rsvp-ziM3qQyS.js:338
(anonymous) @ rsvp-ziM3qQyS.js:440
(anonymous) @ preload-store.js:32
Promise.then
(anonymous) @ preload-store.js:32
(anonymous) @ rsvp-ziM3qQyS.js:435
e @ rsvp-ziM3qQyS.js:451
getAndRemove @ preload-store.js:26
I @ topic.js:40
refresh @ post-stream.js:365
model @ from-params.js:31
deserialize @ route.js:867
getModel @ router-BViwI_oJ.js:314
(anonymous) @ router-BViwI_oJ.js:149
k @ rsvp-ziM3qQyS.js:412
w @ rsvp-ziM3qQyS.js:398
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_ensureInstance @ index.js:919
ensureInstance @ index.js:731
scheduleRevalidate @ index-BCp6wOJU.js:3609
dirtyTag @ index.js:229
P @ index.js:287
setter @ index.js:447
l @ cache-fCezwMOy.js:1886
l @ index.js:35
dirtyStorageFor @ map.ts:31
set @ map.ts:107
set @ history-store.js:48
navigateToTopic @ item.gjs:89
event @ item.gjs:158
_ @ transformer.js:253
click @ item.gjs:145
1 个赞

已修复。不是与所述插件冲突,而是由于 show_for_groups 设置留空所致。我已在此 PR 中修复:

3 个赞