Current UX leaves a lot to be desired given how this tool has evolved. We need to add a checkbox next to / in a new TD for each of the TLD's.
Problem - It's unclear how to "cherry pick" a TLD using the bulk editor
TODO
Add a checkbox / th / td to the interface - .5 hours
Implement a setter for the checked inputs
Should set all of the inputs on the current page (for reasons explained below)
Server side component should array_unique the tld's, and store the TLD's as a serialized array
TODO - Make sure the TLD format is normalized for the other views (ie - .com vs com, .co.uk vs. co.uk)
Current UX leaves a lot to be desired given how this tool has evolved. We need to add a checkbox next to / in a new TD for each of the TLD's. Problem - It's unclear how to "cherry pick" a TLD using the bulk editor
TODO
$enom_pro->getSavedTLDS*() return array('.com', '.co.uk');
$enom_pro->isTLDSaved() return (bool);
Tests
getSavedTLDs
shouldreturn array()
by defaultgetSavedTLDs
shouldreturn array('.com');
aftersetSavedTLDs(array('.com', 'com'))
is calledisTLDSaved
shouldreturn false
by defaultisTLDSaved('.com')
shouldreturn true
aftersetSavedTLDs(array('.com'));