-
-
Notifications
You must be signed in to change notification settings - Fork 186
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 "starts with" search filter #617
Comments
Can I give it a try ? |
Awesome! Let me know if you have any questions or would like any help (whether vague or detailed) 🤝 |
@whyboris Should we expect |
Thank you for the question! Feels like I'm not sure about I don't have a strong opinion on the One option is to simply use the Video-Hub-App/node/main-support.ts Line 276 in e2ab8f6
(but it does not touch the - )
|
Thanks @whyboris. Currently the filter works for both file name and partial path. Would it be ok , just to make it work for the |
I think the easiest (from code perspective and conceptual simplicity for the user) this feature (in this Issue) can just use I was guessing that a simple way to do it would be to create a new The biggest challenge I see with this feature is going around all the files and correctly adding the relevant pieces for the UI to show the field, for appropriate text to appear next to the search/filter field, etc. Let me know if you'd like any help 🤝 |
ps - quick note about https://github.com/kanwal019/Video-Hub-App/pull/1/files#diff-84a1283509603799dadbc0d1e879272e0cd9196aa1bd092948cbdf07ba60eca7R279 Feel free to make any changes you'd like for your own fork and/or copy of the software, but I would not want to merge a change (at least at this time) that replaces the |
Sure @whyboris I will have a separate branch for the fix. And I thought the PR was linked just to my copy of the code. |
This will work as expected in the case of |
Sorry I'm unsure if I fully understand. My thought was an addition of a new filter, not editing of any other filter. This would mean all old filters would continue to behave as before with no change. The new filter, if enabled, would have its own To make this work we'd need also to create a new Please let me know if you're unsure about what I'm requesting with this feature, or about the implementation that I'm describing, or anything else 🤝 Thank you for your continued interest 🙇 though of course no worries if you ever want out 👌 |
I guess I misunderstood the requirement before. I would try to give a shot to the above approach and revert. Thank You @whyboris . |
@whyboris I think, I need to spend some further time with the code to understand it. If someone else can take up on the issue, it will be better :( |
No worries at all! 👌 |
I would need to dedicate some time to get familiar with the code base. Probably, after that I would be in a condition to contribute towards the application. |
No worries at all 👌 |
Hello! may I give it a try too? |
@mschristo - thank you for the offer! Please give it a try & feel free to reach out with any questions 🤝 ps - if you ask for help, let me know if you'd prefer generic help (an outline of how things can be solved), or specific help (point to files and lines of code), or something in-between. I wouldn't want to ruin a good puzzle 😁 |
Is this still relevant ? I would like to contribute on this issue 😄 |
Hey @Herty94 - I think it's still worth adding this small feature to the app 🤔 |
What's done:
Place for improvement:
|
Thank you 😄 Please only add to the You could trace out how text labels connect by tracing it out. For example "video name has" in the sidebar https://github.com/whyboris/Video-Hub-App/blob/main/i18n/en.json#L341 And the accompanying text in the settings menu: https://github.com/whyboris/Video-Hub-App/blob/main/i18n/en.json#L48 Notice the pattern of ps - I can mess with the icon to make it fit 👌 |
I've added translation and fixed formatting. I hope it's okay now 😊. You can check PR #832 . |
Thank you @Herty94 - I'll try to merge in the PR over the winter when I return to VHA development 🤞 ❤️ 🙇 |
Simple and easy. May be useful when you remember the beginning of the word, but don't want the app to find the substring match in the middle of other words in the file name.
Example:
abc def.mp4
will be matched with a search forde
but notef
✅The text was updated successfully, but these errors were encountered: