kener icon indicating copy to clipboard operation
kener copied to clipboard

Hide categories from home page (and disable category pages)

Open ktdd opened this issue 10 months ago • 4 comments

First of all, great app!

Is your feature request related to a problem? Please describe. I'd like to display only Home category monitors on front page.

Describe the solution you'd like A setting to select which categories to display on front page in addition to Home.

Describe alternatives you've considered For now I removed category block from src/routes/(kener)/+page.svelte. I also added the following to src/routes/(kener)/+page.server.js load():

if (query.get("category")) {
  throw redirect(307, "/");
}

which routes every valid and invalid category page back to home page. It would be great if this was customizable in settings.

ktdd avatar Feb 26 '25 08:02 ktdd

I did not understand, Please help me understand. You have 3 categories let us say home, api-category, other-category and you want to show home and api-category as default?

rajnandan1 avatar Feb 26 '25 15:02 rajnandan1

Let's say I have two categories to make this simple, Home and Private_1.

Image

I would like to hide Private_1 from front page. I would also like ?category=Private_1 to redirect back to front page. (You could also redirect non-existing categories automatically back to front page instead of displaying an empty page)

Perhaps like so:

Image

ktdd avatar Feb 26 '25 20:02 ktdd

So for all the monitors in private_1, you don't want to show them in the UI, but still be able to run the monitors in background?

rajnandan1 avatar Feb 27 '25 05:02 rajnandan1

Yes, exactly.

ktdd avatar Feb 27 '25 06:02 ktdd

@rajnandan1 I'd like to know the current status of this issue, as it is currently needed for me

rohith1222004 avatar Apr 30 '25 09:04 rohith1222004

This is released

rajnandan1 avatar May 06 '25 18:05 rajnandan1