Closed (fixed)
Project:
Content Analysis
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2012 at 05:01 UTC
Updated:
13 Jan 2015 at 07:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mgiffordChanging status for bot.
Comment #2
jonathan_hunt commentedPlease commit. It's a lot easier to contribute to a module when it follows the code standards.
Comment #3
berdyshev commentedSecond pass through the code:
- fixed comments for hook implementations
- removed double brackets from simple strings
- refactored block hooks' implementations according drupal standards
- removed debug code and commented code
- another small fixes according standards
Still needs work:
- refactoring repeating code
- implement theme function using hook_theme (now these are just functions)
- fix output generation to use theme functions or render arrays
- there is some strange page callback which does nothing: contentanalysis_util()
Comment #4
podaroka lot of trailing whitespaces
trailing whitespaces
trailing whitespaces
You have to remove debug data
You have to remove debug data
You have to remove debug data
You have to remove debug data
You have to remove debug data
trailing whitespace
looks like this part of documentation better move to phpdoc block
this part of docs have no Drupal styling
trailing whitespace
trailing whitespace
trailing whitespace
Comment #5
berdyshev commented@podarok, I have fixed all your comments
Comment #6
berdyshev commentedchanging status to needs review
Comment #7
berdyshev commentedoops, incorrect diff
Comment #8
podarokgood to see here
-webkit- (Chrome, Safari)
-o- (Opera)
support CSS
debug functions
debug functions
trailing whitespaces
debug code
looks like a weird code - $ret used twice without any logic
variable naming hell
analysis
analysis
analisisi
status
statusi
brrrrrrrrrrrr
Comment #9
berdyshev commented- fixed issues pointed by @podarok in comment #8
- removed contentanalysis.admin.css since it was empty
- page callback, which just was rendering form, replaced with proper implementation of menu router.
- removed menu route
contentanalysis/utilwhich did nothingComment #10
berdyshev commentedupdating status
Comment #11
berdyshev commentedupdated patch and interdiff with patch in comment #7
Comment #12
podarokYou need generic box-shadow too
FYI http://www.w3.org/TR/css3-background/#box-shadow
the same - generic border radius
http://www.w3.org/TR/css3-background/#the-border-radius
all other - looks good!
Comment #13
berdyshev commented@podarok, thanks. I have fixed those issues and attached final patch.
Comment #14
podarokdebug code
all other looks good
Comment #15
podarokand please...
do interdiffs
Comment #16
berdyshev commentedthanks, fixed
Comment #17
podarok#16 the end
Thanks!!!
Comment #18
gumanist commentedoriginal code:
your replacement
should be
Comment #19
berdyshev commented@gumanist, thanks, fixed
Comment #20
podarok#19 thanks!
Looks nice and really clean
Comment #21
gumanist commentednot really :)
not equal replacement
it is a good practice to put standards version of style under the vendor prefixed. for example:
should be
use same syntax for all url(). now patch contains few implementations:
same is for colors naming, parameters order
"Implementation of" is deprecated
Comment #22
berdyshev commented@gumanist, thanks, I've fixed it, please review
Comment #23
berdyshev commentedupdating patch with some improvements of the CSS
Comment #24
berdyshev commentedComment #25
podarok#24 nice
Comment #26
trigdog commentedWhat is the status of this being reviewed and committed to the dev?
Comment #27
kyletaylored commentedPatch will be committed in the next release. Thanks!
Comment #27.0
kyletaylored commentedadding note about block.
Comment #28
kyletaylored commented