WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

Idea: _drag_ icon codes into text editor

Open Jay-o-Way opened this issue 2 years ago • 5 comments

Issue type

enhancement

Which version of the app?

WinUI 3 Gallery

Description

First of all, I absolutely LOVE the new pages for the resources like typography, icons, colors and such. They are easy to use and should be the single bible for every developer!

Now, I had this idea. On the icons page we can search for icons and on the right side we can copy a few formats for the code. Again, nice job. Copy & paste is handy for lots of occasions. But sometimes I only have to insert that icon/code once or twice. My Idea is: place Gallery and an IDE window next to each other, search an icon, now drag the desired format into the text area where my code is. No keyboard required for the action and my clipboard stays a bit cleaner :)

Jay-o-Way avatar Mar 30 '23 10:03 Jay-o-Way

This sounds like an interesting idea, what code would you expect to be inserted when pasting? Should this be the XAML Code or the C# code or just a specific codepoint?

marcelwgn avatar Oct 14 '23 15:10 marcelwgn

There are a few variants, so the exact same code as the one that is selected.

Jay-o-Way avatar Oct 14 '23 15:10 Jay-o-Way

Ohh I see, I thought you meant dragging the icon itself. Should have read your post more carefully 😅 This sounds like a really cool idea, @karkarl what do you think?

marcelwgn avatar Oct 14 '23 15:10 marcelwgn

I wonder if this interaction is inline with Windows design. I can start a thread with the design team.

karkarl avatar Nov 02 '23 18:11 karkarl