superset/superset-frontend/temporary_superset_ui/superset-ui
Krist Wongsuphasawat 024b318dd2 feat: add functions for parsing scales (#207)
* feat: add more util functions

* feat: add unit test

* feat: define HasToString

* fix: unit test

* fix: update unit tests

* feat: add scale types

* feat: update scale parsing

* fix: enum

* feat: add color scale extraction

* refactor: create scale from config

* feat: parse more scales and add more test

* feat: add tests for band and point

* test: add more unit tests

* refactor: separate applyXXX into multiple files

* feat: parse nice time

* test: add unit tests

* test: make 100% coverage

* fix: complete coverage

* refactor: update type definitions

* fix: address comments

* fix: add comments for date parts

* fix: build issue

* fix: broken tests
2021-11-26 11:44:56 +08:00
..
.github chore: create issue_label_bot.yaml (#135) 2021-11-26 11:44:48 +08:00
packages feat: add functions for parsing scales (#207) 2021-11-26 11:44:56 +08:00
scripts add scripts to copy assets to dist folders (#90) 2021-11-26 11:44:40 +08:00
test fix(connection): disable caching when on an insecure connection (#194) 2021-11-26 11:44:53 +08:00
.gitignore docs: update changelog 2021-11-26 11:44:46 +08:00
.npmrc [build-config] move to monorepo root (#11) 2021-11-26 11:44:31 +08:00
.travis.yml Convert translation to typescript (#74) 2021-11-26 11:44:39 +08:00
CHANGELOG.md docs: update changelog 2021-11-26 11:44:55 +08:00
commitlint.config.js chore: add commitlint and commitizen config 2021-11-26 11:44:43 +08:00
lerna.json v0.12.2 2021-11-26 11:44:55 +08:00
LICENSE add license 2021-11-26 11:44:32 +08:00
package.json feat: add functions for parsing scales (#207) 2021-11-26 11:44:56 +08:00
README.md docs: update readme 2021-11-26 11:44:55 +08:00

@superset-ui

Codecov branch Build Status David Netlify Status

Collection of packages that power the Apache Superset UI, and can be used to craft custom data applications that leverage a Superset backend 📈

Demo

Most recent release: https://apache-superset.github.io/superset-ui/

Current master: https://superset-ui.netlify.com

Packages

Package Version
@superset-ui/chart Version
@superset-ui/chart-composition Version
@superset-ui/color Version
@superset-ui/connection Version
@superset-ui/core Version
@superset-ui/dimension Version
@superset-ui/generator-superset Version
@superset-ui/number-format Version
@superset-ui/query Version
@superset-ui/time-format Version
@superset-ui/translation Version

Development

lerna is used to manage versions and dependencies between packages in this monorepo.

superset-ui/
  lerna.json
  package.json
  ...
  packages/
    package1/
      package.json
      ...
      src/
      test/
      ...
      lib/
      esm/
      ...
    ...

Installation

  1. clone this repo
  2. have yarn install package dependencies and manage the symlinking between packages for you
git clone ...superset-ui && cd superset-ui
yarn install
yarn build

Builds, linting, and testing

Each package defines its own build config, linting, and testing. You can have lerna run commands across all packages using the syntax yarn run test (or yarn run test:watch for watch mode) from the root @superset-ui directory.

Committing

This repository follows conventional commits guideline for commit messages and has a commitlint hook which will require you to have the valid commit message before committing. You can use npm run commit to help you create a commit message.

Publishing

Prerequisite: You'll need an npmjs.com account that is part of the superset-ui organization.

  1. Make sure you're logged in to NPM from your shell. Run npm login if necessary.
  2. To make the release, run yarn run release and follow the prompts.

License

Apache-2.0