Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "Show Details" context action to ListItem's with non-null Details when a Page's ShowDetails = false #111

Open
zadjii-msft opened this issue Oct 23, 2024 · 0 comments
Labels
Area-HostUX UX elements of the host CmdPal application Issue-Task

Comments

@zadjii-msft
Copy link
Owner

If the page returns ShowDetails = true, the DevPal automatically expand out
the Details for list items with Details set to a non-null value.
If ShowDetails = false, the DevPal will not expand out the details for list
items by default, but will add a "Show details" action to the item's list of
actions (if it sets Details).

  • For example: in the Windows Search box, when you search for an app, you get a
    "details" that is pre-expanded.
  • Similarly for file searches - you get a preview of the file, and metadata on
    those details for the file path, last modified time, etc.
  • But something like the "GitHub" extension may not want to always fetch issue
    bodies to show their details by default. So it would set ShowDetails = false. If the user activates the automatic "Show details" action, then the
    github action can then fetch the body and show it.
@zadjii-msft zadjii-msft added Issue-Task Area-HostUX UX elements of the host CmdPal application labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-HostUX UX elements of the host CmdPal application Issue-Task
Projects
None yet
Development

No branches or pull requests

1 participant