Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove button class disabled and css for disabled button #4337

Merged
merged 1 commit into from
May 6, 2019

Conversation

shad-k
Copy link
Contributor

@shad-k shad-k commented Apr 30, 2019

Description

Removed the addClass('disabled') for button and css for button:disabled selector.

Refers/Fixes

Fixes #4315

@codecov
Copy link

codecov bot commented Apr 30, 2019

Codecov Report

Merging #4337 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4337      +/-   ##
==========================================
- Coverage    30.2%   30.16%   -0.04%     
==========================================
  Files         209      209              
  Lines       16776    16776              
  Branches     2245     2245              
==========================================
- Hits         5067     5061       -6     
- Misses      11519    11525       +6     
  Partials      190      190
Impacted Files Coverage Δ
app/dashboard/embed.py 28.16% <0%> (-3.45%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1037a2c...670d4bc. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Apr 30, 2019

Codecov Report

Merging #4337 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4337      +/-   ##
==========================================
- Coverage    30.2%   30.16%   -0.04%     
==========================================
  Files         209      209              
  Lines       16776    16776              
  Branches     2245     2245              
==========================================
- Hits         5067     5061       -6     
- Misses      11519    11525       +6     
  Partials      190      190
Impacted Files Coverage Δ
app/dashboard/embed.py 28.16% <0%> (-3.45%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1037a2c...670d4bc. Read the comment docs.

@owocki
Copy link
Contributor

owocki commented Apr 30, 2019

the button should only be disabled if the validation fails. this just removes the disabled button in all cases..

@shad-k
Copy link
Contributor Author

shad-k commented May 1, 2019

the button should only be disabled if the validation fails. this just removes the disabled button in all cases..

@owocki I have only removed the button:disabled selector, the button.disabled more specific selector is still there. So the disabled button still exists and the button is disabled when the validations are not met.

@owocki
Copy link
Contributor

owocki commented May 1, 2019

thanks; how did you test? i noticed you left out the 'Testing' section of the template...

@shad-k
Copy link
Contributor Author

shad-k commented May 1, 2019

thanks; how did you test? i noticed you left out the 'Testing' section of the template...

I ran the tests already written but haven't written any new tests for this. Rest was mostly manual.

@owocki
Copy link
Contributor

owocki commented May 3, 2019

ok so you tested the validation working + not working states on gitcoin.co/new on your local @shad-k ?

@danlipert @thelostone-mc code LGTM; let me know what u think

@shad-k
Copy link
Contributor Author

shad-k commented May 3, 2019

@owocki yes

@thelostone-mc
Copy link
Member

LGTM 🙌

@thelostone-mc thelostone-mc merged commit 0efa860 into gitcoinco:master May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug - 'fund issue' button on gitcoin.co/new is always greyed out
3 participants