Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shuffling menu items inside the Plugins submenu #6

Merged
merged 10 commits into from
Jul 19, 2022

Conversation

@xulman xulman force-pushed the shuffling_plugins_menu branch from e101cf0 to 33cf326 Compare July 18, 2022 17:47
@xulman
Copy link
Collaborator Author

xulman commented Jul 18, 2022

thus far, I have mostly only massaged menu item names, their descriptions and cosmetics of this kind

@xulman
Copy link
Collaborator Author

xulman commented Jul 18, 2022

yeah, that was one more forgotten cosmetics


now, I will add commits to move a few files around to arrange and prepare the layout for another PR in which I'd like to add a few more relevant plugins

@xulman
Copy link
Collaborator Author

xulman commented Jul 18, 2022

I would stop the PR here, and kindly ask @maarzt to review and consider for merging

@xulman
Copy link
Collaborator Author

xulman commented Jul 18, 2022

Screenshot_20220718_173340
this is where it should end up eventually
(items present in full-blown Mastodon, depicted in the left, are not displayed on the right where limited installation of Mastodon is used)

@xulman xulman mentioned this pull request Jul 18, 2022
@xulman
Copy link
Collaborator Author

xulman commented Jul 18, 2022

haha, this is actually screen shot of a code compiled in part against old code.. and so menu items are Failing the Naming Convention... but in reality, all is fixed, just the photo is wrong

Copy link
Contributor

@maarzt maarzt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, feel free to merge it.

Comment on lines 72 to 80
private static final String EXPORT_PHYLOXML = "[exports] export phyloxml for selection";
private static final String FLIP_DESCENDANTS = "[trees] flip descendants";
private static final String COPY_TAG = "copy tag";
private static final String INTERPOLATE_SPOTS = "[trees] interpolate missing spots";
private static final String LABEL_SELECTED_SPOTS = "[trees] label selected spots";
private static final String COMPACT_LINEAGE_VIEW = "[displays] show compact lineage";
private static final String SORT_TREE = "[trees] sort lineage tree";
private static final String MERGE_PROJECTS = "merge projects";
private static final String TWEAK_DATASET_PATH = "fix project image path";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no strong opinion here, but maybe let's keep the "[tomancak] ..." prefix here. It's more consistent, and gives an indication in the settings dialog that this plugin belongs to mastodon-tomancak.

Copy link
Collaborator Author

@xulman xulman Jul 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, changed that back to [tomancak]... I also don't have a strong opinion on that

the original idea was to be able to group/filter related activities with a single keyword.. and so was essentially mirroring the menu layout in the brackets (besides, now that this repo is among the default installed, user is probably not realizing/not cares (maybe?)/does not see the source of this functionality)

but words like lineage, spot, sort... tend to group reasonably well and a user can see everything relevant and adjust/overview shortcuts in the key bindings dialog... so my primary goal is preserved and thus I'm happy :-)

I've took care of it in the commit dde59b7


private static final String[] EXPORT_PHYLOXML_KEYS = { "not mapped" };
private static final String[] FLIP_DESCENDANTS_KEYS = { "not mapped" };
private static final String[] COPY_TAG_KEYS = { "not mapped" };
private static final String[] INTERPOLATE_SPOTS_KEYS = { "not mapped" };
private static final String[] TWEAK_DATASET_PATH_KEYS = { "not mapped" };
private static final String[] LABEL_SELECTED_SPOTS_KEYS = { "not mapped" };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F2 would be nice as a key combination for renaming spots.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very cool idea... -> commit 7d2b553

xulman added 2 commits July 19, 2022 22:42
made sure that grouping by keywords could work, that items include
common keywords
@xulman
Copy link
Collaborator Author

xulman commented Jul 19, 2022

thanks @maarzt for the feedback, I hope I managed to reflect them in the last two commits... and will now merge

@xulman xulman merged commit 775c13b into mastodon-sc:master Jul 19, 2022
@xulman xulman deleted the shuffling_plugins_menu branch September 15, 2022 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants