Page MenuHome

Text Editor UI: Small changes to headers
Needs ReviewPublic

Authored by William Reynish (billreynish) on Sep 5 2019, 11:06 AM.

Details

Reviewers
None
Group Reviewers
User Interface
Summary

Currently the Text Editor header is very crowded. Here's a patch to clean it up.

  • Register toggle is in the Text menu
  • Run Script and Refresh OSL become an icon buttons next to ID block

Diff Detail

Event Timeline

Use play icon for Run Script

Put Run button next to ID template

I'd:

  • Move Select menu after Viewfor consistency with other editors.
  • Move Live Edit from Text menu into Edit menu.
  • Move 'Run Script' to the bottom-bar, remove from header.
  • Leave 'Run Script' as text. A Play ▶️ icon communicates it can be paused/stopped, which is not the case for most add-ons that are not modals. And even for modals we can't detect when they stop.

I'd:

  • Move Select menu after Viewfor consistency with other editors.

Agreed, will do

  • Move Live Edit from Text menu into Edit menu.

Also agreed.

  • Move 'Run Script' to the bottom-bar, remove from header.

I tried it - that's what I did first. We could do that also. Only issue is that long file paths will push off screen. But probably it's ok

  • Leave 'Run Script' as text. A Play ▶️ icon communicates it can be paused/stopped, which is not the case for most add-ons that are not modals. And even for modals we can't detect when they stop.

Depends on previous - if in the footer, it works better as text.

Peter Fog (tintwotin) added a comment.EditedSep 5 2019, 1:34 PM

The Play icon is used for Run here in PyCharm - without any stop/pause 2. meaning:

The "Text" menu should be called "File" and be placed to the far left, because it's all file operations and it would be in consistency with all other apps:

The Play icon is used for Run here in PyCharm - without any stop/pause 2. meaning:

It's often used to run the server then it shows Restart, Pause, Stop. Video: https://www.youtube.com/watch?v=JLfd9LOdu_U

Maybe @Andrzej Ambroz (jendrzych) could be asked to come up with an alternative icon for "Run"/"Execute", so we can avoid the not-so-nice looking text buttons in header/footers?

In QtCreator, Pycharm, and in most ides/editors use a green play icon.
I think it may look great in green, so it's more easily recognizable at a glance. And more familiar to most developers.