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

tab name now includes filename #47

Merged
merged 1 commit into from
Aug 6, 2021
Merged

Conversation

ColinEberhardt
Copy link
Contributor

Added filename to the tab, and expanded functionality to provide load / save and save-as behaviour:

image

Note, the previous version had a bug, when a file was opened ipcMain raised an event that was handled by all editor windows, so all would update to the new file contents. Updated to use ipcRenderer.invoke and ipcMain.handle instead.

}
},
{
key: "save-as",
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than having 2 similar icons and the menu getting cluttered I think it would be nicer to use the menu button functionality to essentially make it a drop down. See the second IconButton example here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that's a good call, but I'd prefer to leave that until we have a bit more of the functionality fleshed out then look at the UI in its entirety.

Currently the app is a bit 'button heavy', similar to the current KDB Studio:

image

Whereas, comparing to VS Code itself, most of those functions are relegated to menus and hotkeys. People know where to look for load / save etc ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See also #49

@ColinEberhardt ColinEberhardt force-pushed the updated-save-load-behaviour branch from 7242ca8 to 9010d21 Compare August 6, 2021 12:46
@ColinEberhardt ColinEberhardt merged commit 5e920cb into main Aug 6, 2021
@ColinEberhardt ColinEberhardt deleted the updated-save-load-behaviour branch August 10, 2021 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants