Heho's proposal system is designed to prevent accidental data loss, which sometimes results in specific error messages when applying or reverting changes.
"Stale" Proposal Warning
What it means: The AI suggestion you are trying to apply was generated for a version of the line that no longer exists exactly as it was.
Why it happens:
- You asked the AI for a suggestion.
- While the AI was working, you manually typed a change into that same line.
- The AI's suggestion is now based on your old text, not your new text.
The Solution: Review the proposal carefully. Since the line has changed, the AI's suggestion might not fit anymore. You can either:
- Dismiss the stale proposal and ask the AI for a fresh suggestion based on your new text.
- Manually copy specific words from the proposal if you still find them useful.
"No previous state to revert to"
What it means: You clicked Undo, but Heho could not find the original text to restore.
Why it happens: This usually occurs if the underlying database record for that specific line has been significantly restructured (e.g., the section was deleted and recreated) between the time you applied the change and the time you clicked Undo.
The Solution: If the automated Undo fails, you can use your browser's standard Ctrl+Z (Cmd+Z) undo, or manually edit the line back to your preferred version.
Suggestion not appearing
If you click an AI action (like "Rewrite") and no proposal card appears:
- Check the Header: Look for the amber Floating Job Indicator. If it's there, the AI is still working.
- Check for Errors: If the task failed, a red toast notification will appear in the bottom corner with a specific error message.