Skip to content

Commit

Permalink
chore: publish 0.1.0 with integrating text-search-engine
Browse files Browse the repository at this point in the history
  • Loading branch information
cjinhuo committed Aug 13, 2024
1 parent 7cf4678 commit 7d26819
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Blazwitcher is a local [Chrome Extension](https://chromewebstore.google.com/deta

## Features
- Fuzzy Pinyin Search: support fuzzy search which be very kind for Chinese(rely on [text-search-engine](https://github.com/cjinhuo/text-search-engine))
- Intuitive Ordering: The search results are descended by the weight value returned by the [text-search-engine](https://github.com/cjinhuo/text-search-engine) and the last time it was used, allowing you to locate your target faster.
- Intuitive Ordering: The search results are descended by the weight value returned by the [text-search-engine](https://github.com/cjinhuo/text-search-engine) and the last time it was used, allowing you to locate your target faster.
- Tab Search: Search across all Chrome tabs you opened
- History Search: Search the last 200 history item
- Bookmark Search: Search across all your bookmarks
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "blazwitcher",
"displayName": "Blazwitcher: Search and Switcher in Blazing Speed",
"version": "0.0.3",
"version": "0.1.0",
"description": "Blazwitcher is a local tool for searching tabs, bookmarks, and history, with support for fuzzy Pinyin search.",
"author": "cjinhuo@qq.com",
"scripts": {
Expand All @@ -18,7 +18,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"styled-components": "^6.1.11",
"text-search-engine": "0.0.1-beta.2",
"text-search-engine": "1.0.0",
"tiny-pinyin": "^1.3.2"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions shared/open-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
storageSet
} from "./promisify"

const SEARCH_WINDOW_WIDTH = 800
const SEARCH_WINDOW_HEIGHT = 500
const SEARCH_WINDOW_WIDTH = 750
const SEARCH_WINDOW_HEIGHT = 495

async function activeWindow() {
const storage = await storageGet(SELF_WINDOW_ID_KEY)
Expand All @@ -20,7 +20,6 @@ async function activeWindow() {
} catch (error) {}
}
const currentWindow = await getCurrentWindow()
currentWindow.left = 0
// there is a bug in "window" platform. When the window state is maximized, the left and top are not correct.
// Normally speaking left and top should be 0. But they are -7 in this case.So reset the left and top to 0 to fix it.
if (currentWindow.state === "maximized") {
Expand Down
Binary file added store_review/1.0-first.jpg
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 store_review/1.0-fourth.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 store_review/1.0-second.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 store_review/1.0-third.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 removed store_review/20240726-162523.png
Binary file not shown.
Binary file removed store_review/first.png
Binary file not shown.
Binary file removed store_review/second.png
Binary file not shown.

0 comments on commit 7d26819

Please sign in to comment.