Git Product home page Git Product logo

gooddata-ui-sdk's Introduction

GoodData Logo

GoodData.UI

sdk.gooddata.com/gooddata-ui

GoodData.UI on npm  GoodData.UI on npmcharts  GoodData TypeScript support badge  GoodData Community Slack 

GoodData.UI is a TypeScript framework for building analytical applications on top of the GoodData platform, GoodData Cloud or GoodData.CN.

GoodData.UI consists of multiple libraries with clear-cut responsibilities ranging from low-level REST API clients up to visualization libraries that deliver React-based components to render different types of charts and tables.

Documentation and examples

Learn about GoodData.UI:

Package overview

The most notable packages in this monorepo

package description
@gooddata/sdk-model Domain models for GoodData.UI
@gooddata/sdk-backend-spi Definitions of the Service Provider Interface (SPI) for the Analytical Backend
@gooddata/sdk-backend-tiger Analytical Backend implementation for GoodData Cloud and GoodData.CN
@gooddata/sdk-ui-charts React-based chart visualizations that you can use to visualize your data
@gooddata/sdk-ui-pivot React-based PivotTable component that you can use to visualize your data in a table-based manner
@gooddata/sdk-ui-geo React components that you can use to visualize your location-based data
@gooddata/sdk-ui-dashboard Dashboard component that can be used to embed dashboards into your application as React components
@gooddata/sdk-ui-ext Various extensions to the base React-based components, see the package README for more
@gooddata/sdk-ui-filters Set of classes and React components for creating filter-related UI
@gooddata/sdk-ui-theme-provider Tools to make your application support themes

Contributing

To learn how to contribute, check out the Contribution Guide.

License

(c) 2017-2023 GoodData Corporation

This repository is under a GoodData commercial license available in the LICENSE file because it contains a commercial package, HighCharts. Subdirectories containing the MIT license are not subject to the GoodData commercial license and do not contain any commercial code. Please see the NOTICE file for additional licensing information related to this project's third-party open source components.

gooddata-ui-sdk's People

Contributors

akloboucnik avatar gdgate avatar hackerstanislav avatar ivan-nejezchleb avatar ivanmjartan avatar kandl avatar khanhhuynh-gooddata avatar krejzd avatar lanhq avatar lupko avatar marmil-cz avatar milanlempera avatar naibinh avatar nestorencinas avatar no23reason avatar oleg-morozov avatar patrikbraborec avatar pbenes avatar petrjanu avatar petrvolny avatar phong-nguyen-duy avatar plavemar avatar scavnickyj avatar strouhaljan avatar tomasreichmann avatar tomassatinsky avatar tulean avatar vaclavbohac avatar xmort avatar yanlipnican avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gooddata-ui-sdk's Issues

Insights are never rerendered

There is one issue we are facing with InsightView.
There is one react component where we are showing InsightViews. In case that component is rerendered, Insightviews are never displayed again.
It seems issue somewhere around contentRect used in HighChartRenderer. In case of rerendering, height inside contentRect is always showing as 0.

Hostname option for backend requires protocol

We started using GoodData UI, and everything seemed to work except exporting. After some debugging, it turned out that the issue was caused by doing

const backend = bearFactory({
  hostname: "<ourtenant>.on.gooddata.com"
});

instead of

const backend = bearFactory({
  hostname: "https://<ourtenant>.on.gooddata.com"
});

This was easy to fix, but finding the cause was harder than necessary. Most things work when you do not add the protocol to the hostname. As far as I can tell, the direct cause of the error is:

new URL(resultUri, ctx.backend.config.hostname)

Which fails with TypeError: URL constructor: <tenant>.on.gooddata.com is not a valid URL..

Ideally, the url would be checked immediately on creation of the backend instance.

svgs not loading

Using the accelerator toolkit, everything is fine, but if I try to use @gooddata/sdk-ui-ext (version 8.8.0) in an existing project then SVGs won't load. When the project starts I get the following error:

C:\Work\Source\datacloud-reporting\node_modules\@gooddata\sdk-ui-ext\dist\internal\assets\area\bucket-title-measures.svg:1
[1] <svg width="16" height="12" xmlns="http://www.w3.org/2000/svg"><path d="m0 5.394 2.387-.666L7.937.762 12.66 5.33 16 .92v10.365H0z" fill="#B0BECA" fill-rule="evenodd"/></svg>     
[1] ^
[1]
[1] SyntaxError: Unexpected token '<'
[1]     at Object.compileFunction (node:vm:352:18)
[1]     at wrapSafe (node:internal/modules/cjs/loader:1031:15)
[1]     at Module._compile (node:internal/modules/cjs/loader:1065:27)
[1]     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)        
[1]     at Module.load (node:internal/modules/cjs/loader:981:32)
[1]     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
[1]     at Module.require (node:internal/modules/cjs/loader:1005:19)
[1]     at require (node:internal/modules/cjs/helpers:94:18)
[1]     at Object.<anonymous> (C:\Work\Source\datacloud-reporting\node_modules\@gooddata\sdk-ui-ext\src\internal\utils\uiConfigHelpers\areaChartUiConfigHelper.ts:21:1)
[1]     at Module._compile (node:internal/modules/cjs/loader:1101:14)

Is there some library I need to load that you may be setting up in the accelerator project for svg (some babel plugin?), that I need to use as well?

Support for React 18?

Are there any plans to support React 18 in @gooddata/sdk-ui*, even if just as a peer dependency?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
libs/sdk-ui-tests-e2e/docker-compose-integrated.yaml
  • cypress/included 10.10.0
libs/sdk-ui-tests-e2e/docker-compose-isolated.yaml
  • cypress/included 10.10.0
  • wiremock/wiremock 2.34.0
dockerfile
libs/sdk-ui-tests-e2e/Dockerfile
  • 020413372491.dkr.ecr.us-east-1.amazonaws.com/3rdparty/nginxinc/nginx-unprivileged 1.23.1-alpine
libs/sdk-ui-tests-e2e/Dockerfile_local
  • 020413372491.dkr.ecr.us-east-1.amazonaws.com/3rdparty/nginxinc/nginx-unprivileged 1.23.1-alpine
libs/sdk-ui-web-components/Dockerfile
  • nginxinc/nginx-unprivileged 1.23.3

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
libs/sdk-ui-tests-e2e/docker-compose-integrated.yaml
  • 020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-frontend-cypress-factory 202311211156.11759a0
libs/sdk-ui-tests-e2e/docker-compose-isolated.yaml
  • 020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-frontend-cypress-factory 202311211156.11759a0
  • 020413372491.dkr.ecr.us-east-1.amazonaws.com/3rdparty/wiremock/wiremock 2.35.0
dockerfile
libs/sdk-ui-tests-e2e/Dockerfile
  • 020413372491.dkr.ecr.us-east-1.amazonaws.com/3rdparty/nginxinc/nginx-unprivileged 1.25.1-alpine
libs/sdk-ui-tests-e2e/Dockerfile_local
  • 020413372491.dkr.ecr.us-east-1.amazonaws.com/3rdparty/nginxinc/nginx-unprivileged 1.25.1-alpine
libs/sdk-ui-web-components/Dockerfile
  • nginxinc/nginx-unprivileged 1.25.1

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.