basxsoftwareassociation / bread

Engine to create database applications based on Django and the IBM Carbon Design System
BSD 3-Clause "New" or "Revised" License
19 stars 2 forks source link

DjangoQL Search Implementation in BrowseView #127

Closed dward2nd closed 2 years ago

dward2nd commented 2 years ago

This is the continuous work from the previous pull request #110 suggested by @saemideluxe.

To enter the advanced search mode, type = at the beginning of the search text box.

Screen Recording 2022-01-25 at 午後04 02 20

This will bring the DjangoQL completion as well. Users can begin to type in using DjangoQL syntax instead of finding the substring like we used to do it before.

Known Issues

dward2nd commented 2 years ago

I think I want a few more changes. My biggest question would be: Is there a specific reason, that we cannot use a single input element to handle both cases?

In my opinion, I prefer it to be just a normal text box rather than textarea. But that would be interesting if we can just use textarea to handle searching in both ways. What do you think?

saemideluxe commented 2 years ago

I think I want a few more changes. My biggest question would be: Is there a specific reason, that we cannot use a single input element to handle both cases?

In my opinion, I prefer it to be just a normal text box rather than textarea. But that would be interesting if we can just use textarea to handle searching in both ways. What do you think?

Yes, I think it would be a good idea to explore. I suggest you give it a try, but if it is more complicated code, then we can stay with two inputs.

saemideluxe commented 2 years ago

Closing this for now, might reopened when we get back to this feature.