Closed (fixed)
Project:
Chinese Social Networks Authentication (CSNA)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2013 at 02:53 UTC
Updated:
31 Aug 2013 at 05:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
dydave commentedHi ycshen,
Thanks very much for submitting this feature request with a patch.
Patch code looks very good!
I haven't tested it to check the generated HTML/CSS markup, but would assume it would insert the correct ID for the corresponding provider in the HTML markup.
Several comments though that we would greatly appreciate, for the next time you submit a patch:
This way, it would also trigger the testbot.
We would be expecting a patch named:
csna-add-unique-html-id-2035983-1.patch(if you were to update the ticket in the first comment #1)
Otherwise, I wouldn't see any other issue that could prevent this patch from being applied to the 7-x.1-x development branch.
I would assume @alfababy should be able to get this committed after testing the patch and reviewing again the code.
Once again, thank you very much for your contribution.
Any additional feedback, testing, comments, issues, suggestions, or concerns on any aspects in this ticket or patch would be highly appreciated.
Thanks in advance to all for your comments, testing, reviewing and reporting.
Comment #3
ycshen commentedhi DYdave,
Thank you for your reply and proposal.
I have update my patch.
my patch is :
before patched html is:
after use patch the html will be:
Comment #4
dydave commentedHi ycshen,
Thank you very much for your prompt reply.
Did you see how the first patch you submitted had a parse error?
I didn't catch this error, when reviewing:
return = theme('item_list', array('items' => $items, 'attributes' => array('class' => 'csna-items')));so perhaps it is a little bit clearer to you now why the testbot would be so important for maintainers for testing the submitted patches....
Thanks for submitting an updated, correct patch (which was successfully validated by the testbot), and additional details about the results to expect after applying the patch, for the HTML markup changes.
Let's see if any other users could review and test this patch, maybe @alfababy.
Any additional feedback, testing, comments, issues, suggestions, or concerns on any aspects in this ticket or patch would be highly appreciated.
Thanks in advance to all for your comments, testing, reviewing and reporting.
Comment #5
ycshen commented:)
The testbot is very useful,i like it.
Comment #6
alfababy commentedHi ycshen,
Thanks for your patch, looks it is very useful.
I think you can add prefix on the id, like "csna_provider_$provider_id".
Because we should ensuring that id attributes are unique on a Web page. (Reference)
Cheers.
Comment #7
ycshen commented@alfababy
thank you for your reply.
i have updated the patch,please help review it again.
Comment #8
alfababy commentedCommit it on 9912c56.
Thanks ycshen.
Comment #9
alfababy commented