Giter Site home page Giter Site logo

leoping / thinreports-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thinreports/thinreports-basic-editor

0.0 1.0 0.0 65.08 MB

Report Designer

Home Page: http://www.thinreports.org/features/editor/

License: Other

Ruby 0.31% HTML 2.20% JavaScript 93.12% CSS 4.37%

thinreports-editor's Introduction

Thinreports Editor Join the chat at https://gitter.im/thinreports/thinreports-editor

Thinreports is an open source report generation tool for Ruby.

  • Thinreports Editor (GUI Designer)
  • Thinreports Generator (Report Generator for Ruby)

Features

Features of Generator is here.

Easy to use

Less special training, possible to create by drag&drop.

Multi-platform

Currently supported platforms are Windows, Mac and Linux.

I18n Support

Currently supported locales are Japanese and English. Please contribute to translate!

Supported Platforms

ChromeApp ver

ChromeApp version of Thinreports is available for Windows, Mac, and Linux computers. Please see System requirements - Chrome Help for more information.

DesktopApp ver

  • Windows XP/7/8/8.1

Getting Started

Contributing

Report bug, post your suggestion

If you find bugs or improvements for the Editor, please report it here.

Translating

See doc/TRANSLATION.md.

Sending a Pull Request

  1. Fork it
  2. Clone your forked repository (Note: How to clone the source of the Editor)
  3. Create your feature branch: git checkout -b my-new-feature
  4. Fix. See Developing about how to develop.
  5. Commit your changes: git commit -am 'Fixed some bugs'
  6. Push to the branch: git push origin my-new-feature
  7. Create new Pull Request

Developing

Requirements

References for developing

Basic Development Flow

  1. Fix your feature
  2. Rebuild script dependency as needed - How to rebuild script dependency
  3. Check operation of your fixes - How to launch development version of the Editor
  4. Build production version of the Editor - How to build production version of the Editor
  5. Check compilation error - How to build production version of the Editor
  6. Check operation of your fixes - How to launch production of the Editor

How to clone the source of the Editor

$ git clone https://github.com/thinreports/thinreports-editor.git
$ cd thinreports-editor/
$ git submodule update --init

How to launch development version of the Editor

See Step5: Launch your App - ChromeApp Reference to learn how to launch ChromeApp. Then, specify thinreports-editor/src to lanuch.

How to rebuild script dependency

If you have edited goog.require() or goog.provide(), you have to run the following command in order to rebuild the dependency. See Finding Your Way around the Closure Library for learning the Closure Library Namespace.

$ cd thinreports-editor
$ rake dev:calcdeps

Thereby, script list in thinreports-editor/src/app.html will be rebuilt.

How to build production version of the Editor

Run the following command:

$ cd thinreports-editor
$ rake package:build

This command executes the following process:

  1. Remove thinreports-editor/package directory if exists
  2. Create thinreports-editor/package directory
  3. Copy src/{app.html,app.js,background.js,manifest.js,locales} to package directory
  4. Create package/assets directory to copy src/assets/{fonts,iconfs} to package/assets directory
  5. Compile src/assets/*.css to create src/assets/style.css
  6. Append compiled script to package/app.js
  7. Rebuild script list in package/app.html

See thinreports-editor/Rakefile for further details.

How to launch production of the Editor

See How to lanuch development version of the Editor, however you need to specify thinreports-editor/package directory as app folder for launching production version of the Editor.

Then, you must be sure that there are no syntax errors and warnings to see the thinreports-editor/dev/tmp/javascript-compile.log.

Note: Currentry the following errors will be logged in the log file, but you can ignore that.

/path/to/thinreports-editor/src/lib/closure-library/closure/goog/fx/dom.js:209: WARNING - Parse error. Non-JSDoc comment has annotations. Did you mean to start it with '/**'?
  /*
^

/path/to/thinreports-editor/src/lib/closure-library/closure/goog/fx/dom.js:216: WARNING - Parse error. Non-JSDoc comment has annotations. Did you mean to start it with '/**'?
  /*
^

0 error(s), 2 warning(s)

Guidelines

  • JavaScript Annotation required. Syntax and Examples of Annotation is here

Development Tasks

You can see the following task list by running rake -T.

rake dev:build_template  # Compile template of the specification sheet to JavaScript
rake dev:calcdeps        # Calculates core JavaScript dependencies
rake dev:check           # Check structure and syntax of scripts by testing compilation
rake package:build       # Build a release package
rake package:cleanup     # Clean up package

License

Thinreports Editor is licensed under the GPLv3. Please see LICENSE for further details.

Copyright

© 2010-2015 Matsukei Co.,Ltd.

thinreports-editor's People

Contributors

burisu avatar hidakatsuya avatar maeda-m avatar

Watchers

 avatar

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.