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

rename #2

Merged
merged 1 commit into from
Dec 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ labels: defect
2.
3.

**Milvus-insight version:**
**Attu version:**


**Milvus version:**
**Attu version:**
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Feature request
about: Milvus-insight can't do all the things, but maybe it can do your things.
about: Attu can't do all the things, but maybe it can do your things.
labels: feat

---
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Question
url: https://github.com/milvus-io/milvus-insight/discussions
url: https://github.com/zilliztech/attu/discussions
about: Please ask and answer questions here.
8 changes: 4 additions & 4 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Milvus insight dev release
name: Attu dev release

on:
pull_request_target:
Expand Down Expand Up @@ -37,10 +37,10 @@ jobs:
password: ${{ secrets.DOCKER_PWD }}

- name: Docker Build
run: docker build -t milvusdb/milvus-insight:dev --build-arg VERSION=dev .
run: docker build -t zilliz/attu:dev --build-arg VERSION=dev .

- name: Docker Push Dev
run: docker push milvusdb/milvus-insight:dev
run: docker push zilliz/attu:dev

k8s:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
run: |
echo ${{ secrets.kubeconfig }} > config64
base64 -d config64 > kubeconfig
kubectl delete pods -n ued -l app=milvus-insight --kubeconfig=kubeconfig
kubectl delete pods -n ued -l app=attu --kubeconfig=kubeconfig
sleep 60

check:
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Milvus insight prod release
name: Attu prod release

on:
release:
Expand All @@ -22,13 +22,10 @@ jobs:
password: ${{ secrets.DOCKER_PWD }}

- name: Docker Build
run: docker build -t milvusdb/milvus-insight:${GITHUB_REF#refs/tags/} --build-arg VERSION=${GITHUB_REF#refs/tags/} .
run: docker build -t zilliz/attu:${GITHUB_REF#refs/tags/} --build-arg VERSION=${GITHUB_REF#refs/tags/} .

- name: Docker tag
run: docker tag milvusdb/milvus-insight:${GITHUB_REF#refs/tags/} milvusdb/milvus-insight:latest

# - name: Docker Push version
# run: docker push milvusdb/cloud-ui:${GITHUB_REF#refs/tags/}
run: docker tag zilliz/attu:${GITHUB_REF#refs/tags/} zilliz/attu:latest

- name: Docker Push lastest
run: docker push milvusdb/milvus-insight
run: docker push zilliz/attu
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ node_modules

.DS_Store

server/node_modules
server/dist
server/build
server/coverage
server/documentation
server/vectors.csv

express/node_modules
express/dist
express/build
Expand Down
47 changes: 0 additions & 47 deletions CODE_OF_CONDUCT.md

This file was deleted.

22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# attu
# Attu

[![typescript](https://badges.aleen42.com/src/typescript.svg)](https://badges.aleen42.com/src/typescript.svg)
[![downloads](https://img.shields.io/docker/pulls/milvusdb/milvus-insight)](https://img.shields.io/docker/pulls/milvusdb/milvus-insight)
[![codecov](https://codecov.io/gh/zilliztech/milvus-insight/branch/main/graph/badge.svg?token=jvIEVF9IwW)](https://codecov.io/gh/zilliztech/milvus-insight)
[![downloads](https://img.shields.io/docker/pulls/zilliz/attu)](https://img.shields.io/docker/pulls/zilliz/attu)
[![codecov](https://codecov.io/gh/zilliztech/attu/branch/main/graph/badge.svg?token=jvIEVF9IwW)](https://codecov.io/gh/zilliztech/attu)

attu provides an intuitive and efficient GUI for Milvus, allowing you to interact with your databases and manage your data with just few clicks.
Attu provides an intuitive and efficient GUI for Milvus, allowing you to interact with your databases and manage your data with just few clicks.

<img src="./.github/images/screenshot.png" alt="attu" />

## Features and Roadmap

attu is under rapid development and we are adding new features weekly, here are the current plan, we will release a version once a feature is available.
Attu is under rapid development and we are adding new features weekly, here are the current plan, we will release a version once a feature is available.

- Manage collections/partitions
- Manage index
- Basic statistics overview
- Load/release collections for search
- Insert entities
- Vector search with advanced filter
- Milvus system view(TBD)
- System view
- Data view (TBD)
- View milvus node configuration(TBD)
- View root node configuration(TBD)
- Vector Visualization(TBD)
- More...

Expand All @@ -33,10 +33,10 @@ Ensure you have Milvus installed on [your server](https://milvus.io/docs/install
### ⭐️ Start a attu instance

```code
docker run -p 8000:3000 -e HOST_URL=http://{ milvus insight ip }:8000 -e MILVUS_URL={milvus server ip}:19530 milvusdb/milvus-insight:latest
docker run -p 8000:3000 -e HOST_URL=http://{ attu ip }:8000 -e MILVUS_URL={milvus server ip}:19530 zilliz/attu:latest
```

Once you start the docker, open the browser, type `http://{ milvus insight ip }:8000`, you can view the attu.
Once you start the docker, open the browser, type `http://{ attu ip }:8000`, you can view the attu.

#### Params

Expand All @@ -52,12 +52,12 @@ Tip: **127.0.0.1 or localhost will not work when runs on docker**
**_note_** We plan to release attu once a feature is done. Also, if you want to try the nightly build, please pull the docker image with the `dev` tag.

```code
docker run -p 8000:3000 -e HOST_URL=http://{ your machine IP }:8000 -e MILVUS_URL={ your machine IP }:19530 milvusdb/milvus-insight:dev
docker run -p 8000:3000 -e HOST_URL=http://{ your machine IP }:8000 -e MILVUS_URL={ your machine IP }:19530 zilliz/attu:dev
```

## ✨ Building and Running attu, and/or Contributing Code

You might want to build Milvus-insight locally to contribute some code, test out the latest features, or try
You might want to build Attu locally to contribute some code, test out the latest features, or try
out an open PR:

### Build server
Expand Down
6 changes: 3 additions & 3 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Milvus insight client
# Attu client

## How to run

Expand Down Expand Up @@ -73,7 +73,7 @@ As `react-app-rewire-alias` in `config-overrides.js`, we can use alias import. `

We put all icons in components/icons file. Normally we use material icon.

If we use custom svg, like: import { ReactComponent as MilvusEmIcon } from xxx/xxx.svg'.
If we use custom svg, like: import { ReactComponent as CustomIcon } from xxx/xxx.svg'.

It's react component because of svgr/webpack in webpack config.

Expand All @@ -83,4 +83,4 @@ We use react-app-rewired to change webpack config.

If we want to change the webpack config, we can edit config-overrides.js file.

Our build path is `./build`. And we use milvus insight server to host our client site.
Our build path is `./build`. And we use Attu server to host our client site.
6 changes: 3 additions & 3 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "milvus-insight-client",
"name": "attu-client",
"version": "0.1.0",
"description": "Milvus insight UI Client",
"description": "Attu UI Client",
"license": "Apache-2.0",
"bugs": "https://github.com/milvus-io/milvus-insight/issues",
"bugs": "https://github.com/zilliztech/attu/issues",
"private": true,
"dependencies": {
"@date-io/dayjs": "1.x",
Expand Down
66 changes: 33 additions & 33 deletions client/public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ const template = [
// { role: 'appMenu' }
...(isMac
? [
{
label: app.name,
submenu: [
{ role: "about" },
{ type: "separator" },
{ role: "services" },
{ type: "separator" },
{ role: "hide" },
{ role: "hideothers" },
{ role: "unhide" },
{ type: "separator" },
{ role: "quit" }
]
}
]
{
label: app.name,
submenu: [
{ role: "about" },
{ type: "separator" },
{ role: "services" },
{ type: "separator" },
{ role: "hide" },
{ role: "hideothers" },
{ role: "unhide" },
{ type: "separator" },
{ role: "quit" }
]
}
]
: []),
// { role: 'fileMenu' }
{
Expand All @@ -44,15 +44,15 @@ const template = [
{ role: "paste" },
...(isMac
? [
{ role: "pasteAndMatchStyle" },
{ role: "delete" },
{ role: "selectAll" },
{ type: "separator" },
{
label: "Speech",
submenu: [{ role: "startspeaking" }, { role: "stopspeaking" }]
}
]
{ role: "pasteAndMatchStyle" },
{ role: "delete" },
{ role: "selectAll" },
{ type: "separator" },
{
label: "Speech",
submenu: [{ role: "startspeaking" }, { role: "stopspeaking" }]
}
]
: [{ role: "delete" }, { type: "separator" }, { role: "selectAll" }])
]
},
Expand All @@ -79,11 +79,11 @@ const template = [
{ role: "zoom" },
...(isMac
? [
{ type: "separator" },
{ role: "front" },
{ type: "separator" },
{ role: "window" }
]
{ type: "separator" },
{ role: "front" },
{ type: "separator" },
{ role: "window" }
]
: [{ role: "close" }])
]
},
Expand Down Expand Up @@ -130,7 +130,7 @@ function createWindow() {
width: 1200,
height: 800,
webPreferences: { devTools: false },
icon: "./milvus-icon.png"
icon: "./zilliz.png"
});
// mainWindow.maximize();
// mainWindow.show();
Expand All @@ -149,7 +149,7 @@ function createWindow() {
// mainWindow.webContents.openDevTools();

// Emitted when the window is closed.
mainWindow.on("closed", function() {
mainWindow.on("closed", function () {
// Dereference the window object, usually you would store windows
// in an array if your app supports multi windows, this is the time
// when you should delete the corresponding element.
Expand All @@ -163,15 +163,15 @@ function createWindow() {
app.on("ready", createWindow);

// Quit when all windows are closed.
app.on("window-all-closed", function() {
app.on("window-all-closed", function () {
// On OS X it is common for applications and their menu bar
// to stay active until the user quits explicitly with Cmd + Q
if (process.platform !== "darwin") {
app.quit();
}
});

app.on("activate", function() {
app.on("activate", function () {
// On OS X it's common to re-create a window in the app when the
// dock icon is clicked and there are no other windows open.
if (mainWindow === null) {
Expand Down
Loading