-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add ability to hide forms trash #690
Comments
@getodk/testers, this issue is now ready to be verified. It is available on the staging server. There is a new button at the top of the form trash section to show or hide the trash. The trash is shown by default. The choice/preference to show or hide the trash is saved on the backend. For example, if you hide the trash, then you refresh the page or open the page in a new tab, you should see that the trash is still hidden. Hiding the trash in one project will not hide the trash in another project: the choice to hide the trash is limited to the individual project. |
The choice/preference to show or hide the trash is also limited to the user. For example, if I hide the form trash in a project, then another user visits the same project, the other user should see that the trash is visible, not hidden. |
Tested with Success! @matthew-white Is there a possibility to add something similar for the Archived Projects section? |
Ah that's a good idea! I've added it to #719 so we don't lose track of it. |
Hmmmm I've not seen that other caret before (the black one), on Firefox nor on Chromium. Are you on Safari? |
ah, yeah. a little -webkit-appearance: none usually sorts that out. |
I'm not sure that @brontolosone has easy access to Safari, but I took a quick look at this. Just to say it explicitly, this is a This article on MDN suggests This other article on MDN suggests using a pseudo-element: ::-webkit-details-marker { display: none; } I tried that out, and it worked. 🎉 In general, we're not targeting Safari these days, but I think it makes sense to make this small fix, since it's easy to do. @brontolosone, would you mind adding that to your PR when you make the other changes? #form-trash-list summary::-webkit-details-marker { display: none; } |
@yanokwa brought up the idea of hiding the forms trash so that the page appears less messy. From Slack:
I've filed #689 about saving user preferences. Whether the trash is shown or not could be one of those preferences.
The text was updated successfully, but these errors were encountered: