ControlCore-Project / concore-editor

The concore Editor
http://controlcore-project.github.io/concore-editor
BSD 3-Clause "New" or "Revised" License
9 stars 19 forks source link

Disable the "Contribute" button when the workspace is literally empty (when no studies/graphml or programs/folders in concore editor). #141

Closed pradeeban closed 1 year ago

pradeeban commented 1 year ago

Currently, the "Contribute" button just links to the GitHub repository of concore. But eventually this will invoke the contribute action.

Therefore, this button should become active only when something is loaded into the concore repository.

That means either,

The solution might be similar to #104. But extra-care is needed because we should activate this button even if there is no graphml present, if a folder is loaded. (because the contributions can be studies or programs).

This is a low-priority issue. But reported for documentation purposes.

Rahuljagwani commented 1 year ago

I will be sending a PR regarding this shortly

pradeeban commented 1 year ago

Merged. Thanks.