You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch includes various bug fixes and enhancements:
- The widget README now better reflects the updated Vite setup.
- We now use `neutral` for `shadcn` components, instead of `slate`.
- A type checking script was added to the widget web app.
- Downloaded PDFs now include a timestamp to reduce file name conflicts.
- When deep research is enabled, we now show deep research plan
suggestions instead of the normal prompt suggestions.
- Prompt suggestion items now show tagged datasets as mentions instead
of rendering the markdown link string.
- Various components were moved from the widget app to the UI package.
- Research plans are now always opened by default.
- We now import SVGs using default imports instead of named imports.
- Charts are now rendered without `unsafe-eval` JavaScript. This allows
for more strict content-security policies (CSP).
Copy file name to clipboardExpand all lines: apps/widget/README.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,30 +2,27 @@
2
2
3
3
## Development
4
4
5
-
This is a `create-react-app`. You can build it like so:
5
+
This is a React web application built with Vite.
6
+
You can build it like so:
6
7
7
8
- Install dependencies
8
9
9
10
```bash
10
-
npm install
11
+
pnpm install
11
12
```
12
13
13
14
- (Optional) For developing, start app on localhost
14
15
15
16
```bash
16
-
npm run start
17
+
pnpm dev
17
18
```
18
19
19
20
- Run build command
20
21
21
22
```bash
22
-
npm run build
23
+
pnpm build
23
24
```
24
25
25
-
- The build files should now be in `build` folder, ready to be deployed and served. This includes
26
-
-`index.html` The entry point for the react app
27
-
-`loader.js` The script that is used to load the react widget in the target website
28
-
29
26
## Documentation
30
27
31
28
Please visit [Numbers Station Widget API Documentation](https://docs.numbersstation.ai/api/guides/embed-widget/) for the embed widget implementation guide.
0 commit comments