Closed pconesa closed 7 months ago
no, sprites are a 32 pixel size that is too much.... I plan to make them back to 16 with a "zoom" parameter at 50% then will be back to normal. In case someone wants a bigger zoom then this may appear... unless we find a way to make trees respond to icon sizes. I failed so far.
@plosana will work on the other icons still to change. Once ready this can be merge. I change it to draft for now
Since you are working on this, could we please change the order of buttons? It takes me 5 seconds to find the stop protocol or browse button. The most used buttons should go first.
Hi everyone! I agree with Grigory that I find more intuitive a different order for the icons. I did a bit of a study grouping the icons by the functionality that they had and came up with this:
To me, a more intuitive order would be the one I propose below, but any ideas are welcome :)
Patricia,
You are using nicer icons in your proposal screenshot, so biasing us toward it. ;)
In any grouping, I suggest briefly asking some users and hiding some icons for actions that are not used that frequently. (in my opinion, for example: labels, workflow selected, etc)
Best, Jose Miguel
On Wed, Jan 10, 2024 at 9:27 AM Patricia Losana @.***> wrote:
Hi everyone! I agree with Grigory that I find more intuitive a different order for the icons. I did a bit of a study grouping the icons by the functionality that they had and came up with this: image.png (view on web) https://github.com/scipion-em/scipion-pyworkflow/assets/8470316/488713ae-88ea-49b9-9eec-2d19f05ff9bd
To me, a more intuitive order would be the one I propose below, but any ideas are welcome :) image.png (view on web) https://github.com/scipion-em/scipion-pyworkflow/assets/8470316/0972fb54-bf37-4aa8-b1bf-e4ba1bf5ec56
— Reply to this email directly, view it on GitHub https://github.com/scipion-em/scipion-pyworkflow/pull/490#issuecomment-1885063885, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAM6WB5AIC44GPSDJ7XBH3YN2XNDAVCNFSM6AAAAABBUQ6AKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGA3DGOBYGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@plosana that looks beautiful! Labels are definitely helpful, otherwise I often have to hover over every button to find the meaning 😁
There is a variable to Show or not the labels. Do we want it active by default?
Yes please 🥺
Yes!! I believe it would be very very helpful
After the last changes, it looks nice! I've checked all the windows with icons and they all behave well in terms of appearance. My only question is regarding the "Browse" window, if the last two options of the toolbar ("Recent" and "Protocol folder") not have an associated icon, or it is not being displayed properly.
On the other hand, I had some execution problems when using this branch. Here's an example:
00001: Traceback (most recent call last): 00002: File "/home/jjimenez/scipion3/scipion-pyworkflow/pyworkflow/protocol/protocol.py", line 203, in run 00003: self._run() 00004: File "/home/jjimenez/scipion3/scipion-pyworkflow/pyworkflow/protocol/protocol.py", line 254, in _run 00005: resultFiles = self._runFunc() 00006: File "/home/jjimenez/scipion3/scipion-pyworkflow/pyworkflow/protocol/protocol.py", line 250, in _runFunc 00007: return self._func(*self._args) 00008: File "/home/jjimenez/scipion3/scipion-em-emantomo/emantomo/protocols/protocol_template_matching.py", line 136, in prepareEmanPrj 00009: self.convertOrLink(inTomoName, tomo.getTsId(), TOMOGRAMS_DIR, sRate) 00010: File "/home/jjimenez/scipion3/scipion-em-emantomo/emantomo/protocols/protocol_base.py", line 208, in convertOrLink 00011: self.convertBetweenHdfAndMrc(abspath(inFile), outFile, extraArgs=f'--apix {sRate:.3f}') 00012: File "/home/jjimenez/scipion3/scipion-em-emantomo/emantomo/protocols/protocol_base.py", line 212, in convertBetweenHdfAndMrc 00013: program = Plugin.getProgram("e2proc3d.py") 00014: File "/home/jjimenez/scipion3/scipion-em-eman2/eman2/init.py", line 114, in getProgram 00015: return f"{cls.getActivationCmd()} && {cmd} {program} " 00016: File "/home/jjimenez/scipion3/scipion-em-eman2/eman2/init.py", line 108, in getActivationCmd 00017: cls.getEmanEnvActivation()) 00018: File "/home/jjimenez/scipion3/scipion-em-eman2/eman2/init.py", line 100, in getEmanEnvActivation 00019: scipionHome = Config.SCIPION_HOME + os.path.sep 00020: TypeError: unsupported operand type(s) for +: 'Variable' and 'str' 00021: Protocol failed: unsupported operand type(s) for +: 'Variable' and 'str'
Thanks JOrge, I think we need to overload more methods of the Variable class. I'll fix it
Those "actions" never had an icon.
Haha, my bad! Sorry
If you pull latest changes there should be no error with the plugin now.
Solved! Thanks
Issues
0 New issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
users: