Skip to content

Show diff snippet when user rejects a Codex action #6103

@oiwn

Description

@oiwn

What feature would you like to see?

Currently, when I deny an action in Codex (e.g., file update), it doesn’t display the related diff or snippet. It would be useful to still show a short preview like:

⏺ Update(Cargo.toml)                              
  ⎿  User rejected update to Cargo.toml
        4    edition = "2024"                        
        5                               
        6    [dependencies]
        7 +  anyhow = "1.0"
        8    axum = { version = "0.8.6", features = ["macros"] }
        9    clap = { version = "4.5.51", features = ["derive"] }                                                                                                                                                                             
       10    tokio = { version = "1.48.0", features = ["full"] }             

This would help users recall what exactly was rejected and why, especially if the session gets interrupted or reviewed later.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions