forgejo/templates
Shiny Nematoda 53d4e90411 [FEAT] folding results for repo search (#4134)
closes #3855

unlike #3854, this implementation uses a generic details html tag and a bit of tailwind magic...

---
## Maintainers Note
- previously tailwind classes of the form `[-a-zA-Z:0-9_.]` was disabled, however they were enabled since they were required for the `group-open:` classes

---

## Manual Testing
1. Visit the code search results after submitting a valid query for repo (if indexer disabled) or repo, user, explore (if indexer enabled)
2. Verify thst
    1. the results are unfloded/open by default
    2. the chevron points down when open and right when closed

<video src="/attachments/5a55c56f-6159-4422-ab80-962e0121e7d2" title="fold2.mp4" controls></video>

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4134
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Beowulf <beowulf@noreply.codeberg.org>
Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
Co-committed-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
2024-06-15 20:16:18 +00:00
..
admin Merge pull request 'Replace gt-word-break with tw-break-anywhere' (#4102) from 0ko/forgejo:ui-replace-gt-word-break into forgejo 2024-06-11 10:39:03 +00:00
api/packages/pypi
base Add slogan config (#3752) 2024-06-07 17:12:48 +00:00
custom
devtest Fix some URLs whose sub-path is missing (#31289) 2024-06-09 16:04:57 +02:00
explore [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
mail Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
org Org buttons add missing vertical padding (#3964) 2024-06-09 18:24:38 +00:00
package Replace gt-word-break with tw-break-anywhere 2024-06-11 08:57:27 +05:00
projects Merge pull request 'Replace gt-word-break with tw-break-anywhere' (#4102) from 0ko/forgejo:ui-replace-gt-word-break into forgejo 2024-06-11 10:39:03 +00:00
repo Cleanup commit graph CSS (#4065) 2024-06-11 19:06:56 +00:00
shared [FEAT] folding results for repo search (#4134) 2024-06-15 20:16:18 +00:00
status Add slogan config (#3752) 2024-06-07 17:12:48 +00:00
swagger Document possible action types for the user activity feed API (#31196) 2024-06-09 11:13:39 +02:00
user Move global issue/pull sidebar filter into an option (#4096) 2024-06-15 16:11:31 +00:00
webhook
home.tmpl Add slogan config (#3752) 2024-06-07 17:12:48 +00:00
install.tmpl Fix wrong error highlighting on install page (#4063) 2024-06-11 19:05:05 +00:00
post-install.tmpl