Land Stats Update Week: Technical Improvement and New Features (Burn Data)

in PRAETORIA7 hours ago

Welcome back splinter-land lovers,

This week we have another update some features some technical parts all rolled into one.
If you do not fancy reading the complete post just head straight to the site
https://land.spl-stats.com/

So without further ado let’s summarize the changes.

✨ Features

  • Land card bonuses are updated in the region overview
  • Divide the ability boost PP per resource also for the counts
  • Add land details to the deed overview part 1
  • Add land card import
  • Add Daily Burn Tracking request of @azircon and @aftersound

🛠️ Technical Improvements

  • NavBar moved from tabs to pages
  • Selected player context in stead of search params
  • Update caching mechanism including refresh with warm startup
  • Move login to SSR
  • Move Planning page to SSR
  • Update daily and weekly to force refresh cache instead of checking every 5 minutes

So let’s walk them over one by one.

Land Card Bonuses in Region Overview Summary Page

In the Region Overview then Summary page the land card bonuses are now split per category per bountiful resource for the counts and total PP.

image.png

This gives a better breakdown of where bonuses are coming from.

Add Land Details to Deed Overview Part 1

On the Player Overview then Deed page you can now filter on Deeds that have Land Ability.

image.png

And the overall bonuses are now shown directly on the card itself which makes scanning through your land much easier.

image.png

This still needs more updates so that the specific card shows the boosts as well imho i will get to that later i hope.

Add Land Card Import

The planner page has been updated so when you import a plot with land bonuses these are directly taken over.

image.png

image.png

image.png

Add Daily Burn Tracking

This one came in from both @azircon and @aftersound.
They both wanted tracking on the burned resource cinder well now it is added and as you can see it has already been tracking for a few days.

image.png

A small tip double click on a legend or trace in the graph and it will autozoom to only that line @aftersound hint hint.
Double click again and all lines show again.
It takes a bit of getting used to but it is handy imho.

image.png

Under the Hood

Now to the technical part well i do not want to talk too much about it but almost every page has been touched.
I moved many sections into separate pages so migration to SSR Server Side Rendering can be done page by page.

One change that has a real user impact is the player input.
Now when you enter a name that name is kept until you change it back again.
So you select your deeds

image.png

then go to player efficiency and your name is still selected.

image.png

A nice QOL improvement if you ask me.

Also updated the caching for the bigger part in the backend that is loaded (warm startup) after each data inject.
image.png

Because I have touched many parts of the application if you notice anything off or things are not updating correctly let me know.
I can find out if it is a bug.
I reckon I probably missed a spot here and there and I will do my best to fix it.

🧪 Want to See the Code?

🔍 GitHub Repos (If You Dare):
Next.js version

PRs, issues, or just general “what in the spaghetti is this?” reactions welcome, be kind 😅

🙌 Support the Project

✅ Upvote this post – it really helps!
👉 Vote for My SPS Validator Node
💬 Drop a comment or idea – weird edge cases welcome.

Beaker signing off!

Do you also want to be part of this amazing play to earn game consider using my refferal link.

Sort:  

This post has been supported by @Splinterboost with a 20% upvote! Delagate HP to Splinterboost to Earn Daily HIVE rewards for supporting the @Splinterlands community!

Delegate HP | Join Discord

You include items that we request so quickly that it is unfair almost :)

Many thanks for what you do beaker! If I ever head over to Netherlands, dinner is on me!

Thanks for sharing! - @azircon

I am not really a land guy, but your tool is great to deep dive into it. Thanks for your work! Splinterlands need definitely more people like you. :)

untitled.gif

Keep building my friend and know that your efforts are very much appreciated!


This post has been supported by @fallen.angels guild!
Delegate Tokens and HP to Fallen Angels to earn weekly rewards!
Delegate | Join to the guild