NiftyArt: Recent Developments

Lately, the NiftyArt team has been working on improving wallet connection reliability and session stability, enhancing NFT management, and polishing the overall UX. The reported backend synchronization problems are fixed, and new features have been added. This set of changes over the past couple of weeks delivers key improvements to the platform.

Resolving Wallet Connection & Session Sync Issues

Some users experienced a loop when connecting their wallets, sometimes the wallet showed it was sending information, but in reality, nothing was happening. We addressed this issue and found the cause: a mismatch between the browser’s cookie session and WebSocket connections.

Key fixes include:

  • Better Session Expiry Detection – Both WalletController.kt and Sockets.kt now check if a session cookie has expired, disconnecting the connection and allowing a clean retry.

  • WebSocket Stability – Stale connections are now cleaned up automatically, with sockets recycled after 30 minutes to eject abandoned links.

  • Frontend Coordination – Updates to session.client.js, session.js, wallet.ts, and websocket.ts ensure session refreshes don’t trigger duplicate requests, prevent race conditions during disconnects, and improve retry logic.

The fix involved tightening up how sessions are checked and refreshed. Now, if a session cookie expires, the system will cleanly disconnect and reconnect rather than leave you stuck. WebSocket links also get a refresh every half hour to avoid ghost connections. On the front end, wallet and session scripts now coordinate better, preventing duplicate requests and making reconnections faster and more reliable.

NFT Management: Remove from Sale

Added a feature that makes it easier to manage your listings. You can now remove an NFT from sale with a single click, right from its detail page.

  • Backend changes in TradeController.kt and Routing.kt enable the route for removing listings.

  • Frontend updates in NFTDetails.vue and [id].vue now display a “Remove from Sale” button, triggering the backend action when clicked.

Uploading Missing NFT ZIP Data

In rare cases, an NFT might lose some of its associated data due to an interrupted upload or a file error. To solve this, we’ve introduced a way to upload missing ZIP files directly from the NFT’s page. The backend automatically checks the files, fills in the gaps, and ensures your NFT displays correctly.

  • A new NFTDataUpload controller allows backend handling of missing data uploads.

  • The frontend has a new component for uploading missing ZIP data directly from an NFT’s page.

Legal Form & Dark Mode Adjustments

Reworked the legal section of the creation form so it’s easier to find and read. Dark mode has also been polished so toggles and text stand out properly. And if you change your mind about whether your work is public or copyrighted mid-creation, the form now resets cleanly without carrying over old settings.

  • The legal section of the NFT creation form has been restructured for better visibility.

  • UI tweaks improve UToggles and body stylings in dark mode.

  • The form now resets when switching between public and copyright.

ZIP Upload Validation Improvements

When you upload an NFT’s ZIP data, the system now takes an extra step to verify it before saving. If the upload doesn’t pass, it’s rolled back automatically, keeping incomplete or broken files out of the platform. Also fixed a bug in media handling so previews display crisp and accurate.

  • Consistent ErrorResponse and SuccessResponse formats.

  • Post-upload validation via verifyNFTCache.

  • Automatic rollback if validation fails.

  • Bug fixes in media handling (media.kt now returns the correct cache location).

Closing Thoughts

All of these improvements are key to a smooth and user-friendly platform. Although many developments are not visible on the front end, constant work and code enhancements are being delivered. Once all the minor issues are addressed,the NiftyArt development team will look to add more innovative features and user functionality. Stay tuned and stick with the NiftyArt team as we approach this exciting phase.

2 Likes