Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a user-friendly project inventory #241

Open
jordangov opened this issue Oct 1, 2018 · 8 comments
Open

Have a user-friendly project inventory #241

jordangov opened this issue Oct 1, 2018 · 8 comments

Comments

@jordangov
Copy link
Contributor

Feature

Right now the only way to see projects on Code.mil is to look at the code.json file. I would like to have a user-friendly view of the projects in that inventory for anyone to peruse. The Code.gov team has something like this, but I'm not sure if it is reusable, and we don't necessarily need it to look like that.

@RicardoAReyes
Copy link

@jordangov One idea would be to repurpose the LLNL Software Catalog Portal, https://software.llnl.gov, it uses the GitHub.io software.

https://github.com/llnl/llnl.github.io

@IanLee1521 would like that as well.

People are looking at this feature request during the Operation Code - Holiday Civic Hackathon today.

@milovanderlinden
Copy link
Contributor

I am looking at this issue. If the code.json file would be in the _data directory before the build; it could be added for isntance like

{%- for release in site.data.code.releases -%}
  <li>{{ release.name }}</li>
{%- endfor -%}

Which in this case would render a list of releases. I am prototyping it now. I changed the file code_gov_inventory_generator.rb to actually write a file in _data; but it runs in an infinite loop during jekyll serve, that is not something I want.

@DanielJDufour
Copy link

It was brought up as a question in the hackathon. Here's where to find the code.json for code.mil:
https://code.mil/code.json

@milovanderlinden
Copy link
Contributor

milovanderlinden commented Dec 9, 2018

The code.json is generated by the file in src/_plugins/code_gov_inventory_generator.rb but this is generated AFTER the pages are built. To have it available BEFORE the pages are built, another script is required that generates code.json in the src/_data/ directory. I have a working prototype for this.

milovanderlinden added a commit to milovanderlinden/code.mil that referenced this issue Dec 9, 2018
@b-d055
Copy link

b-d055 commented Feb 19, 2019

@jordangov is anyone working on this at the moment? I'd like to get involved by starting a simple implementation of this using React. The code.gov repo https://github.com/GSA/code-gov-front-end has react components already built that we can take advantage of.

As stated, this may make the build process more complicated, however, I think we could accomplish it relatively pain-free by using JS and Babel only and skipping the toolchain process .

@DanielJDufour
Copy link

Hi, @b-d055 . I used to work on the code.gov front-end and now contribute as a volunteer. Let me know if you have any questions. Feel free to email me at daniel.j.dufour@gmail.com. You can also reach the current code.gov team at code@gsa.gov (as well as Github)

@jordangov
Copy link
Contributor Author

@b-d055 I do not know of anyone working on this actively. Go forth!

@b-d055
Copy link

b-d055 commented Feb 23, 2019

Thanks @DanielJDufour!

@jordangov I have already forked and have am working on a basic, display-only version of the projects page.

@b-d055 b-d055 mentioned this issue Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants