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

Improved usability of Toolbar #8359

Merged

Conversation

derekagorhom
Copy link
Contributor

Fixes partly #4108

This Fixes items A to D except adding the Show R commands to the log/Script window drop-down.
I keep getting an error when adding that option to the log/script drop-down so i will fix that one separately.

This PR is ready for review
@rdstern , @N-thony can you test/review.

Thanks

@rdstern
Copy link
Collaborator

rdstern commented May 31, 2023

@derekagorhom that is looking good.
a) Could you also make the Down arrow on the first icon, Import, as wide as the othgers.
b) @Patowhiz (if @derekagorhom can not answer) would it be easy to have a down arrow on the open from Library with the recent files from there as well?
c) In the new Save down arrow delete the Tab on the output - so it just says Save Output. And add Save Log.
d) For later, because there is another issue on the saving of the Script and Output tabs. I wonder, once there are more tabs produced, of either, whether they could be listed here. (And possibly even disabled if they have not changed since the last save?)

@rdstern
Copy link
Collaborator

rdstern commented Jun 1, 2023

@derekagorhom this is looking very promising now.
a) When I click on the Save button it is a Save, rather than a Save As. (The Save option asks first time, but then overwrites the name on future occasions, without asking.)
But when I click on down arrow and the Save Data option - which should be the same, it isn't. It is a Save As. I think all 4 options are Save As, rather than Save? I am quite keen that they each become a Save button, rather than Save As.
b) I am discussing with @lloyddewit and @ChrisMarsh82 today, whether an * can be added to each option, in their respective windows, when there is new material to Save. (That seems to be what RStudio does.) If that is agreed, then it would be good to have the same in the 4 options in your Save.
c) Now a real detail - here is the current toolbar:

image

I notice a vertical line occasionally and even 2 of them between the new Save and the last 10 dialogs. I quite like the one vertical line and wonder if it could be after each entry?

@derekagorhom
Copy link
Contributor Author

@rdstern I think for item c) the vertical line can be made very similar to the one on the sub menus
image
That way the menu items are separated into groups, i think this makes it more presentable

@rdstern
Copy link
Collaborator

rdstern commented Jun 1, 2023

@derekagorhom I like that idea a lot.

image

a) So, the first 3 icons are all loading and saving files. So we don't have any vertical lines there.
b) We keep the line after your new Save - presumably just one line?
c) We keep the line after the last 10 dialogues.
d) Then the next 2 icons are the grid and output windows. No line between them, but one after those 2.
e) Then the graph icon is on its own and there is a line after that.
f) Then the R and the i open more windows and thew curly arrow closes them. So let's think of them as a group and so just keep the vertical line there, after the curly arrow.
g) Then add a vertical line after the ? for help. And possibly also one right at the end - after the language icon?

@rdstern
Copy link
Collaborator

rdstern commented Jun 1, 2023

@lloyddewit you said adding the asterisk in the script (and log) tabs was easy to do. I hope it might be equally easy to add in the new drop down in the toolbar? If, so, then can you add this @derekagorhom? That has (like the File > Save As) a special entry for saving the Log file, and is getting towards my minimum that we implement quickly, to save the important items.

@lloyddewit
Copy link
Contributor

@lloyddewit you said adding the asterisk in the script (and log) tabs was easy to do. I hope it might be equally easy to add in the new drop down in the toolbar? If, so, then can you add this @derekagorhom? That has (like the File > Save As) a special entry for saving the Log file, and is getting towards my minimum that we implement quickly, to save the important items.

@rdstern This requires changes to the script window first (it has to catch the event when the script tab is changed, and then set a flag). So I suggest that I make the change above in a separate PR (when I add the asterix to the script tab). I don't think it make sense for @derekagorhom to try an implement an asterix in the toolbar in this PR.
I hope that's OK.

@derekagorhom
Copy link
Contributor Author

derekagorhom commented Jun 1, 2023

@rdstern I made the layout changes you requested and i was able to make the save data option in the dropdown save the same way the save icon operates. I could not change the other 3 option since they follow the existing log/script/output saves in R-instat

rdstern
rdstern previously approved these changes Jun 1, 2023
Copy link
Collaborator

@rdstern rdstern left a comment

Choose a reason for hiding this comment

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

@derekagorhom I am liking this a lot. I am happy to see this merged now, and it will improve (or can be improved) once there are small changes in the log/script and the output windows.

So over to you @lloyddewit for this, so far.

instat/frmMain.vb Outdated Show resolved Hide resolved
instat/frmMain.vb Show resolved Hide resolved
instat/frmMain.vb Show resolved Hide resolved
instat/frmMain.vb Outdated Show resolved Hide resolved
@lloyddewit
Copy link
Contributor

@rdstern there are just some small changes since your last approval. If you can retest/approve, then we can merge, thanks

Copy link
Collaborator

@rdstern rdstern left a comment

Choose a reason for hiding this comment

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

@lloyd and @derekagorhom - still looks fine. Thanks

@lloyddewit lloyddewit changed the title Cosmetic Changes on the Toolbar of the Main Menu Improved usability of Toolbar Jun 6, 2023
@lloyddewit lloyddewit merged commit 7d1174f into IDEMSInternational:master Jun 6, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants