You Are Autosave
Show a warning when you haven't saved in a while.
This warning will get stronger in a few stages:
- At first you'll get a red line underneath the 3D Viewport.
- Then the entire border of the 3D Viewport gets red.
- Then the entire 3D Viewport itself will become increasingly red.
- You see nothing any more, as everything is red.
Save your file to be able to continue working.
Hold Ctrl+Shift+Alt (Ctrl+Shift+Option on macOS) to temporarily suppress the full redness, in case you want to inspect the state of the file before saving.
