GithubHelp home page GithubHelp logo

researchhub / researchhub-web Goto Github PK

View Code? Open in Web Editor NEW
53.0 9.0 30.0 91.55 MB

๐Ÿš€ Accelerating Science - researchhub.com Next.js web app

Home Page: https://researchhub.com

License: MIT License

JavaScript 47.63% Shell 0.02% CSS 0.87% TypeScript 51.47%
researchhub opensource science science-research

researchhub-web's Introduction

The ResearchHub Next.js Web App

Discord Badge

ย 

Our Mission

Our mission is to accelerate the pace of scientific research ๐Ÿš€

We believe that by empowering scientists to independently fund, create, and publish academic content we can revolutionize the speed at which new knowledge is created and transformed into life-changing products.

Important Links ๐Ÿ‘€

๐Ÿ’ก Got an idea or request? Open issue on Github.
๐Ÿ› Found a bug? Report it here.
โž• Want to contribute to this project? Introduce yourself in our Discord community
๐Ÿ”จ See what we are working on
๐Ÿ“ฐ Read the ResearchCoin White Paper

Setup

  1. Run cp .env.development.example .env.development
  2. nvm install 20.11.1 (installing nvm)
  3. nvm use 20.11.1
  4. yarn install (installing yarn)
  5. yarn run dev
  6. You will also need to install the backend app for the project to run

macOS

Executing yarn install on macOS may display some gyp errors associated with the canvas native dependency. To fix these errors, install the following packages using Homebrew:

brew install pango pkg-config

Contributing to the codebase

  1. Fork this repo and then clone it to your local env
  2. Create a new branch
git checkout -b MY_BRANCH_NAME
  1. Submit a pull request against master branch of this repository

researchhub-web's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

researchhub-web's Issues

Author/profile page

Create profile page for users.

  • Comments tab
  • Authored Papers
  • User Profile without an account ( used for authors who are not in the system yet)
  • User Profile with accounts ( for all users who have an account. Displays more information)

Paper Upload Flow End To End

Paper upload flow needs to be end to end, from uploading a PDF to adding paper metadata to seeing it live on the site

Restrict email login to .edu or google oauth

How does this affect users?

Only allow users with .edu email

Testing

  1. Go to /login or /signup
  2. Enter an email that is not .edu
  3. Notice it doesn't send a token
  4. Enter a .edu email
  5. Notice it sends a token!

Make discussion thread actions clickable

Instead of making the entire thread card on the discussion tab navigate to the thread page, only make the timestamp, title, read button, and comments button navigate to the thread's page.

The author should go to the author's profile.
The share button should have its own functionality, TBD.
The vote widget has its own functionality.

image

Show comment immediately after submission

When we submit a comment, we should immediately see it in the list of comments.

Also when we submit the comment, the comment box should reset back to initial state.

Voting Component

Create the voting component

  • Display current rating
  • Upvote functionality
  • Downvote functionality

Add api lib

How does this affect users?

n/a

Testing

n/a

Discussion page not getting Discussion / Comments

Screen Shot 2019-10-04 at 12 20 28 AM

Something broke in the newer versions of this page. The comments / discussions are not being rendered properly. Not sure if they're not grabbed from the backend or the frontend isn't rendering it properly.

Paper Page Header

Create the header for the paper page.

  • Title
  • Description/Summary
  • Author
  • Tags
  • Date
  • Actions

Auto-run tests before push

How does this affect users?

n/a

Testing

  1. Write a passing cypress test
  2. Commit and push the change
  3. Notice cypress tests run and the change gets pushed
  4. Write a failing cypress test
  5. Repeat 2
  6. Notice test fails and changes don't get pushed

Notes

n/a

Full paper tab

Create the tab where users can read the full research paper

  • Display research paper for users to read

Create summary tab

Create the summary tab with user editing functionality.

  • Grab sections of Summary from backend
  • Add functionality for editing information
  • Add functionality to display edit history
  • Add functionality to revert changes

Edit Summary Metadata

The summary page metadata needs to be editable.

This includes all the metadata from the paper upload -- authors, publish date, title, and short descriptor.

Add new author modal

Create the add new author modal when adding authors that aren't in our system yet.

  • Name Inputs
  • University input
  • Email input
  • Social media links

Citations tab

Create tab to display the things that the paper cited, as well as papers that cited the current paper.

  • citations
  • cited by
  • citation graph

Create hubs page

Create hubs page

  • display papers in hub
  • sort/filter
  • search
  • locked hub page
  • create hub page to view all hubs

Summary not submittable

We need the summary to be submittable.

Currently the summary flow does not get the summary from the backend, and then it also does not submit.

Screen Shot 2019-10-04 at 12 19 26 AM

Upload Paper Flow Needs Go to Top

Once we move from step to step, we need to go back to the top of the page

Currently we land on this after moving to the next step:

Screen Shot 2019-10-04 at 12 12 36 AM

Create google sign up form

How does this affect users?

See sign up with google

Testing

  1. Go to /
  2. Click signup with google
  3. Login to google
  4. Notice you are logged in

Notes

n/a

Search Authors not working

Can't tag an author that exists. What's the search searching? It should be searching email, first name, last name.

This may not be implemented yet

Paper search modal

Create modal to search for papers

  • Search
  • Display matches
  • Button to upload different paper

Write post request for discussion thread replies

Testing

  1. Go to a discussion thread page
  2. Click reply
  3. Enter text and click submit
  4. Notice that a loader appears
  5. Notice that the reply appears if the message is sent successfully
  6. Notice that a notification appears if the message is not sent successfully

Discussion view

Create the discussion view thread.

  • Discussion Post
  • Thread functionality
  • Commenting
  • Replies

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.