GithubHelp home page GithubHelp logo

project-reports-action's People

Contributors

bryanmacfarlane avatar jclem avatar mattkorwel avatar scottdensmore avatar

Watchers

 avatar

project-reports-action's Issues

Statuses as enums

Currently, statuses sort by string since they're just "red", "yellow", or "green", so their sort isn't really meaningful:

Screen Shot 2020-08-31 at 10 47 21 AM

Instead, it might be nice to convert them to integer enums for the output so that we can sort 0/green, 1/yellow, 2/red.

Should "reports" be a map?

Since we output the "reports" each in a directory with the name of the report, I'm wondering if we should transition "reports" in the config from a list:

reports:
  - name: Todo
    title: etc
  - name: Issues
    title: etc

To a map:

reports:
  Todo:
    title: etc
  Issues:
    title: etc

This would enforce the uniqueness of names, which is currently implicit and may cause bugs if users accidentally re-use names.

Generator assumes section type uniqueness

When the generator is building the processed data, it assumes that there is only one type of each section per config. When a config has, for example, "repo-issues" sections for multiple repositories, the "processed.json" output is overwritten each time we process a section, and when the generator is done, only the last "repo-issues" section in the config is represented by "processed.json".

I think the right way to fix this is to probably create a separate directory for each section—it just means that the directories need a unique identifier beyond just the section type name.

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.