-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed commit of the following: commit bf77d3ddfc8f24c42b387e46e183688d6a1d1eff Author: John Dunning <[email protected]> Date: Sat Jan 4 14:27:55 2020 -0800 Move addURLs() to recentTabs.getAll() When deleting a closed tab, also remove it from the recents list, so that if the user just scrolled down to the closed tabs section and deleted one, it would disappear. Filter out unsuspended closed tabs that have the same URL as suspended open tabs. Fix renamed initTabs() in app.js. Return the item from addURLs(). commit a3687e24323a8e288f46e28d2898c253fe94fbf8 Author: John Dunning <[email protected]> Date: Sat Jan 4 11:45:56 2020 -0800 Update version to 1.3.1 Allow closed tabs to be deleted from history. Rename initTabs() to loadTabs(). Refactor decoding URL strings into decode.js. ES6ify copy-to-clipboard.js. Remove bluebird.min.js. Update releases/index.md and docs/index.md. commit 09324fbdc7f8df2fd7cf84543ecf7cecfba0532e Author: John Dunning <[email protected]> Date: Thu Jan 2 20:16:00 2020 -0800 Handle history items with empty titles commit fe1b6d4381b830d74654f2f079f21a53ef0354d7 Author: John Dunning <[email protected]> Date: Thu Jan 2 19:29:17 2020 -0800 Open a bookmark/history item in a new tab with ctrl-click Prevent the close button from stealing focus from the search box. Add IsMac and Platform to constants.js, so checking navigator.platform isn't needed everywhere. Add ModKeyBoolean to key-constants.js Add focus() method to SearchBox and Input, though they're not currently used. Use Platform from constants in app-container.js. Update releases/index.md. commit 9c502c25d4342034b26d98f0c86e7d9cc7bd811b Author: John Dunning <[email protected]> Date: Thu Jan 2 12:06:58 2020 -0800 Update description with info on deleting bookmarks and history Clean up closeTab(). Don't send a tabs close event when onRemoved is received, since we were already firing it in closeTab(). Update description of ctrl-W shortcut on Options page. commit 9e3a2d4b134d8613ec451956885f87096d442784 Author: John Dunning <[email protected]> Date: Wed Jan 1 18:05:38 2020 -0800 Show close buttons on bookmarks and history items Let the user delete history items and bookmarks, after a confirmation. Add originalURL to history items so that if a suspended page from history is deleted, we can remove the right history item. Set the tooltip on the close button according to the mode. commit 7902dfe006cb2248b829e9b54f6334041ff66496 Author: John Dunning <[email protected]> Date: Wed Jan 1 16:47:25 2020 -0800 Rearrange order of methods in popup/app.js commit 8ccb8233373721591e088cb9e1a97632539565ea Author: John Dunning <[email protected]> Date: Wed Jan 1 15:54:03 2020 -0800 Score items in loadPromisedItems() Just sort the history items when getting a /h command in getMatchingItems(), instead of scoring them, too. Add a reload param to loadPromisedItems() to force it to replace the existing promise. Update releases/index.md to list updating the results if a tab is closed while the menu is open. commit f25e386e3658988af66142a019a6d5c23de903de Author: John Dunning <[email protected]> Date: Tue Dec 31 19:22:14 2019 -0800 Only show unsuspended versions of pages in history Add unsuspend param to addURLs() to force the unsuspended URLs to be used. ES6ify get-bookmarks.js and get-history.js. Update releases/index.md. commit 4ed1abe82809015997388aabe0a299891b1a7356 Author: John Dunning <[email protected]> Date: Tue Dec 31 15:36:23 2019 -0800 Update results list when a tab is closed Refactor componentWillMount() to be much simpler. Add initTabs() method to app. Add a tab.onRemoved handler to re-init the list. Check that the item has a tab ID before trying to close it. Renamed get-tabs.js to init-tabs.js. Add includeClosedTabs param to recentTabs.getAll(), so that that module doesn't need to check the settings. Clean up the createStorage() params. commit 0bd88ba898affd5979bc627d575cb512650c95e0 Author: John Dunning <[email protected]> Date: Mon Dec 30 15:17:21 2019 -0800 Return the constants object from a function Even though you can call define() with a bare object, WebStorm doesn't understand that, so it was highlighting keys on the constants object. commit f028d21fff712911bf1ee97655604b8ab2771cef Author: John Dunning <[email protected]> Date: Mon Dec 30 13:04:20 2019 -0800 Refactor componentWillMount() Move setting recentBoost to getTabs(). commit 13a4d1f731bf91f15b22cf3fd76dcde354fee317 Author: John Dunning <[email protected]> Date: Sat Dec 28 19:42:00 2019 -0800 Add option to normalize non-standard whitespace chars Fix copy to clipboard buttons on ctrl-tab/index.md, which weren't working. Re-enable clean:rjs in Gruntfile.js. ES6ify add-urls.js and get-tabs.js. commit 2e408261e9f45e02634bb6007985bcc59ff72099 Author: John Dunning <[email protected]> Date: Fri Dec 27 19:17:18 2019 -0800 Update babel target to Chrome 55 Add search terms for Edge store to chrome-store-description.txt. commit 49ca3baaa5ede7eeb85bcaed3c90c82ccc9bb44a Author: John Dunning <[email protected]> Date: Sat Dec 21 19:59:52 2019 -0800 Use bluebird.core.min.js Unfortunately, it doesn't fix the unicode issue, but at least it's smaller. commit cbcdb809e314cc8e1e7b067c9a221798e98034b2 Author: John Dunning <[email protected]> Date: Sat Dec 21 18:59:32 2019 -0800 Fix mangled modifier characters The bluebird.min.js file seems to cause any Unicode characters that come after it in the same file to be parsed incorrectly by Chrome. Use \u strings to explicitly set the keys instead of raw chars. Use the skinny arrows for keys on Mac. commit b4524aa1df04aca0b8956f778ca65cb6558ec8ba Author: John Dunning <[email protected]> Date: Fri Dec 20 12:59:44 2019 -0800 Use \u strings instead of chars in get-chrome-shortcuts.js commit 8facfc0d13861790209ee26a8860f0c1914d8d36 Author: John Dunning <[email protected]> Date: Tue Dec 17 23:33:04 2019 -0800 Use \u codes for the Mac modifiers in get-chrome-shortcuts.js
- Loading branch information
1 parent
d387c6d
commit 565c0a1
Showing
31 changed files
with
707 additions
and
502 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"chrome": 51 | ||
"chrome": 55 | ||
}, | ||
"loose": true, | ||
"corejs": 3, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,33 @@ | ||
define({ | ||
SpaceBehavior: { | ||
Key: "spaceBehavior", | ||
Select: "select", | ||
Space: "space" | ||
}, | ||
EscBehavior: { | ||
Key: "escBehavior", | ||
Clear: "clear", | ||
Close: "close" | ||
}, | ||
MarkTabsInOtherWindows: { | ||
Key: "markTabsInOtherWindows" | ||
}, | ||
IncludeClosedTabs: { | ||
Key: "includeClosedTabs" | ||
}, | ||
Shortcuts: { | ||
Key: "shortcuts", | ||
MRUSelect: "mruSelect", | ||
CloseTab: "closeTab", | ||
MoveTabLeft: "moveTabLeft", | ||
MoveTabRight: "moveTabRight", | ||
CopyURL: "copyURL", | ||
CopyTitleURL: "copyTitleURL" | ||
} | ||
define(function() { | ||
const IsMac = /Mac/i.test(navigator.platform); | ||
|
||
return { | ||
IsMac, | ||
Platform: IsMac ? "mac" : "win", | ||
SpaceBehavior: { | ||
Key: "spaceBehavior", | ||
Select: "select", | ||
Space: "space" | ||
}, | ||
EscBehavior: { | ||
Key: "escBehavior", | ||
Clear: "clear", | ||
Close: "close" | ||
}, | ||
MarkTabsInOtherWindows: { | ||
Key: "markTabsInOtherWindows" | ||
}, | ||
IncludeClosedTabs: { | ||
Key: "includeClosedTabs" | ||
}, | ||
Shortcuts: { | ||
Key: "shortcuts", | ||
MRUSelect: "mruSelect", | ||
CloseTab: "closeTab", | ||
MoveTabLeft: "moveTabLeft", | ||
MoveTabRight: "moveTabRight", | ||
CopyURL: "copyURL", | ||
CopyTitleURL: "copyTitleURL" | ||
} | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.