Commit 7b058db
UI nuance fixes — error handling, stale localStorage, misleading copy
- pricing.html: POST /billing/create-order error path no longer paints a
raw response body; only a safe body.message or a generic string.
Razorpay payment.failed description bounded to 140 chars before surfacing.
Outer catch shows a friendly-only string.
- pricing.html: footnote "Cancel anytime from the dashboard" replaced with
a mailto link — there is no cancel endpoint today, so the old copy was
a false promise.
- terms.html: same — cancellation goes through admin@instanode.dev.
- dashboard.html: migrate() catches network errors so a dropped claim
doesn't nuke the whole dashboard boot. localStorage.instanode_token is
cleared after any claim attempt (success or fail) so a later visitor on
a shared device doesn't try to re-claim someone else's token.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 397e460 commit 7b058db
3 files changed
Lines changed: 43 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | | - | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
513 | 517 | | |
514 | 518 | | |
515 | 519 | | |
| |||
561 | 565 | | |
562 | 566 | | |
563 | 567 | | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
564 | 572 | | |
565 | 573 | | |
566 | 574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
356 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
357 | 367 | | |
358 | 368 | | |
359 | 369 | | |
| |||
389 | 399 | | |
390 | 400 | | |
391 | 401 | | |
392 | | - | |
393 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
394 | 414 | | |
395 | 415 | | |
396 | 416 | | |
397 | 417 | | |
398 | 418 | | |
399 | 419 | | |
400 | | - | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
401 | 428 | | |
402 | 429 | | |
403 | 430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
0 commit comments