joshwcomeau / guppy

🐠A friendly application manager and task runner for React.js
ISC License
3.27k stars 154 forks source link

Add contextual menu #284

Open mathieudutour opened 5 years ago

mathieudutour commented 5 years ago

Right there is no contextual menu (when you right-click) anywhere. It would be nice to add one where it makes sense as it makes the feels a lot more native:

nmacarthur commented 5 years ago

What are your thoughts on some of these options for clicking within a project, but not within the server logs,

mathieudutour commented 5 years ago

Hum I'm not sure, it doesn't seem very contextual since you might click around an area that is not related to dependencies at all for example

joshwcomeau commented 5 years ago

Yeah, this is a cool idea.

I like the suggestions you've posted, @mathieudutour. I think that's a good starting point! I don't have any other ideas.

@nmacarthur thanks for the suggestions! I think they're a little too broad, though... my understanding is that the contextual menus are for specific items (so if I right click a project icon, I get project actions), but it'd be weird to me if I just right-click a random empty space and get such specific menu items.

nmacarthur commented 5 years ago

Ah ok that makes more sense!

I was viewing the project as a whole as a context, but that is a bit broad!