-
Notifications
You must be signed in to change notification settings - Fork 19
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
"send-an-email-on-DLC-by-midnight" became "Send an email" #191
Comments
This might be related to #164 |
Yeah, this is a duplicate of #164. Leaving this open because I think it's still an issue, this is a bad user experience! Now I have to be afraid that my descriptions will be wrong and check them every time, that seems contrary to the idea of "commits.to is fast and easy: just type a url and you're done". |
This is caused by a specific line in Sherlock:
To fix this specific bug, all that needs to be done is to set |
so i spent a little time trying this out, and while it does work, it actually ends up being this abomination:
because the sherlock package expects to see it also assumes that if the i kind of want to modify either the |
Related example: Conditional deadlines like that may not be too common (I do like them a lot though) but I'd still prefer the solution of excising all the magic here and humanizing the URL (by which I mean constructing the default title based on the URL) by doing nothing but replacing underscores with spaces and not trying to remove the due date. |
@dreeves, I've opened a PR which excises all magic, that's my favorite solution. |
another example of overclever URL parsing: ie, can we please accept @lithp's PR? |
the PR needed some changes before it was ready to accept as-is (not parsing the title) but the better solution would be to fix sherlock my es6 branch of sherlock is in pretty good shape: neilgupta/Sherlock@master...commitsto:es6 if we can get a list of all the parsing issues and get some sherlock tests created, we should be able to solve this pretty quickly then ideally we can keep incrementally improving the parsing of sherlock which improves the app without too much overhead (or duplication) |
When I typed the url
http://brian.commits.to/send-an-email-on-DLC-by-midnight
the Title becameSend on email
, instead of my intendedSend an email on DLC
. I'm guessing it's because "on" was parsed as a date and truncated from the title, even though some subsequent code-path failed to recognize "DLC" as a date?The text was updated successfully, but these errors were encountered: