[Doc/UI Mismatch] "Session Retention" setting is missing from `/settings` UI but present in documentation
What happened?
I ran the /settings command to view the configuration options. In the General section of the UI, the option labeled Session Retention (mapped to general.sessionRetention in the docs) is not displayed.
While the sub-setting "Enable Session Cleanup" (general.sessionRetention.enabled) is visible in the UI, the parent setting "Session Retention" listed in the "Settings reference" documentation is entirely missing from the list.
What did you expect to happen?
I expected the /settings UI to include the "Session Retention" row as described in the documentation. Alternatively, if general.sessionRetention is not intended to be a configurable UI element itself, the documentation should be updated to remove it from the reference table to avoid confusion.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
CLI Version 0.19.4
Git Commit 93511487
Model auto
Sandbox no sandbox
OS darwin
Auth Method gemini-api-key
Login information
API key
Anything else we need to know?
- Current UI shows:
Enable Session Cleanuponly. - Documentation lists: Both
Session RetentionandEnable Session Cleanup.
Thanks for catching this! After digging into the code, turns out sessionRetention is just a container/namespace that groups related settings together - it's not meant to be configured directly. The schema has showInDialog: false on it intentionally.
The actual setting you can toggle is sessionRetention.enabled which does show up in the UI. The docs just had an extra row that shouldn't have been there. PR incoming to fix it.
/assign
👋 @Rawdyrathaur, you've been assigned to this issue! Thank you for taking the time to contribute. Make sure to check out our contributing guidelines.
Hi @jacob314, I noticed PR #14640 (which fixed this) was closed without merging due to a force-push issue. I'd like to re-implement the fix docs/cli/settings.md. Can I work on this?
@Rawdyrathaur If this is still an issue, please feel free to re-implement the fix. Thank you!
Hi @Rawdyrathaur, this issue is being unassigned due to 2 weeks of inactivity (either no linked PR was opened or no updates were provided). To keep the 'Help Wanted' list manageable, we are freeing this up for other contributors. Feel free to comment if you are still working on this and would like to be re-assigned!
/assign
👋 @Famous077! You currently have 3 issues assigned to you. We have a 3 max issues assigned at once policy. Once you close out an existing issue it will open up space to take another. You can also unassign yourself from an existing issue but please work on a hand-off if someone is expecting work on that issue.
/assign
👋 @ifitisit, you've been assigned to this issue! Thank you for taking the time to contribute. Make sure to check out our contributing guidelines.