-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Allow newTabMenu
's matchProfile
to work with regex
#18553
Comments
Bonus: we should move |
Hi @carlos-zamora |
Hi @VishnuSrivatsava! Thanks for expressing your interest. 😊 Here's some notes that might be helpful for you:
The idea here is basically to move the ICU code into TIL so that we can use it throughout the codebase. Once that's done, it should be pretty easy to update
If this is of interest to you, here's a quick walkthrough of what needs to be done:
Hope this helps! |
That was helpful, thanks! Would you like me to work on integrating regex matching into MatchesProfile using ICU now, or should I wait until the ICU refactor in til is complete? Also, is there anything specific you’d like me to focus on? I’d love to contribute, and I recently completed my Microsoft OA—hoping this could be a great way to get started! |
No need to wait. 😊 I say go ahead and add the regex matching into MatchesProfiles now. If you can handle moving over the ICU to As for other ways to contribute, the Help-Wanted tag and good first issue tag are probably a good place to start. Pick whatever looks interesting to you. I've mainly been working on settings UI/model things and accessibility lately so that's personally what I'm focusing on, but I bounce around to other parts of the repo too. |
Thanks! I’ll focus on adding regex matching for now. If I get time later, I’ll look into moving ICU to til as well. |
Hey @carlos-zamora |
.... if you don't have access to a Windows machine to run the tests, then how are you running the Terminal to manually validate 🤔 |
also: I could have swore that regex matching for profiles was in one of the #12584 drafts, but then we cut it for some reason? I can't remember why now. |
I own a Mac as my main machine, so I was just checking if there was a way to run the tests without switching over. I haven’t really implemented much yet—was just exploring the codebase and getting familiar with things. But yeah, I’ll grab a Windows machine when needed. 😅 |
The regex section is at the bottom Future Considerations section. Relevant discussions:
Thinking through it again, People aren't really using
(now for a more spicy thought) Silently changing @zadjii-msft Thoughts? Probably worth discussing at sync on Monday? |
Description of the new feature
Currently,
matchProfile
has 3 ways to get a match:Today, a profile automatically gets picked up by the matcher if it matches one of the 3 fields above. But it has to be an exact match!
It'd be useful if we could allow for regexes to make it easier to get a match.
(Bonus, somewhat related idea) I think it's worth replacing the text box with a dropdown in the UI too. Just let the user directly select a source from the ones already registered.
Proposed technical implementation details
No response
The text was updated successfully, but these errors were encountered: