Giter VIP home page Giter VIP logo

graphbi's People

Contributors

dess890 avatar dm-p avatar lmeyerov avatar ravenboilinux avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

graphbi's Issues

PowerBI Python (PyGraphistry) hello world

  • Example of using Python widget on sample data against a free Graphistry Hub account via PyGraphistry (pip install graphistry)

  • Instructions for Leo / user to duplicate the flow

Autogenerate pbiviz downloadable on git tag push

  • on git tag (git tag 0.1.2) trigger a build
  • ensure build uses that tag for version numbers: UI, pbi file
  • save generated pbiviz as part of github tag downloads
  • include version badge + link to tag download page on readme

Firefox does not load Les Mis

React component does not go beyond loading state:

  • parent creates iframe
  • iframe signals ready (load event + init postMessage)
  • graphistryjs receives init
  • unclear if graphistryjs successfully posts ready / iframe receives it: no error

Des onboarding

Setup:

  • powerbi reports online account
  • windows wsl2 ubuntu for nodejs dev
  • checkout graphbi repo and build "graphistry for powerbi" component
  • import component in powerbi reports and create a viz (can use a free graphistry hub account)

Chrome CORS errors during /pipe pageload

On loading les mis:

Access to resource at 'https://hub.graphistry.com/streamgl/pipe?id=b17e851bc74e428baef22091d45faaea' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

It seems that GET /pipe (=tick?) gives a 200, but the browser rejects because it was a sec-fetch-mode: cors, origin: null call with no Access-Control-Allow-Origin: null response header. In contrast, POST /open, POST /read, POST /play respond with Access-Control-Allow-Origin: null.

Network:

GENERAL
Request URL: https://hub.graphistry.com/streamgl/pipe?id=b17e851bc74e428baef22091d45faaea
Request Method: GET
Status Code: 200 
Referrer Policy: strict-origin-when-cross-origin

RESPONSE HEADERS
cache-control: no-cache
content-security-policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
content-type: text/event-stream;charset=UTF-8
date: Mon, 13 Dec 2021 07:06:48 GMT
expect-ct: max-age=0
referrer-policy: no-referrer
server: Caddy
server: nginx
strict-transport-security: max-age=15552000; includeSubDomains
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0

REQUEST HEADERS
:authority: hub.graphistry.com
:method: GET
:path: /streamgl/pipe?id=b17e851bc74e428baef22091d45faaea
:scheme: https
accept: text/event-stream
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9
cache-control: no-cache
dnt: 1
origin: null
pragma: no-cache
sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36

Numeric layout props not appearing -- undefined handling?

Ex:

"gravity": {

Some reason the bool properties are showing up and impacting layout, but numeric properties are not showing up in the panel and thus not impacting layout, ex, gravity ( https://github.com/graphistry/graphbi/search?q=gravity : strength of center of gravity in middle of screen ~= blackhole vortex)

  • config.LayoutGravity = this.visualSettings.layoutSetting.gravity;
  • but some reason not showing up in the powerbi panel either
  • in this particular case, also, gravity missing in extraOpts at
    const extraOpts = {
  • should appear in the url of the generated visualization as &gravity=...

See also: https://hub.graphistry.com/docs/api/1/rest/url/#urloptions

Image

vs

Image

MS MVP Questions

  • Unaggregated view: Should be possible, Mike should discuss w/ Meagan in the Slack
  • How to do an unsigned widget packaging?: .pbviz should be locally installed by user + by org admin so should be fine for now: let's generate and confirm w/ user
  • how long to get approval: ~Months for appsource. Leo will network w/ MS (appsource) and internally at customer (org admin.)
  • getting pygraphistry approved on powerbi app source: First should do feasibility studies. Unlikely due to outcalls being explicitly prohibited, but may be fine via org admins in practice or after networking.

MVP tweaks

  • password field: show as *** <-- not possible
  • text: "Graphistry Url" => "Graphistry Server"
  • URL: auto-append to iframe url: ...&splashAfter=true
  • URL: auto-append to iframe url: ...&menu=false <- default
  • menu toggle: menu=true vs menu=false
  • menu toggle: splashAfter
  • dataset id: allow entry of dataset id, which skips upload and just shows iframe/link . server/username/pass can be empty in this case.

re:url params, for reference: https://hub.graphistry.com/docs/api/1/rest/url/#urloptions

improve file name

In pbiviz.json, the guid should not be tableExample04E649621A964F0491F29D514385D7FC

  • rename to graphistry
  • research whether we need to include the numeric part: where does it come from?

In the generated bundle, it already includes the version (nameGUID.version.pbiviz) so we are good there

PowerBI extension install video

Either a custom video or one already on youtube that shows in ~30s-3min how to install a .pbviz and have it show up in your visuals panel

Get version number into the tool

  • Create & push a git tag of the version (ex: 0.1.1)
  • During the build, use the current git tag to:
  • ... in the js console, during load, print a friendly message + pbi version number
  • ... in the pbi ui, such as the settings panel or the component name when adding, maybe there is a way to get the version number somewhere in the UI (so no code skills needed)

Create test dataset designed for the shaping project

To simplify development, we should create a powerbi dataset good for testing:

  • multiple node attributes and of different types
  • multiple edge attributes and of different types
  • several node/edge attributes good for metrics

Ideally something fun and reusable by our users, like log activity data or transactions from some interesting system (bitcoin, ...), and potentially augmented for testing purposes

We can work with meagan on the process for this

Firefox support

  • stuck fetching
  • css container different?
  • panel settings dispapear on load, breaking

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.