In the graphite webapp, if I open the "find" and p...
# report-bugs
z
In the graphite webapp, if I open the "find" and paste something (cmd+v), • if the search box is empty, it pastes the content and that's the entirety of the find query šŸ‘ • if the contents of the find box are non-empty, Graphite prepends a space to my query šŸ‘Ž That is, • find box has the contents "`<`" • I paste
MyComponent
• Rather than "`<MyComponent`", the box has "`< MyComponent`" This is totally weird, unprecedented, crazy-making, definitely should not be the UX.
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
z
This is the kind of thing I would expect in Microsoft Word but would never expect or tolerate in an IDE.
p
Hey Zach, very strange. Ive been unable to reproduce this yet. Which find box are you seeing it happen in? the code editor? the PR page? What browser / does it happen across browsers for you?
z
Google Chrome, MacOS
Okay maybe it's slightly smaller in scope and has to do more with what's on the clipboard
If I double-click a symbol in the graphite diff viewer, e.g.
function MyComponent
and double-click
MyComponent
, and cmd+c, then I do the pasting as described above, I get the extra space
Yeah it's definitely not arbitrary text
But seems like any symbol I copy from the diff viewer has this behavior
But I confirmed I don't get an extra space when pasting into other editors, e.g. url search bar or my ide
@Brett Bedevian can you repro that?
Thanks for the response!
p
aha, that i can reproduce
z
Yeah I hope you can empathize why this is a problem!
Thanks so much for looking into it
Hoping Graphite becomes as great as it can be šŸ™ I'm a squeaky wheel but I do care about the stuff I use thanks in advance
p
appreciate it, ive filed a ticket for the PR page team to look into.