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

Presentation Layer for NPM Register #92

Merged
merged 54 commits into from
Aug 31, 2018
Merged

Conversation

dgautsch
Copy link
Collaborator

@dgautsch dgautsch commented Sep 24, 2017

This is my first pass at a UI.

Leveraged the Material UI react library to build this out. https://material-ui-1dab0.firebaseapp.com

Features included

  • Listing of all apps in the registry
  • Downloadable Tarballs
  • Readme details that open in a modal

To Do

  • Add search
  • Unit tests for new API
  • S3 tarball download bug fix

Dan Gautsch and others added 30 commits September 6, 2017 23:04
Adding readme to the API response
@@ -2,5 +2,5 @@ const app = require('./server')
const config = require('./config')

app.listen(config.port, function () {
console.log(`${app.name} listening on port ${config.port} [${app.get('env')}]`)
console.error(`${app.name} listening on http:https://localhost:${config.port} [${app.get('env')}]`)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be log...oversight on my part.

@dgautsch
Copy link
Collaborator Author

I'll be revisiting this since I have time now. Sorry for the delay everyone.

@holms
Copy link
Contributor

holms commented Jun 25, 2018

Well can we have this? This is a killer feature :)

@dgautsch
Copy link
Collaborator Author

@holms yea i'm jumping back into this. stay tuned!

@holms
Copy link
Contributor

holms commented Jun 26, 2018

I'm really glad you've did so much regarding this, would be nice to have some voice from maintainer. Also those CI tests are dead for a long time too. I can't even use this product in container got permission denied if using local fs.

@holms
Copy link
Contributor

holms commented Jun 26, 2018

@dgautsch I've just submitted a PR, and seems to be tests are passing. Probably you're still on old pipeline task or something. I'd re-submit PR if I were you :) Because it's complains about AWS keys, which nowhere to be found in pipeline which been executed on my PR

update: no, I recall my words, probably because app itself haven't been touched, so it doesn't trigger testing pipeline where it test S3 with AWS creds.

@dgautsch
Copy link
Collaborator Author

dgautsch commented Jul 8, 2018

Update on this: The only thing holding this back is the tarball from S3 isn't resolving. Works fine when running from the local filesystem. This only happens with namespaced packages. @jdxcode any idea what might be causing this? I was going to look more into this today.

@holms
Copy link
Contributor

holms commented Jul 13, 2018

@jdxcode we want to progress with your beautiful registry :)

@codecov
Copy link

codecov bot commented Jul 18, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@362309d). Click here to learn what that means.
The diff coverage is 27.58%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #92   +/-   ##
=========================================
  Coverage          ?   85.86%           
=========================================
  Files             ?       28           
  Lines             ?      467           
  Branches          ?        0           
=========================================
  Hits              ?      401           
  Misses            ?       66           
  Partials          ?        0
Impacted Files Coverage Δ
lib/storage/base.js 25% <0%> (ø)
lib/config.js 100% <100%> (ø)
lib/routes/index.js 100% <100%> (ø)
lib/routes/client.js 62.5% <62.5%> (ø)
lib/storage/fs.js 76.78% <7.69%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 362309d...21f9327. Read the comment docs.

@holms
Copy link
Contributor

holms commented Jul 18, 2018

Really waiting for this to be merged :)

@dgautsch dgautsch changed the title React UI and Webpack Build Tools Presentation Layer for NPM Register Jul 24, 2018
@dgautsch dgautsch merged commit bf5ca63 into jdx:master Aug 31, 2018
@dgautsch dgautsch deleted the feature/ui branch October 21, 2018 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants