Skip to content

Commit

Permalink
chore: release new features.
Browse files Browse the repository at this point in the history
chore: upgrade deps.

perf: add dash responsive width.

feat: gh-62 larger pop-up task detail window.

docs: gh-61 add docs instructions for cors.
  • Loading branch information
riccox committed Sep 20, 2023
1 parent e4bff19 commit e310471
Show file tree
Hide file tree
Showing 22 changed files with 1,482 additions and 1,168 deletions.
27 changes: 21 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,29 @@

🔒 Data is stored inside your browser

## Get start
## Quick start

> [IMPORTANT] Remember enable CORS in your instance server for this ui domain before using.
>
> This version have not achieved responsive design, so mind that only use this app on desktop to gain better experience.

### Online use
> ⚠️ This app have not achieved responsive design, so mind that only use this app on desktop to gain better experience.
### CORS settings

✅ Remember update CORS settings in your instance server for this ui domain before using.

Because this app use meilisearch official JS client to call your meilisearch instance, you need to manually configure CORS settings in your web server to make sure ui panel can access your instance server with api calls.

Add your ui panel deployment domain to your instance server cors list.

ex:
```conf
# ... other configurations
add_header Access-Control-Allow-Origin "your.meilisearch-ui.domain.com";
# ... other configurations
```

[Learn how to configure CORS settings in your web server](https://enable-cors.org/)

### Online use

There is a live demo 👉 [meilisearch-ui](https://meilisearch-ui.riccox.com), deploy on Vercel.

Expand Down Expand Up @@ -74,7 +89,7 @@ pnpm run dev

## Built with ♥

- [Sira-UI](https://sira-design.party)
- [Sira Design](https://sira-design.party)
- React v18
- TypeScript
- Vite
Expand Down
71 changes: 36 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"dev": "vite",
"start": "vite",
"build": "tsc && vite build",
"build": "vite build",
"build:safe": "tsc && vite build",
"preview": "vite preview"
},
"repository": "https://github.com/riccox/meilisearch-ui",
Expand All @@ -17,52 +18,52 @@
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@hookform/resolvers": "^3.1.1",
"@mantine/core": "^6.0.14",
"@mantine/form": "^6.0.14",
"@mantine/hooks": "^6.0.14",
"@mantine/modals": "^6.0.14",
"@monaco-editor/react": "^4.5.1",
"@sira-ui/tailwind": "^0.10.1",
"@tabler/icons-react": "^2.22.0",
"@tanstack/react-query": "^4.29.15",
"@tanstack/react-query-devtools": "^4.29.15",
"ahooks": "^3.7.7",
"clsx": "^1.2.1",
"dayjs": "^1.11.8",
"echarts": "^5.4.2",
"@hookform/resolvers": "^3.3.1",
"@mantine/core": "^7.0.0",
"@mantine/form": "^7.0.0",
"@mantine/hooks": "^7.0.0",
"@mantine/modals": "^7.0.0",
"@monaco-editor/react": "^4.5.2",
"@sira-ui/tailwind": "^0.11.6",
"@tabler/icons-react": "^2.34.0",
"@tanstack/react-query": "^4.35.3",
"@tanstack/react-query-devtools": "^4.35.3",
"ahooks": "^3.7.8",
"clsx": "^2.0.0",
"dayjs": "^1.11.10",
"echarts": "^5.4.3",
"echarts-for-react": "^3.0.2",
"fuse.js": "^6.6.2",
"immer": "^10.0.2",
"lodash": "^4.17.21",
"meilisearch": "^0.33.0",
"meilisearch": "^0.34.2",
"qs": "^6.11.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.10",
"react-hook-form": "^7.45.0",
"react-error-boundary": "^4.0.11",
"react-hook-form": "^7.46.1",
"react-json-view": "^1.21.3",
"react-router-dom": "^6.13.0",
"sonner": "^0.5.0",
"zod": "^3.21.4",
"zustand": "^4.3.8"
"react-router-dom": "^6.16.0",
"sonner": "^0.7.4",
"zod": "^3.22.2",
"zustand": "^4.4.1"
},
"devDependencies": {
"@types/lodash": "^4.14.195",
"@types/node": "^20.3.1",
"@types/qs": "^6.9.7",
"@types/react": "^18.2.13",
"@types/react-dom": "^18.2.6",
"@vitejs/plugin-react": "^4.0.1",
"autoprefixer": "^10.4.14",
"eslint": "8.43.0",
"@types/lodash": "^4.14.198",
"@types/node": "^20.6.3",
"@types/qs": "^6.9.8",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.4",
"autoprefixer": "^10.4.15",
"eslint": "8.47.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.24",
"prettier": "^2.8.8",
"tailwindcss": "^3.3.2",
"typescript": "5.0.4",
"vite": "^4.3.9"
"postcss": "^8.4.30",
"prettier": "^3.0.3",
"tailwindcss": "^3.3.3",
"typescript": "5.1.6",
"vite": "^4.4.9"
},
"version": "0.4.1"
}
Loading

1 comment on commit e310471

@vercel
Copy link

@vercel vercel bot commented on e310471 Sep 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.