tablelandnetwork / studio

Discover, design, deploy, and manage data driven web3 apps on Tableland.
https://studio.tableland.xyz
4 stars 1 forks source link

Handle unsupported chain deployments #282

Closed asutula closed 4 months ago

asutula commented 4 months ago

There are two cases where this is relevant:

  1. Viewing a tableland table at the /table/<table id> url
  2. Viewing a table in the context of a project

In both cases, the table being loaded might be for a chain we no longer support.

In the first case, it's as simple as just displaying the error message that says "unsupported chain id".

In the second case, we still need to display enough UI to convey the error message and also give the user a way to delete the now-invalid deployment by un-deploying the table. The solution looks something like this:

Tableland Studio · 12 02pm · 05-30 (Note, I forced the UI into an error state, so some of the surrounding data will not be what you expect in a real scenario)

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 6:39pm