Giter Club home page Giter Club logo

console's Introduction

Console

To get started, run Console with:

pilosa-console [-bind ADDR]

Optionally pass a bind address.

Pilosa must be configured with CORS support for the Console to work:

pilosa server --handler.allowed-origins="http://localhost:8000"

Development

Start a basic development server with:

make server

License

Pilosa Console is license under the GNU Affero General Public License. A copy of the license is included in COPYING.

console's People

Contributors

codysoyland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

console's Issues

Pilosa server URL bar

The URL to the pilosa server is hardcoded to localhost:10101. We should make that a field in the WebUI.

Console TopN results in table format

TopN results should be presented in a table format

Success criteria

Output div for TopN results contains a table of results, with appropriate labels.

Help menu

The WebUI help menu doesn't reflect the latest PQL changes, and could use some touching up. Making it sticky would help usability as well.

Success criteria

  • Help menu is sticky, not hover-over.
  • Help menu reflects latest PQL.
  • Includes link to Query Language docs.

Schema browser

There should be a way to browse the schema in the WebUI.

I'm picturing an interface with collapsable/expandable tree elements, with a hierarchy of:

  • indexes
  • frames
  • views/fields

Node management

Node info is limited in the Cluster Admin section of the WebUI. With the latest changes in the cluster-resize branch, we now have more capabilities we can take advantage of.

The node list can contain the following attributes for each node:

  • Node ID
  • Cluster ID
  • IP address
  • Web port
  • Gossip port
  • Coordinator
  • Buttons:
    • Remove node
    • Set coordinator

We also should have the ability to display the cluster status and appropriately handle errors when attempting requests to locked handlers during a resize operation.

Success criteria

  • Node metadata and buttons above are present in WebUI
  • Cluster status indicator
  • API errors should be detected and displayed properly (including cluster resize status if applicable).

build console failed

Hi there,

I try to compile console but failed.

  1. git clone https://github.com/pilosa/console.git
  2. cd console
  3. make build
go generate github.com/pilosa/console/pkg/static
go build  github.com/pilosa/console/cmd/pilosa-console
/usr/local/Cellar/go/1.12.5/libexec/src/archive/zip/struct.go:24:2:
/usr/local/Cellar/go/1.12.5/libexec/src/path/example_test.go:1:1: expected 'package', found 'EOF'
/usr/local/Cellar/go/1.12.5/libexec/src/internal/fmtsort/sort.go:12:2:
/usr/local/Cellar/go/1.12.5/libexec/src/reflect/all_test.go:1:1: expected 'package', found 'EOF'
make: *** [build] Error 1

my go info:

GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/knight/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/knight/code/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.5/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/5d/8gzdb8y16116hwc66q5m45gr0000gn/T/go-build764893398=/tmp/go-build -gno-record-gcc-switches -fno-common"

Go-based webserver

The UI must be viewed via http[s]://, not file:// as Chrome disallows ajax requests from file:// origins. Therefore, we must run a simple web server. A Go-based server would work well for this, and could package the entire app into one file (the executable).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.