[Link Checker GUI] Improve Emails and phone number table - #4518
Conversation
|
@MizukiTemma Some things I found while reviewing the design (not sure if these will be implemented in other issues):
|
I'll include it in #4516 . It goes there cleaner.
Fixed. It's no one's fault but let me complain one thing: |
Thanks for complaining Let's do it like that: When most of the link check GUI issues are done, I'd love to do a design testing as a whole. And when things pop up then which might still be worth improving, I'll create a new issue with these fixes. |
|
design question:
|
I also see those translations in English. others are in German. not sure why 🤷🏻♀️
|
Ooohh, good catch, thanks! Actually no, we don't need it. And if we don't need bulk verifications, we also don't really need the checkboxes/multiselect. Since you can't do anything with selecting multiple mail adresses or phone numbers. I'll take that with me and think about it, and maybe open an additional issue for it since there is also another open question regarding the mail/phone table. So for now I'd keep it as it is implemented at the moment. |
@seluianova It is only necessary to check what is written under Functional Criteria. The details you mentioned are part of other issues, since we cut it in several small packages. |
seluianova
left a comment
There was a problem hiding this comment.
tested Functional Criteria from the issue description, everything looks good to me 👍
I assume the problem with German translations is something local
"Erneut prüfen" does not make sense at all for E-mails and phone numebrs, but "Als überprüft markiern" actually does a change: it sends all selected E-mails/phone numbers to the group of valid link group (although I think this is not the main use model 😅 just want to mention it). |
Yes. But then it will not be visible in the "All Emails"/"All Phone Numbers" table ever again (except if the user does a manual "Verifizierung entziehen" in the other table, which they will never do 😂 ).
Exactly this! -> I need to think this through. |
b1adf9b to
564daac
Compare
|
@m0ndra @seluianova |
Yaaaaaaay I can see German texts! Don't know why but it works for me now. |
hannaseithe
left a comment
There was a problem hiding this comment.
Thank you, for working on this. And making order out of the merge mess that is coming your way!
| placeholder_text = _("Enter new E-mail here") | ||
| elif self.instance.type == "phone": | ||
| placeholder_text = _("Enter new phone number here") | ||
|
|
There was a problem hiding this comment.
I suggest also adding
´´´
self.form.fields["url"].widget.input_type = input_type
´´´
And to determine input_type based on the self.instance.type first. This will give us type="email" on the input field and so we can use the browsers own validation
|
@hannaseithe Currently cross-type link replace is possible: for example, an emal URL can be changed to So, I would leave the PR as is. |
564daac to
92606d6
Compare
92606d6 to
0578d55
Compare
bdea3fa
into
stories/make_link_checker_gui_more_intuitive_2837














Short description
This PR improves the link table for E-mails and phone numebrs.
Proposed changes
Side effects
edit_url_form.pyto accept URL input without "mailto:" or "tel:"Faithfulness to issue description and design
There are no intended deviations from the issue and design.
How to test
Resolved issues
Fixes: #4464
Pull Request Review Guidelines