Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Widget: Search bar component #1436

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
541a641
(refactor): separate widget core
ManishMadan2882 Nov 13, 2024
9409e44
(feat:search bar) initiating seach bar
ManishMadan2882 Nov 13, 2024
d696f0d
Merge branch 'main' of https://github.com/ManishMadan2882/docsgpt
ManishMadan2882 Nov 13, 2024
2d15492
Merge branch 'main' of https://github.com/arc53/DocsGPT
actions-user Nov 14, 2024
811a20f
search: add themes, fix css override
ManishMadan2882 Nov 15, 2024
7bd0351
(fix): mount only when open
ManishMadan2882 Nov 15, 2024
8eaeaa9
Merge branch 'main' of https://github.com/arc53/DocsGPT
actions-user Nov 15, 2024
d332466
(widget) unmount with timeout
ManishMadan2882 Nov 15, 2024
94617c5
(fix:animations) minor fix
ManishMadan2882 Nov 15, 2024
fab367f
Merge branch 'main' of https://github.com/ManishMadan2882/docsgpt
ManishMadan2882 Nov 15, 2024
8e94688
Merge branch 'main' of https://github.com/arc53/DocsGPT
actions-user Nov 16, 2024
868e59b
(fix: css conflict): replace global keyframes
ManishMadan2882 Nov 16, 2024
cbf33e6
Merge branch 'main' of https://github.com/ManishMadan2882/docsgpt
ManishMadan2882 Nov 16, 2024
3273af7
Merge branch 'main' of https://github.com/arc53/DocsGPT
actions-user Nov 17, 2024
5ee0f15
(feat: search): close on click outside
ManishMadan2882 Nov 17, 2024
f58e7cc
Merge branch 'main' of https://github.com/ManishMadan2882/docsgpt
ManishMadan2882 Nov 17, 2024
9a367c7
Merge branch 'main' of https://github.com/arc53/DocsGPT
actions-user Nov 18, 2024
1a9f311
(search): modal triggers on ctrl k
ManishMadan2882 Nov 18, 2024
c534568
Merge branch 'main' of https://github.com/ManishMadan2882/docsgpt
ManishMadan2882 Nov 18, 2024
4eee10b
(feat/search): redirect to sources
ManishMadan2882 Nov 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions extensions/react-widget/package-lock.json

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

2 changes: 1 addition & 1 deletion extensions/react-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"scripts": {
"build": "parcel build src/main.tsx --public-url ./",
"build:react": "parcel build src/index.ts",
"dev": "parcel src/index.html -p 3000",
"dev": "parcel -p 3000",
"test": "jest",
"lint": "eslint",
"check": "tsc --noEmit",
Expand Down
8 changes: 4 additions & 4 deletions extensions/react-widget/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from "react"
import {DocsGPTWidget} from "./components/DocsGPTWidget"
const App = () => {
import {SearchBar} from "./components/SearchBar"
export const App = () => {
return (
<div>
<SearchBar/>
<DocsGPTWidget/>
</div>
)
}

export default App
}
Loading