Skip to content

CmdPal: IDetails2 update proposal [DO NOT MERGE] - #50216

Draft
Jiří Polášek (jiripolasek) wants to merge 3 commits into
mainfrom
dev/jpolasek/f/42003-much-content-very-detail
Draft

CmdPal: IDetails2 update proposal [DO NOT MERGE]#50216
Jiří Polášek (jiripolasek) wants to merge 3 commits into
mainfrom
dev/jpolasek/f/42003-much-content-very-detail

Conversation

@jiripolasek

@jiripolasek Jiří Polášek (jiripolasek) commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary of the Pull Request

This is a proposal to take #50180 a little further: let IContent describe the entire Details presentation, including headers and metadata, while keeping legacy and new behavior separate.

  • Keep IDetails2.GetContent() as the entry point, with the returned content defining the complete presentation and its order.
  • Keep ordinary Details on the legacy path; use ContentDetails to opt into the new presentation.
  • Add headers with optional subtitles, compact text, properties, links, tags, commands, and separators as content elements.
  • Reuse existing content types and viewers for forms, Markdown, images, plain text, and trees.

Extra prototypes, free of charge:

  • Property grid: Align property labels and values in columns when there is enough width, and stack them vertically when space is limited.
  • Sections: Group content under a heading, or a separator when untitled. Support nesting and an optional limited preview with an expand/collapse control at the bottom.

Pictures? Pictures!

image

PR Checklist

  • Closes: #xxx
  • Communication: I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end-user-facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

@jiripolasek Jiří Polášek (jiripolasek) changed the title Detailed zombie revival CmdPal: IDetails2 update proposal Aug 28, 2026
@github-actions github-actions Bot added the Product-Command Palette Refers to the Command Palette utility label Aug 28, 2026
@jiripolasek Jiří Polášek (jiripolasek) changed the title CmdPal: IDetails2 update proposal CmdPal: IDetails2 update proposal [DO NOT MERGE] Aug 28, 2026
Base automatically changed from dev/migrie/i-details-2 to main August 31, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product-Command Palette Refers to the Command Palette utility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants