Skip to content

Commit

Permalink
Add Dash Extension (#25)
Browse files Browse the repository at this point in the history
* Dash: Initial Commit

* Dash: Show list of installed docsets

* Move helper to separate method

* Dash: Add docsetSearch

* Dash: Add docset filtering

* Dash: Set correct command icon

* Dash: Remove faulty node-version file

* Improve docsets keyword handling

* Code cleanup

* Make descriptions clearer

* Dash: Fix opening Dash action

Changed the action to open Dash based on the way #202 is doing. This makes the documentation entry be opened right away, without the need to press `enter` after Dash launch – a quirk in the old action implementation.

* Dash: Initial Commit

* Dash: Show list of installed docsets

* Move helper to separate method

* Dash: Add docsetSearch

* Dash: Add docset filtering

* Dash: Set correct command icon

* Dash: Remove faulty node-version file

* Dash: Remove unused variables

* Extract useDocsetSearch hook

* Extract DashResult to its own component

* Rename DocsetSearch component to SingleDocSetSearch

* Add ability to search across all docsets

* Move logic to useDocset hook

* Properly keep check of loading state for docsets

* Implement AbortController for docsetSearch

* Split subtitle in two for better visibility

* Make sure we print title as strings

Co-authored-by: Felipe Turcheti <[email protected]>
  • Loading branch information
RSO and fturcheti authored Oct 25, 2021
1 parent dc1ef92 commit e42b555
Show file tree
Hide file tree
Showing 14 changed files with 6,184 additions and 0 deletions.
10 changes: 10 additions & 0 deletions extensions/dash/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"root": true,
"env": {
"es2020": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"]
}
4 changes: 4 additions & 0 deletions extensions/dash/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
Binary file added extensions/dash/assets/command-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/dash/assets/list-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e42b555

Please sign in to comment.