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

Menu Actions in general #1

Open
wion opened this issue Feb 1, 2021 · 5 comments
Open

Menu Actions in general #1

wion opened this issue Feb 1, 2021 · 5 comments
Labels
menu action Concerns main menu actions

Comments

@wion
Copy link
Owner

wion commented Feb 1, 2021

There are a lot of them, which may not be bad, but it also might be worth considering them all in terms of what people really want/need to bother having in the menus. I mean, if you can type a Txp tag faster than it takes to find an action in a big two tier menu, then we should want to find a better balance there. So with that, some thoughts on the current state of menu actions:

  • Some actions currently work, some don't. The do nots need to have their own issues started and the problems described.
  • A lot of actions of the same key combinations. I don't think that's going to work. That does not mean every action needs a key combination. If we can't feasibly come up with a unique one that isn't too off the wall, then we just don't add an action on that one and require users to click the menu rather than use a key combo. Presumably these would be the less popular actions (perhaps maybe even the ones not needed?)
  • It's possible to exclude actions in the info.plist file using an excludeItems array without removing their files or changing the menu structure. (There's an example of such an array in the Textile.tmbundle's info.plist file.) It's basically the same idea as hiding them until further notice. This might be a good idea for broken actions, or ones that are deemed less desirable.

The following table is a work-in-progress to map actions and their status as they appear in the bundle's main menu. Once complete, it's easier to make global decisions about what actions to keep or not, and which ones need specific issues for fixing, whether to edit menu strings, shortcuts, or actions themselves.

Table 1. Mapping of menu actions.

  • For all cells with '-', data needs filled.
  • For all cells with '?' overall status needs assessed and any problems clarified.
  • Action needs marked with '' (e.g. Name) if it works in relation to a .tmPreference.
Works? Sub-menu Name Shortcut Type Purpose Problems?
no List Categories ^⇧L command ? Purpose unclear. Incomplete setup.
yes txp single tab txps ⇥ snippet Starts new tag as <txp: /> String caps.
? Help Commands Help Single ^H command ? Shortcut.
? Help Commands Help Container ^H command ? Shortcut.
? Help Commands Help Plugin ^H commands ? Shortcut.
? Help Commands Help Attributes ^H command ? Shortcut.
? Help Commands TXP Documentation ^H command Opens Tag Reference docs Shortcut. 'Tags Reference' w/ link to it.
? Navigation Commands Go to Txp File ⇧⌘D command ? Shortcut
? Navigation Commands Go to Txp Tag ⇧⌘D command ? Shortcut
? Navigation Commands Oniguruma Tabbing ^⇧⌘→ macro ? ?
? Navigation Commands Oniguruma Back Tabbing ^⇧⌘← macro ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
@wion wion added the menu action Concerns main menu actions label Feb 1, 2021
@wion wion pinned this issue Feb 2, 2021
@wion
Copy link
Owner Author

wion commented Feb 2, 2021

@4blubot,

If/when you have any time for it, feel free to help fill in the table above. I'll gradually plug on it, too.

To edit, click the ... button in the top right of the post, then Edit, et voila.

Note there is a Preview tab next to the Write tab in edit mode to see your edits before saving, if desired.

This was referenced Feb 2, 2021
@4blubot
Copy link

4blubot commented Mar 6, 2021

Sorry , I missed this email. I'll try tomorrow.

@4blubot
Copy link

4blubot commented Mar 8, 2021

Concerning your LG questions, I've got a slight problem at the moment. A bug was introduced in the last TM update.
My bundle editor has disappeared.
This is how it looks now: https://ibb.co/J7J1qNC
I have filed a bug report with TM Support for now.
So I can't actually view my LG.

rgrds marios

@wion
Copy link
Owner Author

wion commented Mar 16, 2021

Yeah, I had the same problem on my late 2011 MBP when updating to TM version 2.0.17. They fixed it in 2.0.18, but it is not immediately clear. The latest version is 2.0.19, though, so make sure you have that first.

When you first open the bundle editor, after updating to 2.0.18, the editor will appear like your image. You just have to pull down the file browser pane to see it. Put your cursor right on the bottom line of the top frame. You should see a window pane icon appear somewhere when you have the position right. Then just drag that down to open up the file browser. After that it stays put. ;)

@wion
Copy link
Owner Author

wion commented Mar 16, 2021

@4blubot

There is no rush on these issues. We just fiddle when we have the time. Somebody will come along eventually.

I suspect once the community starts focusing on Textpattern themes more (probably after unlimited custom fields land), this bundle might get more attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
menu action Concerns main menu actions
Projects
None yet
Development

No branches or pull requests

2 participants