Index and expression page - highlight region if no dataset collection selected after searching
Closed this issue · 2 comments
adkinsrs commented
Currently if the user attempts to search without selecting a collection, a toast-like message (correctly) appears to let the user know to select a collection. But it would be useful to highlight the box they need to change ("is-danger" border) so they will know what to change.
adkinsrs commented
![Screenshot 2024-02-06 at 8 24 46 AM](https://private-user-images.githubusercontent.com/5665914/302702720-1600086e-640e-463a-9d3d-7e1def4a3c1c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3Mzc0NzUsIm5iZiI6MTcyMTczNzE3NSwicGF0aCI6Ii81NjY1OTE0LzMwMjcwMjcyMC0xNjAwMDg2ZS02NDBlLTQ2M2EtOWQzZC03ZTFkZWY0YTNjMWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjNUMTIxOTM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWFkMTdkMjVkMmE5M2E2NGU5NGM2Nzg1ZDczNmRjMzBkOWI0Mzg0OWQ0ZDFhNGJlZTZiMjZhNjYyYWJlNzk5OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ._2S6IzTTqPlGfwWY7dxdxeMe2xIfEFbIDvd7Cv0Nd24)
An example of what I think should happen. May some small help text under to say "this is required". I already have some CSS here
Lines 112 to 127 in 335197d
jorvis commented
For now I've implemented it with coloring only, but no separate label, which can be added later if needed. I tried a few views of it and it didn't fit well with the rest of the form.