-
Notifications
You must be signed in to change notification settings - Fork 74
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 defunct and inactive services #675
Comments
@monfresh I want the services for a location sorted by status so that all defunct services are first, inactive ones are second, and active ones are third. Does the API guarantee any sorting for services by status? Or should the client do that? If on the client, where and how? I've looked at putting this in the location_controller:
|
The API does not sort services by status. That should probably be left to the client. However, I personally think Ohana Web Search should just show active services. That would makes things a lot simpler and less confusing to the end user. The intended audience probably does not care to read about defunct and inactive services, so why show them, especially since the red warning about their status will draw their eyes to them? |
I thought I would hide them under a "show inactive & defunct services" button, so the red warning wouldn't be showing by default. From the data admin perspective: say there's a service that is inactive or defunct, an administrator sets it to inactive or defunct. Don't want to show it at all? Delete the entry in the database. From the help seeker perspective: say there's a service they used to use that is now inactive. Suddenly it disappears. What happened to it? Is it gone for good? Is there an error in the website that's preventing it from being shown? Was it never added to the data to begin with? What's going on? I think it's helpful to provide an inconspicuous button where they can see what happened for a service that was once active. Although a caveat to the above—perhaps it's useful to have defunct services in the database that are equivalent to deleted services, but it is not desirable to delete them? Kind of a like a saved draft for a service. If that is true then at very least I would suggest having a means to see inactive services, particularly since a use-case I could see is to edit the description to say when they may be active again. |
Moving the status visibility part of #667 (comment) to its own issue:
The text was updated successfully, but these errors were encountered: