discourse-ai/config/locales
Rafael dos Santos Silva 8e00e036e1
FEATURE: Make emotion /filter ordering match the dashboard table (#939)
* FEATURE: Make emotion /filter ordering match the dashboard table

This change makes the /filter endpoint use the same criteria we use
in the dashboard table for emotion, so it is not confusing for users.
It means that only posts made in the period with the emotion shall be
shown in the /filter, and the order is simply a count of posts that
match the emotion in the period.

It also uses a trick to extract the filter period, and apply it to
the CTE clause that calculates post emotion count on the period, making
it a bit more efficient. Downside is that /filter filters are evaluated
from left to right, so it will only get the speed-up if the emotion
order is last. As we do this on the dashboard table, it should cover
most uses of the ordering, kicking the need for materialized views
down the road.

* Remove zero score in filter

* add table tooltip

* lint
2024-11-21 15:18:31 -03:00
..
client.ar.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.be.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.bg.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.bs_BA.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.ca.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.cs.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.da.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.de.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.el.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.en.yml FEATURE: Make emotion /filter ordering match the dashboard table (#939) 2024-11-21 15:18:31 -03:00
client.en_GB.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.es.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.et.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.fa_IR.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.fi.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.fr.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.gl.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.he.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.hr.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.hu.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.hy.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.id.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.it.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.ja.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.ko.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.lt.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.lv.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.nb_NO.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.nl.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.pl_PL.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.pt.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.pt_BR.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.ro.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.ru.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.sk.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.sl.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.sq.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.sr.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.sv.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.sw.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.te.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.th.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.tr_TR.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.ug.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.uk.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.ur.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.vi.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.zh_CN.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
client.zh_TW.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.ar.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.be.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.bg.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.bs_BA.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.ca.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.cs.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.da.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.de.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.el.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.en.yml FEATURE: Make emotion /filter ordering match the dashboard table (#939) 2024-11-21 15:18:31 -03:00
server.en_GB.yml Update translations (#109) 2023-07-25 17:57:58 +02:00
server.es.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.et.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.fa_IR.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.fi.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.fr.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.gl.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.he.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.hr.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.hu.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.hy.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.id.yml Update translations (#894) 2024-11-05 16:55:54 +01:00
server.it.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.ja.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.ko.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.lt.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.lv.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.nb_NO.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.nl.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.pl_PL.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.pt.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.pt_BR.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.ro.yml Update translations (#664) 2024-06-11 17:20:49 +02:00
server.ru.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.sk.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.sl.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.sq.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.sr.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.sv.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.sw.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.te.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.th.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.tr_TR.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.ug.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.uk.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.ur.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.vi.yml FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
server.zh_CN.yml Update translations (#929) 2024-11-20 00:21:34 +01:00
server.zh_TW.yml Update translations (#929) 2024-11-20 00:21:34 +01:00