GithubHelp home page GithubHelp logo

issues's People

Contributors

mliszcz avatar

Watchers

 avatar  avatar  avatar

issues's Issues

Default attribute values not honored

        const lineEdit = document.createElement('tangojs-line-edit')

        lineEdit.setAttribute('model', 'tangojs/test/dev1/scalar')
        lineEdit.pollPeriod = 1000

Above does not display name, unit and status led

Simplify connector interface

  /**
   * @return {Promise<AttributeInfo>|Promise<AttributeInfo[]>}
   * @param {string} devname
   * @param {undefined|string|string[]} attnames
   */
  get_device_attribute_info(devname, attnames) {

Such overloads shall be handled at tangojs-core level, and connector shall simply take string[] and return a Promise<AttributeInfo[]>.

Refactor for Javascript ES7

ES2017+ brings the Promises with async/await which are more readable syntax.

What may prevent to use EcmaScript 2017?

Update code for Shadow DOM V1 spec

  • use element.attachShadow instead of deprecated createShadowRot (all components affected)
  • use slot instead of content insertion point (button affected)

This issue is blocked until these features are implemented in both FF and Chrome.

Deploy in production mode to gh-pages

npm install (in package directory, no arguments):

Install the dependencies in the local node_modules folder.

In global mode (ie, with -g or --global appended to the command), it installs the current package context (ie, the current working directory) as a global > package.

By default, npm install will install all modules listed as dependencies in package.json.

With the --production flag (or when the NODE_ENV environment variable is set to production), npm will not install modules listed in devDependencies.

Command support for tangojs-form

Command button requires restructuring: it should:

  • use "form-layout" like line-edit or label
  • optionally show input (text-field) and last output

Browser hangs on line-edit update

When user changes value in line-edit using spinner button, the browser freezes and CPU usage goes 100%.

This was observed only on Firefox, starting from v. 46.

I was unable to reproduce the issue on Chrome.

Restructure tangojs-core

Classes should be separated into two packages:

  • tangojs.core.tango - generated stuff,
  • tangojs.core.api - exact copy of Tango Java API,
  • [optional] tangojs.core.api2 extensions for API classes (e.g. DeviceProxyEx or api2.DeviceProxy) which are like original Tango API but also sane, consistent and intuitive.

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.