-
Notifications
You must be signed in to change notification settings - Fork 569
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
Issue 315 - Add Chart Clamp To Settings Dropdown #373
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason this causes a full reset of the price chart whenever you click on one of the dropdowns for settings or indicators. To reproduce, just zoom or pan the chart, then click the cog. I found it quite frustrating so please look into it to see if it can be fixed.
@@ -36,6 +36,7 @@ class CandleStickChartWithZoomPan extends React.Component { | |||
this.state = { | |||
enableTrendLine: false, | |||
enableFib: false, | |||
clampEnabled: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This variable isn't used anywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed and recommitted.
@svk31 the chart behavior you described exists already due to the way its rendering the chart on update. You can see this by checking out the bitshares/master branch without this update and repeating the steps you mentioned. Since this is outside of the scope of this feature, we can create a new bug to address the fix. I don't like it either, but I'm not sure there is a way around this with the current library. |
No I'm afraid this behaviour does not exist in the current version in staging without these changes. |
@fletchertyler914 Should I push this to next Sprint? We are releasing tomorrow. |
@svk31 I just pulled the current staging branch and it is doing this same behavior for me. If i zoom in on the chart and click the settings cog it will reset the zoom. Actually I just checked master, bitshares, and staging and they are all doing the same thing for me. Is this not happening for anyone else? @wmbutler? |
@svk31 I just cloned this repo, ran the master branch, and the behavior still exist. If it matters, I am running Chrome v60 on a Windows 10 machine. It's definitely an issue that was already there since this wasn't running my fork. |
@svk31 This is a really weird disconnect here. Did you see tyler's screencast? |
Ok I see what's happening, I have made a local modification of my react-stockcharts files as shown in this PR rrag/react-stockcharts#332. That fixes the issue in the current version, but it reappears when the clamp is introduced. |
* Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint.
* Update README.md * Issue 315 - Add Chart Clamp To Settings Dropdown (#373) * Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint. * More intuitive vesting stats in UI - issue #294 * pending_vested_fees->pending_immediate_fees * Fees terminology I took a stab at this. * Remove fees_pending and fees_vested text, update fee texts #294
* Update README.md * Issue 315 - Add Chart Clamp To Settings Dropdown (#373) * Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint. * Fix #358b lowercase username <li> * Header.jsx lowercase accountnames Remove vertical-align per comment
* Update README.md * Issue 315 - Add Chart Clamp To Settings Dropdown (#373) * Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint. * resolve conflict * Update README.md * adopt 'Burn asset' nomenclature #590 * update README
* Update README.md * Issue 315 - Add Chart Clamp To Settings Dropdown (#373) * Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint. * resolve conflict * Update README.md * Fix #580 add linethrough class * Fix #580 Annual fee
* Update README.md * Issue 315 - Add Chart Clamp To Settings Dropdown (#373) * Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint. * resolve conflict * Update README.md * Local Wallet Login
* Update README.md * Issue 315 - Add Chart Clamp To Settings Dropdown (#373) * Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint. * resolve conflict * Update README.md * Update README.md * clean up readme
* Update README.md * Issue 315 - Add Chart Clamp To Settings Dropdown (bitshares#373) * Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint. * resolve conflict * Update README.md * Update README.md * clean up readme
* Update README.md * Issue 315 - Add Chart Clamp To Settings Dropdown (#373) * Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint. * Remove transwiser.com from Content Security Policy
* Update README.md * Issue 315 - Add Chart Clamp To Settings Dropdown (bitshares#373) * Add Chart Clamp To Settings Dropdown * Removed Unused Variable Merging as is and then we'll see about handling the redraw bug in the next sprint. * Remove transwiser.com from Content Security Policy
#315 Fix. Add Toggle In Settings Dropdown.