🚧 Ongoing Site Updates: Python ➡️ Next.js
hive-169191·@beaker007·
31.911 HBD🚧 Ongoing Site Updates: Python ➡️ Next.js
https://images.hive.blog/0x0/https://files.peakd.com/file/peakd-hive/beaker007/23uFPdKf8W8ZX7E5wau5mmBUn82xiKX9FGcK39Ep3LVmeNm2Un28FUXZLTRCeXrGKnVeW.png Yep… we’re back at it again! Slowly but surely, I’m continuing to move more pages from the good ol’ Python version over to the shiny new [Next.js version](https://next-land.spl-stats.com/). And while I’m at it, I’m always looking for ways to improve things along the way. If you’re not into reading the full update and just want to explore what’s new, head over here: 🔗 https://next-land.spl-stats.com/ # <div class=phishy>🙌 Support the Project</div> ✅ Upvote this post – it really helps! 👉 [Vote for My SPS Validator Node](https://monstermarket.io/validators?validator=beaker007) Let’s jump in! # <div class=phishy>🔁 Resource Conversion Page</div> The first major update this week is on the Conversion page. This one got a much-needed upgrade — especially now with auras, I figured we needed a better way to estimate the price of wagons and other stuff. And yep… this is exactly why I call it a community effort. I built this tool solo, but with plenty of help from your feedback. I’m only human — bugs will happen 😅 Shortly after release, I got a message from @warrentrx pointing out the calculation was off compared to the official Splinterlands site. After digging in, turns out there was both a bug and a missing feature: Bug: I was applying taxes multiple times even when the resource amount was 0… oops. Feature Fix: The tool originally only calculated based on selling resources. But if you’re buying the resources (to estimate how much a wagon costs), you’d want to flip the fee logic. So now you can choose: 🟢 Buy resources → Amount you pay is increases by 10% (trade hub fee) 🔴 Sell resources → Amount you earn is decreased by 10% (trade hub fee) Huge thanks again to Paul for catching that one 🙌  Just one more addition from @warrentrx preset buttons, last minute update in this release:  # <div class=phishy>🌍 Region Overview</div> Most of my time this week was spent here — porting over and improving the Region Overview pages. They're similar to the Python version, but with some enhancements and slight layout changes. # <div class=phishy>📊 Production Tab</div> Shows total production across the map (or filtered regions) based on PP and boosted PP. Entire region overview  Selected regions (one or two)  Sorted list by resource production  <hr> And yep, there’s still historical production data at the bottom — always for the entire Pretoria, not filterable.  Which can also be filter by using the legend (doubelclick)  # <div class=phishy>🔄 Compare Tab</div> I’m debating whether to keep this as a separate tab or move it under Production. Let me know what you think. Compare two regions or tracts side-by-side: Region-to-region  Tract-to-tract  # <div class=phishy>🧾 Summary Tab</div> Still here, but now with a bit more info! This tab is one I still want to improve layout-wise — lots of wasted space, so if you have display suggestions, I’m all ears. New features: * Unique player count per region * Top 10 landholders  And yes, it’s filterable too.  Also added two new gauges: Total Staked DEC on Land – shows how far we are from full 150K plot utilization.  Current DEC Needed – with a red/green indicator: 🟢 More DEC staked than needed = Ok! 🔴 Less DEC than required = not so good… Yellow = DEC saved (not needed) by Runi usage.  # <div class=phishy>💸 Tax Tab</div> Okay, this one is a bit slow… and yeah, I know 😅 If it really starts annoying you, drop me a message and I’ll see if I can optimize it more. In the Python version, I only showed capture percentages for castles and keeps. But now I’ve added: * Estimated DEC income based on current production * Graphs comparing income in regions (active vs inactive) regions — pretty eye-opening if you're a castle or keep owner. One day… I’ll own a keep myself. For now, I’m just too busy buying everything else in Splinterlands 😂 Top Castel/Keep owners and now also the best earning caslte and keep owners 😍  Total resource income  Total DEC income  And all filtered again:  # <div class=phishy>⚙️ Efficiency Page (Leaderboard)</div> This one’s fresh! Now you can enter your name and see your rank on the efficiency leaderboard.  Still thinking about UI stuff — do we need scrollbars here? Let me know in the comments what feels best. **Coming next to this page:** More charts and rankings like LDE, LCE, DEC Efficiency, etc. # <div class=phishy>🖥️ Fullscreen Button Is Back!</div> By special request from @azircon (and honestly… I missed it too 😅), the fullscreen button is now back on all graphs! It might sound like a small thing — and in Python, it was literally just one setting. But in Plotly + React? Yeah… that little feature took me half a day, a bunch of trial and error, and way too many loops with ChatGPT 🤦♂️ Anyway, it's back! Let me know if you run into any issues with it.   # <div class=phishy>🧪 Want to See the Code?</div> 🔍 GitHub Repos (If You Dare): 🐍 [Python version](https://github.com/gamerbeaker007/splinter-lands) ⚡ [Next.js version](https://github.com/gamerbeaker007/splinter-lands-next) PRs, issues, or just general “what in the spaghetti is this?” reactions welcome — be kind 😅 # <div class=phishy>🙌 Support the Project</div> ✅ Upvote this post – it really helps! 👉 [Vote for My SPS Validator Node](https://monstermarket.io/validators?validator=beaker007) 💬 Drop a comment or idea – weird edge cases welcome. # <div class=phishy>⚠️ Final Note</div> Still just a fun hobby project — built during late-night, caffeine-fueled coding sessions. If something breaks… ping me. I’ll fix it. Eventually. 😂 We're getting close to the point where all the useful screens (at least in my opinion 😄) have been moved over from the Python version. If you're missing a feature that was in the old version and isn’t in the new one — start shouting! I’ll check it out and see if I can move it over too, and add it to my ever-growing backlog of stuff to do. Stay awesome, and keep farming that land! 🌾
👍 limka, playagame, beco132, splinterboost, smartvote, carl05, crypt0gnome, lightbruce17, reazuliqbal, monstermarket, zangano, pastzam, zammie, lalupita, pandaparker, name0, nordics, cur8, hivebuzz, lizanomadsoul, manncpt, jnmarteau, pinmapple, roelandp, discovereurovelo, fronttowardenemy, princessmewmew, joeyarnoldvn, dejan.vuckovic, xsasj, itchyfeetdonica, greddyforce, soturi, itsmikyhere, musicandreview, pastrane, kimzwarch, travelingmercies, gabrielatravels, kakakk, terracore, menny.trx, newageinv, portugalcoin, pataty69, helgapn, munhenhos, laurasoares, emeraldtiger, sapphireleopard, tatylayla, joaoprobst, bolachasmonster, axemaster88, martusamak, white-walker-13, shanibeer, babybeaver, azircon, mondroid, zehn34, steemmonsters, reseller, yabapmatt, drillith, postpromoter, hadley4, bscrypto, sima369, athunderstruck, oac, monstermother, elclements, gerjer, gannibal, kgsupport, goldmonsters, coolmonsters, splinterfangirl, sps.dao, dirego1, malnavi, djrockx, senseisar, kalkulus, rakhmen, ghostlybg, pero82, priyabariya, techno.spt, ifhy, burryaga, royaleagle, ityp, golddeck, logantron, mylibrary, njker, kesonaichi, doomsdaychassis, flxlove, ltcih, ltcij, ltcil, t1pf, hackersfund, thanksforplaying, ph1102.spt, davidtron, wallets4sale, mercurial9, mochilub, penguinpablo, cryptonized, eliaschess333, argentium, nozem01, funnyman, hungrybear, alphacore, electronico, jacuzzi, jpleron, dreamryder007, greengineer, hive.friends, monster-mountain, manros11, vixmemon, khazrakh, bitcoinflood, caimanx, wiseagent, beelzael, kstop1, passion-fruit, fortune-master, floatinglin, warrentrx, fallen.angels, vvgm, freed99, critical99, pablocss, danideuder, axelx12, iasplan, paulriq, jerson1231, javivisan, jats-0, holdeck2, torari, crimianales, thgaming, summertooth, beffeater, dbooster.thg, zaddyboy, kraaaaa, wahlterwhite, psyberx, hatke, psybercurator, jim-crypto, yousafharoonkhan, seattlea, doombot75, gadrian, imbartley, louis88, violator101, tarabh, thejedo, bravetofu, lisfabian, dalz, freebornsociety, piotrgrafik, dyrt88, velazquezboy, kittykate, kachy2022, nicolebanilad, urun, fighter4-freedom, aleister, arcange, achimmertens, laruche, calebmarvel24, walterjay, felt.buzz, sorin.cristescu, orlandumike, egistar, steemitboard, marivic10, ourfadedglory, monoc, rach, curatorem, feo, unatalmaria, unidos, pignus, quigua, marcevhc, jagged,