Jiachi Liu
|
f91cdec44d
|
test: migrate rest async api usage in tests (#71663)
|
2024-10-23 02:36:20 +02:00 |
|
JJ Kasper
|
f749684921
|
Update cache handling in draft mode (#51663)
Similar to `getStaticProps` when draft mode is enabled we should bypass
the cache so fresh data is shown.
x-ref: [slack
thread](https://vercel.slack.com/archives/C052BQ8F9EJ/p1687440125828479?thread_ts=1684336597.437409&cid=C052BQ8F9EJ)
and
[tweet](https://twitter.com/tomus_sherman/status/1669023879656873988)
---------
Co-authored-by: Steven <steven@ceriously.com>
|
2023-06-22 14:03:11 -07:00 |
|
Steven
|
20f90c387c
|
chore: rename draft mode enabled to isEnabled (#49096)
After trying out draft mode on canary, I realized that it was easy to
select the wrong option from the VS Code intellisense suggestion
dropdown.
So this PR changes `enabled` to `isEnabled` and also wraps in a class to
make the icons for methods look different.
## Before
<img width="545" alt="image"
src="https://user-images.githubusercontent.com/229881/235705729-2be5a5a0-2299-4152-bee7-b6d5659a8d59.png">
## After
<img width="545" alt="image"
src="https://user-images.githubusercontent.com/229881/235733072-338dfb2f-9e27-4d04-b009-a66503efe682.png">
|
2023-05-02 21:45:28 +02:00 |
|
Steven
|
58e5c780f3
|
feat: add draft mode to next/headers (#48789)
fix NEXT-1003
Co-authored-by: Wyatt Johnson <633002+wyattjoh@users.noreply.github.com>
|
2023-05-01 21:37:17 +00:00 |
|