Code Monkey home page Code Monkey logo

reports-app's Introduction

This project was bootstrapped with DHIS2 Application Platform.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner and runs all available tests found in /src.

See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
A deployable .zip file can be found in build/bundle!

See the section about building for more information.

Learn More

You can learn more about this particular app in the docs

You can learn more about the platform in the DHIS2 Application Platform Documentation.

You can learn more about the runtime in the DHIS2 Application Runtime Documentation.

To learn React, check out the React documentation.

reports-app's People

Contributors

amcgee avatar anaponte avatar dependabot-preview[bot] avatar dhis2-bot avatar fossabot avatar hendrikthependric avatar ismay avatar jason-p-pickering avatar kaivandivier avatar mdhomem avatar mediremi avatar mohammer5 avatar philip-larsen-donnelly avatar samaxes avatar tomzemp avatar varl avatar

Stargazers

 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  avatar  avatar

reports-app's Issues

Port to CSS Modules

This app is currently using styled-jsx, but it is meant to use CSS Modules. At some point we'll have to refactor this.

is dead?

the release update is only sync translation. even no change.

dead?

Custom download option not working in the standard report section

In the new version of Chrome, downloads in an iframe have been disabled and because of that, I am not able to use my custom download buttons in the reports. Is it applicable to add "allow-downloads" in the iframe tag? If yes then, please add it.

Path: reports-app/src/pages/standard-report/HtmlReport.js

error: Module parse failed: Unexpected token (7:23)

Hello there,

I am trying to add allow-downloads into sandbox options and recompile the standard-report for ver2.34.1
But have faced the following error:

Creating an optimized production build...
Failed to compile.

./node_modules/@dhis2/prop-types/build/es/index.js
Module parse failed: Unexpected token (7:23)
You may need an appropriate loader to handle this file type.
| export * from 'prop-types'; // Export all prop-types as a default export as well
|
| const allPropTypes = { ...propTypes,
|   ...customPropTypes
| };

How it could be fixed?
thanks

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.