-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix Flag Mailto Text (Potential FTO) #5873
Comments
Hi! If we can agree on some new text, that sounds great. Also, maybe you can demonstrate that a different encoding works properly? I think we had set this up so that mails triggered in development pop up in a new window using some testing gem trickery... but it's been a while! I think if we use spaces, there was some problem with that. But what you could do is create a few links with such I agree it can be a good FTO because ultimately there ought to be basically a single line fix. I'll add the standard "this could be a good FTO text below from my saved replies in case it's helpful! This has been marked as a good candidate for becoming a first-timers-only issue like these, meaning that it's simple, self-contained, and with some extra formatting, could be a great entry point for a new contributor. If you're familiar enough with this code, please consider reformatting or reposting it as a first-timers-only issue, and then ping @publiclab/reviewers to get it labelled. Or, if this is not your first time, try to solve it yourself! |
Sounds like a good plan @jywarren. Probably because it is, indeed, a plan.
We can discuss in another issue but here's where I'm headed. Right now the tool tip reads
Sure, I'll just do a few on my local installation and give some screenshots of the results. |
Hi, i believe this has been merged into the Flag-as-spam system built in this past summer's new Spam Dashboard in #7885 -- closing! Thanks! |
I think this will make a good FTO but I could use some feedback on this first.
The mailto flagging text uses string concatenation which then creates an email which includes the pluses.
So either it needs to be rewritten with spaces or %20's or put inside template tags either as a variable which is interpolated or using mail_to? If it's the former, should it be spaces and the browser converts the %20's or should the %20's be added ahead of time? If it's the latter, would variables and string interpolation or using mail_to be better?
Related: I also think that the text should be changed. Should I make that a separate issue that is resolved first and then create an FTO, or create this FTO, have that discussion elsewhere, and then we can make another FTO : ) ?
The text was updated successfully, but these errors were encountered: