the-hideout / tarkov-dev

The official site for tarkov.dev - A web app to track item prices, view trader barters, quests, maps, and much more!
https://tarkov.dev
MIT License
145 stars 52 forks source link

Add min price line to price history chart #765

Closed Razzmatazzz closed 10 months ago

Razzmatazzz commented 10 months ago

image

The average price line is solid (as previously), and the new minimum price line is dashed.

Previously, the price line would be red or green depending on if the price had gone down or up in the last two days. This changes it so that each line are either red or green depending on if the average or minimum price has gone up or down from the start of the graph to the end of the graph.

Also makes the minimum for the chart dynamic to show a better range for items with a higher price floor: image

github-actions[bot] commented 10 months ago

👋 Thanks for opening a pull request!

If you are new, please check out the trimmed down summary of our deployment process below:

  1. 👀 Observe the CI jobs and tests to ensure they are passing

  2. ✔️ Obtain an approval/review on this pull request

  3. 🚀 Deploy your pull request to the development environment with .deploy to development

  4. 🚀 Deploy your pull request to the production environment with .deploy

    If anything goes wrong, rollback with .deploy main

  5. 🎉 Merge!

Note: If you have a larger change and want to block deployments, you can run .lock --reason <reason> to lock all other deployments (remove with .unlock)

You can view the branch deploy usage guide for additional information

Razzmatazzz commented 10 months ago

.deploy

github-actions[bot] commented 10 months ago

Deployment Triggered 🚀

Razzmatazzz, started a branch deployment to production

You can watch the progress here 🔗

Branch: price-history-min

github-actions[bot] commented 10 months ago

Deployment Results ✅

Razzmatazzz successfully deployed branch price-history-min to production

Environment URL: tarkov.dev