Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.

Commit

Permalink
MiscFixes for 1.6.1 Release (#72)
Browse files Browse the repository at this point in the history
- Fix entering urls directly into location bar (addresses #60)
- Fix Open... text formatting #56
- Add tab focus for nav buttons #49
- Add devtools for webview under View -> Toggle Page Developer Tools #59
- Bump to latest pywb build
  • Loading branch information
ikreymer authored Nov 1, 2018
1 parent e5af56c commit 69e370b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions app/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class MenuBuilder {
const subMenuFile = {
label: 'File',
submenu: [
{ label: 'Open', click: () => { this.mainWindow.webContents.send('open-warc-dialog'); }}
{ label: 'Open...', accelerator: 'Command+O', click: () => { this.mainWindow.webContents.send('open-warc-dialog'); }}
]
};
const subMenuEdit = {
Expand All @@ -79,13 +79,16 @@ export default class MenuBuilder {
const subMenuViewDev = {
label: 'View',
submenu: [
{ label: 'Toggle App Developer Tools', accelerator: 'Alt+Ctrl+J', click: () => { this.mainWindow.toggleDevTools(); }},
{ label: 'Toggle Page Developer Tools', accelerator: 'Alt+Ctrl+I', click: () => { this.mainWindow.webContents.send('toggle-devtools'); }},
{ label: 'Reload', accelerator: 'Command+R', click: () => { this.mainWindow.webContents.reload(); } },
{ label: 'Toggle Full Screen', accelerator: 'Ctrl+Command+F', click: () => { this.mainWindow.setFullScreen(!this.mainWindow.isFullScreen()); } }
]
};
const subMenuViewProd = {
label: 'View',
submenu: [
{ label: 'Toggle Page Developer Tools', accelerator: 'Alt+Ctrl+I', click: () => { this.mainWindow.webContents.send('toggle-devtools'); }},
{ label: 'Toggle Full Screen', accelerator: 'Ctrl+Command+F', click: () => { this.mainWindow.setFullScreen(!this.mainWindow.isFullScreen()); } }
]
};
Expand Down Expand Up @@ -127,7 +130,7 @@ export default class MenuBuilder {
label: '&Open',
click: () => { this.mainWindow.webContents.send('open-warc-dialog'); }
}, {
label: '&Close',
label: '&Quit',
accelerator: 'Ctrl+W',
click: () => {
this.mainWindow.close();
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webrecorder-player",
"productName": "Webrecorder Player",
"version": "1.6.0",
"version": "1.6.1",
"description": "Webrecorder Player -- Standalone Web Archive Browser App",
"main": "./main.prod.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webrecorderplayer",
"productName": "Webrecorder Player",
"version": "1.6.0",
"version": "1.6.1",
"description": "Webrecorder Player -- Standalone Web Archive Browser App",
"scripts": {
"build": "concurrently \"npm run build-main\" \"npm run build-frontend\"",
Expand Down
2 changes: 1 addition & 1 deletion webrecorder

0 comments on commit 69e370b

Please sign in to comment.