Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hide toki/ titles with no toki #41

Open
alifeee opened this issue Feb 14, 2024 · 1 comment
Open

hide toki/ titles with no toki #41

alifeee opened this issue Feb 14, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed styling Design or CSS styling is required

Comments

@alifeee
Copy link
Member

alifeee commented Feb 14, 2024

when on the toki/ page, titles (like sona/ma/musi/etc) should be hidden, when they contain no content

for example, when the search bar is used

the current way that search works (hide toki if they do not match search query) will make this difficult to do. search might have to be rethunk

@alifeee alifeee added enhancement New feature or request help wanted Extra attention is needed styling Design or CSS styling is required labels Feb 14, 2024
@alifeee
Copy link
Member Author

alifeee commented Mar 11, 2024

Use Alpine in a similar way to the toki, but with a has in the title of "author", "title", "issue", of each of the containing toki, separated by newline, and filter with string.contains, the same way it works on the toki

This should catch the same search, and newlines should be ignored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed styling Design or CSS styling is required
Projects
None yet
Development

No branches or pull requests

1 participant