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

bounty/fee: fixes formula + css cleanup + makes fee editable #4244

Merged
merged 16 commits into from
Apr 24, 2019

Conversation

thelostone-mc
Copy link
Member

@thelostone-mc thelostone-mc commented Apr 22, 2019

Description
  • cleans up CSS by removing outline across browsers
  • fixes % fee formula
  • removed duplicate code while refactoring
  • fixes rounding off bug when amount is entered as 0.3. IN LIVE
    After fix it looks LIKE THIS

No change in behavior but will help when dynamic fee PR is being built out

@codecov
Copy link

codecov bot commented Apr 22, 2019

Codecov Report

Merging #4244 into master will increase coverage by <.01%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4244      +/-   ##
==========================================
+ Coverage   30.13%   30.13%   +<.01%     
==========================================
  Files         209      209              
  Lines       16692    16694       +2     
  Branches     2230     2230              
==========================================
+ Hits         5030     5031       +1     
- Misses      11481    11482       +1     
  Partials      181      181
Impacted Files Coverage Δ
app/dashboard/views.py 13.62% <0%> (-0.02%) ⬇️
app/dashboard/models.py 55.79% <100%> (+0.02%) ⬆️

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 f700ddb...918a1dc. Read the comment docs.

@danlipert danlipert mentioned this pull request Apr 23, 2019
19 tasks
octavioamu
octavioamu previously approved these changes Apr 23, 2019
@@ -624,6 +624,27 @@ $(window).on('load', function() {
});
});

var check_balance_and_alert_user_if_not_enough = function(tokenAddress, amount) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we try and reuse the one in shared.js @danlipert ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thelostone-mc yeah I think so, its just one line difference essentially

@thelostone-mc thelostone-mc added 3 and removed 2 labels Apr 24, 2019
@thelostone-mc thelostone-mc requested a review from SaptakS April 24, 2019 13:26
octavioamu
octavioamu previously approved these changes Apr 24, 2019
@danlipert danlipert merged commit 09b22cd into master Apr 24, 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.

4 participants