Skip to content

Conversation

@niels9001
Copy link
Collaborator

The "App" tag is pretty redundant and is adding a lot of visual noise. Closes #38968

New:
image

@moooyo
Copy link
Contributor

moooyo commented Apr 21, 2025

Agree.

Another thing is, in top level page, only Apps result have app tags.

I think we also need to add tag for fallback item to distinguish their source?

@zadjii-msft
Copy link
Member

Wait doesn't this also get rid of the top-level tag too? I thought we wanted that to make sure that we could clearly differentiate the app results from the command ones

@niels9001
Copy link
Collaborator Author

@moooyo @zadjii-msft Meh.. that's a good point. Is there a way to differentiate between the two?

Still, even on a toplevel, the default tag UX feels 'heavy' to just point something out as a tag.. Not for this PR, but maybe something to figure out longer term how make that more subtle

@yeelam-gordon yeelam-gordon added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-Command Palette Refers to the Command Palette utility labels Apr 24, 2025
@zadjii-msft
Copy link
Member

gah this is annoying. There's not an easy way to differentiate them - least not currently. The main page needs ListItems with tags. The Apps page doesn't. That basically necessitates having two different lists of ListItems, one with tags and one without.

seems like it'd be silly for us to be constructing new ListItem's as we're filtering the top-level. That should be the hottest, cleanest path

I suppose the cache could have them all be created with the tags, and then have AllAppsPage.GetItems iterate over the cache, and build new ListItems specific to that page, without the tags.

@yeelam-gordon yeelam-gordon requested a review from Copilot August 22, 2025 01:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the redundant "App" tag from application items in the CmdPal interface to reduce visual noise, as requested in issue #38968.

Key Changes

  • Removed the static "App" tag definition and assignment from AppListItem
  • Simplified the UI by eliminating unnecessary visual clutter

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Title = app.Name;
Subtitle = app.Subtitle;
Tags = [_appTag];
MoreCommands = _app.Commands!.ToArray();
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The null-forgiving operator (!) is used on _app.Commands without validation. Consider adding a null check or using conditional access to prevent potential null reference exceptions.

Suggested change
MoreCommands = _app.Commands!.ToArray();
MoreCommands = (_app.Commands?.ToArray()) ?? Array.Empty<ICommand>();

Copilot uses AI. Check for mistakes.
@niels9001
Copy link
Collaborator Author

@zadjii-msft do we want to move forward with this PR?

@michaeljolley
Copy link
Contributor

michaeljolley commented Oct 29, 2025

@niels9001, this just removes the tag altogether? I think that's fine.

I would clean up the merge but then my approval wouldn't count. 😄

@michaeljolley
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@michaeljolley
Copy link
Contributor

Eh... that merge erased your changes. 😨

@michaeljolley
Copy link
Contributor

@niels9001, see above comment.

@niels9001
Copy link
Collaborator Author

Eh... that merge erased your changes. 😨

Lol. PMs gonna dev.

Repushed the changes - please take it for a spin so I didn't break anything!

@michaeljolley
Copy link
Contributor

Alas, he did not repush the changes. Don't worry. I got you friend. 🤝

@michaeljolley michaeljolley removed the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Nov 5, 2025
@michaeljolley
Copy link
Contributor

Closing for #43439

@michaeljolley michaeljolley deleted the user/niels9001/removing-app-tag branch November 10, 2025 18:17
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.

[CmdPal] App tag is redundant when using the apps plugin

6 participants