Skip to content

Commit

Permalink
Create an empty shortcuts tab for the new info view.
Browse files Browse the repository at this point in the history
Issue #130.

␄
  • Loading branch information
Mike Castle committed Oct 27, 2023
1 parent a8f7586 commit 73b8ee8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions linkedin-tool.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -4325,6 +4325,7 @@
this.logger.entered(me);

const tabs = [
this.#shortcutsTab(),
this.docTab(),
this.newsTab(),
];
Expand Down Expand Up @@ -4427,6 +4428,17 @@
this.logger.leaving(me);
}

/**
* @returns {TabbedUI~TabDefinition} - Keyboard shortcuts listing.
*/
#shortcutsTab = () => {
const tab = {
name: 'Keyboard Shortcuts',
content: '<div>We will build a whole new accordion widget!</div>',
};
return tab;
}

/** @inheritdoc */
docTab() {
const me = 'docTab';
Expand Down

0 comments on commit 73b8ee8

Please sign in to comment.