Commit fc7bce6
* respect replace_state on external navigation where applicable
* changeset
* added tests
* fixed client navigation
* prettier
* changeset
* take out trash
* take out trash
* take out trash
* Apply suggestion from @eltigerchino
* changeset
* fix typo
* Apply suggestion from @eltigerchino
* Update .changeset/dirty-rats-divide.md
* Delete packages/kit/test/apps/basics/src/routes/navigation/nonexistent/.gitkeep
* add replaceState to invalidate
* fix test
* move tests to `goto` suite
* change tests according to code review suggestions
* take out trash
* test fix
* fix lint
* fix typo
* typedef
* typedef
* fix lint
* refactor test
* Revert "fix lint"
This reverts commit 481e1ab.
* remove opts from invalidate/All
* always set `replaceState` to `true` when a load function throws a redirect while invalidating
* call navigate directly and forward other state as well
* sort imports like on main
* we don't need an `opts` object on `native_navigation`
* revert invalidate in tests
* revert invalidate/All types
* changelog
* 20
---------
Co-authored-by: akonstantinov <[email protected]>
Co-authored-by: Tee Ming <[email protected]>
1 parent 2332925 commit fc7bce6
File tree
10 files changed
+199
-22
lines changed- .changeset
- packages/kit
- src/runtime/client
- test/apps/basics
- src/routes/goto
- loadreplace1
- loadreplace2
- loadreplace3
- testentry
- testfinish
- teststart
- test
10 files changed
+199
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | | - | |
154 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
155 | 160 | | |
156 | 161 | | |
157 | 162 | | |
| |||
388 | 393 | | |
389 | 394 | | |
390 | 395 | | |
391 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
392 | 402 | | |
393 | 403 | | |
394 | 404 | | |
| |||
1532 | 1542 | | |
1533 | 1543 | | |
1534 | 1544 | | |
1535 | | - | |
| 1545 | + | |
| 1546 | + | |
1536 | 1547 | | |
1537 | 1548 | | |
1538 | | - | |
| 1549 | + | |
1539 | 1550 | | |
1540 | 1551 | | |
1541 | 1552 | | |
| |||
1546 | 1557 | | |
1547 | 1558 | | |
1548 | 1559 | | |
1549 | | - | |
| 1560 | + | |
| 1561 | + | |
1550 | 1562 | | |
1551 | 1563 | | |
1552 | 1564 | | |
| |||
1563 | 1575 | | |
1564 | 1576 | | |
1565 | 1577 | | |
1566 | | - | |
1567 | | - | |
1568 | | - | |
1569 | | - | |
1570 | | - | |
1571 | | - | |
1572 | | - | |
1573 | | - | |
1574 | | - | |
1575 | | - | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
1576 | 1589 | | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | 1590 | | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
1581 | 1602 | | |
1582 | 1603 | | |
1583 | 1604 | | |
1584 | 1605 | | |
1585 | 1606 | | |
1586 | | - | |
| 1607 | + | |
1587 | 1608 | | |
1588 | 1609 | | |
1589 | 1610 | | |
| |||
1725 | 1746 | | |
1726 | 1747 | | |
1727 | 1748 | | |
| 1749 | + | |
1728 | 1750 | | |
1729 | 1751 | | |
1730 | | - | |
| 1752 | + | |
1731 | 1753 | | |
1732 | 1754 | | |
1733 | 1755 | | |
| |||
1747 | 1769 | | |
1748 | 1770 | | |
1749 | 1771 | | |
1750 | | - | |
| 1772 | + | |
1751 | 1773 | | |
1752 | 1774 | | |
1753 | 1775 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1364 | 1364 | | |
1365 | 1365 | | |
1366 | 1366 | | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
1367 | 1491 | | |
1368 | 1492 | | |
1369 | 1493 | | |
| |||
0 commit comments