• Jiaan Louw's avatar
    Refactor and apply suggestions to WeightSelect · a404a66b
    Jiaan Louw authored
    Refactor WeightSelect component
    
    Remove value prop as it is not required since
    the weight is set by the board property.
    
    Migrate board/weight_select_spec to jest
    
    Migrate from karma to jest spec and update
    specs for new component.
    
    Prettify weight select files
    
    This applies prettier to the WeightSelect
    component and its spec file.
    
    Remove nextTick from WeightSelect
    
    Update WeightSelect component and spec
    
    Reference weight select container by ref instead
    of classname.
    
    Update weight select component spec
    
    Add test for canEdit property.
    
    Update weight select components and sepcs
    
    Remove ref used to test div click.
    
    Prettify weight select spec
    
    Remove jquery weight_select component
    
    Remove the old and unused weight_select component
    and its reference.
    
    Update weight select specs
    
    Fixes the rspec weight board specs
    Improves the jest spec with each.it block
    
    Add changelog entry for component refactor
    
    Remove unused data prop from WeightSelect
    
    Prettify weight_select spec
    
    Apply suggestions to WeightSelect
    
    Changes apply to both the component and spec files
    
    Undo changes made to the old weight_select files
    
    This touches the changes to issues/form.js and the
    old jqiery weight_select component.
    a404a66b
12588-refactor-weightselect.yml 101 Bytes