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

Add support for showing BTC and USD (or local) currency prices. #27

Open
wants to merge 33 commits into
base: feature/multichain
Choose a base branch
from

Conversation

sondreb
Copy link
Collaborator

@sondreb sondreb commented Jan 18, 2019

  • Adds support for showing both BTC and USD.
  • Depending on the API used to get prices, the USD price might come from API, or might be calculated based on BTC rate.
  • If price is available in USD, then the actual BTC price is derived from USD of the coin.
  • Changes from double to decimal types for money-related objects.

… by release pipeline.

- Move custom style to extra .css to ensure update/refresh in deployment.
- Replace the unicode BTC character with the one from Font Awesome.
- Add support for customize the top header logo.
- Temporary URL until gitbook editing is completed.
@imclint21
Copy link
Owner

@sondreb it's good, can I merge ?

@sondreb
Copy link
Collaborator Author

sondreb commented Apr 28, 2019

Yes, please merge if you can :-)

@imclint21
Copy link
Owner

Yes, do you know why the build failed ?

sondreb and others added 6 commits May 26, 2019 23:47
- Disk space will eventually run out, user must then manually expand both on Azure, and the partition within the Linux OS.
- Needs a specified private IP address.
- Upgrade Ubuntu from 16 to 18.
- Was linking to wrong repo, fixed by updating the URLs.
@@ -1,9 +1,9 @@
# Stratis.Guru Documentation
# City Chain Explorer Documentation
Copy link
Owner

Choose a reason for hiding this comment

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

Is it multichain or citychain Oo

@imclint21
Copy link
Owner

Said me when I need to merge

- The stats now returns HTML if no query version is supplied, this made the block explorer crash as it was looking for a JSON result.
- Adds a custom tag helper to display coin, making it possible to individually style it.
- The status value has changed first letter capitalization in the Nako API, and the explorer was using dynamic object type. Entity model for status has been added.
- Remove third party scripts, not needed and avoid tracking.
- Fix a bug with red/green on coin movement on an address.
- Add additional properties on the block details.
- More details for transactions with improved input/output section.
- Removed some links that was not needed.
- Reverted previous color change for in/out for coins.
- The hero graphics was PNG and almost half a MB in size.
- Changed the image type to JPG, reducing file size to only 35KB.
- Fix the link, was going to .png and not new .jpg.
- Re-saved the png into jpg with a tiny bit higher quality.
- Add version in path to CSS files.
- Return an empty Ticker instance when failing.
- Adds logging of exception when ticker is not retrieved.
- Improve error handling on the CoinTagHelper, it does throw exception from time to time.
- Perhaps this should not be linked at all, as the user is already looking at the block and link goes to itself, but at least this will no longer give 404 messages.
- When there is no value for the parameter option, the generated links are invalid. Adds check for value and outputs different markup when there is no value to link to.
- Adds error handling and logging to the API.
- Improve the documentation, updating URLs and examples to be correct.
Update URLs to use sub-domain (www) due to recent updated with the certificate generation not supporting bare-domains.
- The Block Explorer did not show decimal correctly for Norwegian culture, this should fix it for all different cultures.
- Add XDS to the explorer.
- Missing details such as website, needs to be added later. Reusing the City Coin icon until another is available.
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.

2 participants