Commit graph

367 commits

Author SHA1 Message Date
Georg Gadinger
c14bae74d5 attempt to add pg_search
this commit is an attempt at building a search functionality using only
the stuff provided by postgresql

it is, unfortunately, painfully slow:

    PgSearch::Document Load (7869.1ms)  SELECT "pg_search_documents".* FROM "pg_search_documents" INNER JOIN (SELECT "pg_search_documents"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("pg_search_documents"."content"::text, ''))), (to_tsquery('simple', ''' ' || 'awoo' || ' ''')), 0)) AS rank FROM "pg_search_documents" WHERE ((to_tsvector('simple', coalesce("pg_search_documents"."content"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'awoo' || ' ''')))) AS pg_search_ce9b9dd18c5c0023f2116f ON "pg_search_documents"."id" = pg_search_ce9b9dd18c5c0023f2116f.pg_search_id ORDER BY pg_search_ce9b9dd18c5c0023f2116f.rank DESC, "pg_search_documents"."id" ASC LIMIT $1  [["LIMIT", 10]]
2023-10-22 18:13:26 +02:00
Andreas Nedbal
af3caf9be1 Fix stylelint nit 2023-10-17 20:14:28 +02:00
Andreas Nedbal
5ccdd9bbc2 Remove answerbox-specific sharing feature 2023-10-17 20:14:28 +02:00
Andreas Nedbal
3feb827b16 Add support for sharing dialog in inbox answer sharing 2023-10-17 20:14:28 +02:00
Karina Kwiatek
f7b9d90e28 Appease the dog overlords 2023-04-29 09:34:28 +02:00
Karina Kwiatek
e307204375 Navigate between traversable elements regardless of parent element 2023-04-29 09:34:28 +02:00
Karina Kwiatek
a64a4699b0 Add Stimulus controller for navigation shortcuts 2023-04-29 09:34:15 +02:00
Karina Kwiatek
ceb55c656e Appease the dog overlords 2023-03-10 21:06:11 +01:00
Karina Kwiatek
abff39557d Allow multi-line comments 2023-03-07 17:57:41 +01:00
Karina Kwiatek
1dbcb3dd6f Appease the dog overlords 2023-03-05 15:58:18 +01:00
Karina Kwiatek
1cec1d0423 Fix print styling for 2FA recovery codes page 2023-03-05 15:51:50 +01:00
Karina Kwiatek
2d6ff76461 Appease the dog overlords 2023-02-12 20:19:50 +01:00
Karina Kwiatek
de73532bef Show indicator for pinned answers 2023-02-12 20:19:50 +01:00
Andreas Nedbal
83aa4ed1bc Implement new sharing layout 2023-02-05 21:54:51 +01:00
Andreas Nedbal
520d77bb44 Let relevant style overrides use the new raised text colors 2023-01-29 20:44:40 +01:00
Andreas Nedbal
a0a7f4e124 Add raised-text and raised-accent-text theme variables 2023-01-23 23:36:38 +01:00
Karina Kwiatek
596c1c5240 Remove underline on smiles list 2023-01-15 12:40:48 +01:00
Andreas Nedbal
8b4909ab80 use height limiting instead of legacy line-clamp 2023-01-13 15:58:07 +01:00
Andreas Nedbal
0d41da54b8 Fix layout for inbox entries as well 2023-01-12 23:21:08 +01:00
Andreas Nedbal
f0b9a00923 Fix alignment of collapsibles in question headers
Co-Authored-By: Georg Gadinger <nilsding@nilsding.org>
2023-01-12 23:17:09 +01:00
Andreas Nedbal
430cfa1a38 Add RGB variables for some theme colors 2023-01-12 21:03:44 +01:00
Andreas Nedbal
3258ea4f0b Implement shared collapse partial 2023-01-12 21:03:44 +01:00
Andreas Nedbal
e8657891a9 Add wrapper -body classes to answerbox sections 2023-01-12 21:03:44 +01:00
Andreas Nedbal
c93255338e Add dev indicator to guest navbar 2023-01-11 22:24:16 +01:00
Andreas Nedbal
9150d09960 Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-01-11 22:24:16 +01:00
Andreas Nedbal
8e915e1c0a Add dev env indicator to navigation 2023-01-11 22:24:16 +01:00
Andreas Nedbal
7970838659 Remove superfluous focus styling 2023-01-10 20:54:13 +01:00
Andreas Nedbal
6fa26340ef Add bigger shadow to popover 2023-01-10 20:53:55 +01:00
Andreas Nedbal
122935e723 only show formatting help on focus/hover in inbox entries 2023-01-10 16:05:50 +01:00
Andreas Nedbal
30933e6ca1 Add Stimulus controller to launch format popup 2023-01-10 15:49:52 +01:00
Georg Gadinger
b728c494d7 remove flag leftovers 2023-01-05 10:37:44 +01:00
Andreas Nedbal
84fcfb41a3 Fix Sass deprecation warnings 2023-01-05 10:35:52 +01:00
Andreas Nedbal
b7c7838b96 Make code HTML elements monospace again 2023-01-05 10:35:52 +01:00
Andreas Nedbal
0e97c7c80a Fix badge colors in various places 2023-01-05 10:35:52 +01:00
Andreas Nedbal
da7e30f459 Remove link underlines in some places 2023-01-05 10:35:52 +01:00
Andreas Nedbal
68dd6da1f2 Remove and adjust jumbotron usage 2023-01-05 10:35:52 +01:00
Andreas Nedbal
c878862730 Remove xxl container width 2023-01-05 10:35:52 +01:00
Andreas Nedbal
97f522e0b3 Remove Bootstrap CSS variable prefix 2023-01-05 10:35:52 +01:00
Andreas Nedbal
1ac4123e2d Replace map-get with map.get 2023-01-05 10:35:52 +01:00
Andreas Nedbal
eaaed57759 Fix initial variable overrides for Bootstrap 2023-01-05 10:35:52 +01:00
Andreas Nedbal
c463055cc8 Add new required Bootstrap partials 2023-01-05 10:35:52 +01:00
Andreas Nedbal
22491b19a6 Bring back pull-* utilities 2023-01-03 17:21:09 +01:00
Andreas Nedbal
077958bc5c Install Font Awesome 6 2023-01-03 17:21:09 +01:00
Andreas Nedbal
2bb4f5355c Fix asset root paths 2023-01-03 14:14:23 +01:00
Andreas Nedbal
8d970ce47b Fix Lexend font path 2023-01-03 14:14:23 +01:00
Andreas Nedbal
8c9dc92afb Move stylesheets back to app/assets/stylesheets 2023-01-03 14:14:23 +01:00
Andreas Nedbal
008f3c7b5d Move stylesheets from assets into javascript/styles/ 2022-01-11 22:41:37 +01:00
Andreas Nedbal
aeb8f32fac Remove jquery.growl CoffeeScript and styling 2022-01-09 19:55:17 +01:00
Andreas Nedbal
f4d32c5cd1 Use Toastify instead of jquery.growl for notifications 2022-01-09 19:55:17 +01:00
Andreas Nedbal
41a7c89dae Make icons on buttons clickthrough to properly catch events 2022-01-03 16:33:06 +01:00