biocore / biocore/empress

Add right-click menu with tree properties / other options

Open
#269 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
JavaScript
Stars
56
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Something I just thought of -- when you right click on an Emperor plot, you get a nice menu that lets you perform some common operations:

![image](https://user-images.githubusercontent.com/4177727/87842139-00daa980-c85f-11ea-91b8-8f86e92ac6c4.png)

But when you right click on the canvas in Empress, nothing happens (well, nothing useful, anyway):

![image](https://user-images.githubusercontent.com/4177727/87842122-db4da000-c85e-11ea-9b1c-2a19495f029c.png)

It'd make for a more pleasant user experience if Empress had a "right click menu" similar to Emperor's. We could add in some of the tree properties options to this menu (as well as SVG exporting when #218 is merged in). I think the added consistency here would be really nice, as would the ability to quickly recenter the camera in Empress.

Contributor guide

Open the contributing guide

Research direction

Compare the Empress canvas behavior with the Emperor right-click menu shown in the issue, then locate the Empress UI entry point that handles canvas interactions. The work is done when right-clicking provides a useful menu with tree properties or other common operations, including quick camera recentering; SVG export is a possible addition after #218 is merged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.