Update UI for 'Present' mode
- Dominant language
- JavaScript
- Stars
- 7.9k
- Forks
- 849
- PR merge metrics
- No merged PRs in 30d
Description
### Description
In Code documents shared in 'Present' mode, the option to browse History appears although it doesn't work when the user attempts to do so (no changes are reverted in the document, which stays as-is). The UI should be updated to remove the 'History' option for Code documents shared in this mode.
### Steps to reproduce
1. Create Code document
2. Make changes
3. Share in Present mode
4. In the shared document, when browsing history is attempted, nothing changes/no content is reverted
### Relevant logs
```shell
```
### Expected behavior
The History option should be removed from the File dropdown menu for users viewing the document in Present mode.
### Which operating system are you using?
_No response_
### What browsers are you seeing the problem on?
_No response_
### Extensions
n/a
### Version
2026.5.1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.