Open Source ResearchHub - Web

Overview

Setup

This project was bootstrapped with Create Next App.

Find the most recent version of this guide at here. And check out Next.js repo for the most up-to-date info.

NOTE

Please note that we have intentionally removed deployment / API tokens & scripts for security purposes. 
You will need to setup your own deployment rules.  

Making Changes

The ResearchHub Dev team is currently maintaining this repo once every month. Please feel free to make any pull requests for suggestions.

Comments
  • Reconfigure paper upload flow to work with automated paper metadata

    Reconfigure paper upload flow to work with automated paper metadata

    If a user tries to upload a paper with a url or DOI, @dhimmel is building a system to grab the metadata from that paper: https://github.com/quantfive/researchhub-backend/pull/132.

    Currently his endpoint doesn't work on actual PDF's, but an example url that would work is: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1007128

    He's returning a list of papers that are similar to the uploaded paper as well as a dictionary of metadata.

    If there are similar papers, we want to show them to the user and ask them if they mean this paper, otherwise let the user move forward in the flow.

    We want to take the metadata given back from this endpoint and fill the metadata on our next page.

    • [x] Use CSL Item Endpoint, fetching metadata works
    • [x] If CSL Item cannot get the information and the URL links directly to a PDF, use our old pdf endpoint upload flow
    • [x] If CSL Item cannot get the information and the URL does not link to a PDF, make the user link another URL or upload a PDF.
    • [x] Allow a user to enter JUST a doi -- if the CSL endpoint returns metadata that's useable then use that, otherwise make the user again link another URL / DOI or upload a PDF.
    enhancement 
    opened by lightninglu10 9
  • [Paper Page Card][UI][1/1] - Top Card Redesign

    [Paper Page Card][UI][1/1] - Top Card Redesign

    • Rebased onto master
    • Removed support paper button on Left Column below upvote/downvote. Note that the discussion button is unchanged because the change in the proposed redesign would cause the discussion button to appear in varying places which can be confusing the user
    • Moved "Support Paper" button into the circle button row
    • Width of paper preview is fixed at either 140px (if availlable) or 0px (not availlable)
    • Download PDF button moved under paper preview

    Screenshot from 2021-06-01 15-03-42

    Edit: now shows # supports, only if any Screenshot from 2021-06-01 17-33-49

    opened by BrianSantoso 7
  • Log search events in amplitude

    Log search events in amplitude

    What?

    • New analytics.js file with consolidated logic to log events in amplitude
    • Logging the following search events: search: query submitted, search: results viewed, search: no results
    opened by yattias 6
  • [Paper Side Column][UI][1/n] - Added submitter and contributor to paper side column

    [Paper Side Column][UI][1/n] - Added submitter and contributor to paper side column

    If availlable, Submitter and Contributors (discussion commenters) will show in the paper full page side column image

    • If many contributors, "View More" button will show (identical to the way the authors list works) image
    opened by BrianSantoso 6
  • Adding images to discussion posts

    Adding images to discussion posts

    I've had some trouble adding images to my discussion posts. I hosted the images on imgur beforehand and added in the URL using the figure button in the text editor. See the below images:

    Screen Shot 2019-12-30 at 12 20 07 PM

    Screen Shot 2019-12-30 at 12 21 32 PM

    opened by joycesticks 5
  • Clean up UI around hyperlink / add image tooltip

    Clean up UI around hyperlink / add image tooltip

    Right now we pop a tooltip that shows up below the toolbar. I think there's better UI for this -- maybe make it show in the middle of the editor, or somethign else? Github does it inline like this:

    Screen Shot 2019-12-09 at 1 01 29 PM

    They use markdown though, but we could do something inline similarly?

    Reddit does it like this:

    Screen Shot 2019-12-09 at 1 05 35 PM enhancement 
    opened by lightninglu10 5
  • Top Nav Redesign: (Discuss, Publish, Leaderboard)

    Top Nav Redesign: (Discuss, Publish, Leaderboard)

    What?

    • Redesigned the top nav to include leaderboard, publish, discuss links while hiding others
    • "Live" feed link has moved to "Recent Activity" section
    • Updated feed filters design to reflect Tatiana's designs
    • Includes closed PR https://github.com/ResearchHub/researchhub-web/pull/1131

    Only three links at top

    image

    Live Feed now in Latest Activity section

    image

    Editors now in dropdown

    image

    opened by yattias 4
  • Bug fixes, Optimize paper performance

    Bug fixes, Optimize paper performance

    • Display "all hubs" in /
    • Display "my hubs" in /my-hubs
    • Redirect /all => / for users who have /all link saved
    • Bug fix: Do not display author title if there is no paper author
    • Performance fix: Avoid loading certain components on paper page until paper has loaded
    • Focus input field in mobile on Search icon click
    opened by yattias 4
  • [Metadata format fix][UI][1/1] - Adjusted formatting of metadata when viewing a post.

    [Metadata format fix][UI][1/1] - Adjusted formatting of metadata when viewing a post.

    Changes:

    • If there is no paper, card text expands all the way to the right (no ghost room)
    • "Paper Title" label no longer wraps to new line
    • Condensed/removed whitespace: Paper preview size now depends on height of text/metadata, instead of the other way around.
    • The 4 action buttons will appear directly under last metadata field.
    • Switched order of Date and Paper Title.
    • Metadata text is now aligned with the text above and below it, instead of being staggered

    New

    md_new_1 md_new_0

    Old

    md_old_1 md_old_0

    opened by BrianSantoso 4
  • Look into automating sitemap + SEO improvements

    Look into automating sitemap + SEO improvements

    Google has an seo basics that we need to make sure we follow properly: https://support.google.com/webmasters/answer/7451184?hl=en

    Sitemap generation: https://dev.to/emil_priver/sitemap-with-next-js-539

    opened by lightninglu10 4
  • Update Slate Version to Newest

    Update Slate Version to Newest

    This is going to be a fairly large refactor.

    The slate version we're on is buggy for mobile (mostly android), and also some desktop web platforms. We need to refactor it to utilize the newest version of Slate.

    Before this refactor, we need to test -- does the new version of Slate actually work on android or do we face the same issues?

    The things that won't be backwards compatible seem to be the items in the toolbar (plugins), as well as the diffing for summaries.

    opened by lightninglu10 4
  • refactor: Changes QuillTextEditor to React Hooks

    refactor: Changes QuillTextEditor to React Hooks

    This PR is pretty big (sorry), I was attempting to refactor the Quill Editor into the React Hooks paradigm to see if it might be easier to work with. I don't think I'll have bandwidth to take it completely over the finish line but I want to put it up just in case.

    I just finished rewriting the individual components, the next step if someone wanted to take this over would be to run it against local host and solve their way through the error messages to confirm it works identically as before

    opened by rdev41 1
  • non-user friendly 403 error

    non-user friendly 403 error

    When I log in as [email protected] and go to https://www.researchhub.com/research-hub-engineering/notebook/1484 (I saw this url in our meeting when @yattias was sharing his screen), I get a 403:

    image

    I'm not sure if this is a bug or just a permission issue in my account, but in the latter case, it might be nice to give users a friendlier error message, possibly troubleshooting or mitigation instructions.

    edit: I've since found out it was because this note is private, and I wasn't yet in the "Research Hub Engineering" organization. Maybe we can provide a more human readable, descriptive error message than "403 | an unexpected error has occurred" in cases like this, perhaps with a link to send a permission request.

    opened by vlazzle 0
  • Subscript/superscript for comments and/or Notebook

    Subscript/superscript for comments and/or Notebook

    Overview

    Allows users to add subscript/superscript to notebook and/or comments

    Details

    Our notebook feature is built on top of CK Editor. You will need to create a module which allows for adding a caption.

    Details

    • Chat with @yattias (Kobe Attias) or Tyler Diorio on discord before implementing this feature in order to get get an overview of this feature and discuss bounty payment
    bounty 
    opened by yattias 0
  • Login with Ethereum

    Login with Ethereum

    Overview

    We currently only support logging in with gmail. We would like to allow users to login with Ethereum

    Details

    • Chat with @yattias (Kobe Attias) or Tyler Diorio on discord before implementing this feature in order to get get an overview of this feature and discuss bounty payment
    bounty 
    opened by yattias 0
  • Add caption for images in Notebook feature

    Add caption for images in Notebook feature

    Overview

    Similar to notion.so, we would like to implement a mechanism that allows users to add a caption to an image in the notebook.

    Details

    Our notebook feature is built on top of CK Editor. You will need to create a module which allows for adding a caption.

    Details

    • Chat with @yattias (Kobe Attias) or Tyler Diorio on discord before implementing this feature in order to get get an overview of this feature and discuss bounty payment
    bounty 
    opened by yattias 0
Releases(1.4.0)
  • 1.4.0(Feb 8, 2021)

    Features

    1. Allow users to have a custom feed with papers in hubs that they follow.
    2. Update UI for side-column components in Home / Hub Pages.
    3. Update UI for Hub Tags on paper components and page.

    www researchhub com_

    Source code(tar.gz)
    Source code(zip)
  • v1.3.1(Dec 16, 2020)

    Feature

    1. Updates Search UI to include authors results.
    2. Updates highlighting feature to include authors and abstract on paper results.
    • Previously only matched portions of the abstract and authors returned.
    1. Updates the empty state for search.
    2. Removes set time on search to make search feel more responsive and faster.

    Empty State A_New_QoS-Guarantee_Strategy_for_NOMA_Assisted_Semi-Grant-Free_Transmission

    **Highlighting query matches on abstract for Paper Results A_New_QoS-Guarantee_Strategy_for_NOMA_Assisted_Semi-Grant-Free_Transmission **

    Highlighting query matches on authors for Paper Results A_New_QoS-Guarantee_Strategy_for_NOMA_Assisted_Semi-Grant-Free_Transmission

    Author Search UI A_New_QoS-Guarantee_Strategy_for_NOMA_Assisted_Semi-Grant-Free_Transmission

    Source code(tar.gz)
    Source code(zip)
  • v1.3.0(Oct 7, 2020)

  • v1.2.0(Sep 25, 2020)

  • v1.1.5(Sep 25, 2020)

  • v1.1.4(Sep 15, 2020)

  • v1.1.3(Sep 12, 2020)

    Features

    1. Improve the load time of the Paper Page.
    2. Sync subscribed state for HubsList Component.
    3. Filters, scopes, and pages are reflected for url slugs on Home & Hub Page.
    Source code(tar.gz)
    Source code(zip)
  • v1.1.2(Sep 5, 2020)

    Features

    • Tabbed content should exist in DOM before switching to it (Author / User Page)
    • Onpage make things H1, H2, and H3 tags
    • Author profile loading state from one author to author
    • Author profile Load More button to load more content
    Source code(tar.gz)
    Source code(zip)
  • v1.1.1(Sep 2, 2020)

  • v1.1.0(Sep 2, 2020)

    Rendering the home page / hubs page from the server. This should bring a big speedup to the site as calling the server from the client was taking some time.

    Source code(tar.gz)
    Source code(zip)
  • v1.0.14(Aug 29, 2020)

    Features

    1. Allow users to view Top Authors on Researchhub by popularity & contribution.

    2. Prevent redirect loop for papers that don't have slugs.

    Source code(tar.gz)
    Source code(zip)
  • v1.0.13(Aug 25, 2020)

    Features

    1. Replace [tabName] slug with [paperName] slug.
    • Redirect from /paper/[paperId]/ to /paper'/[paperId]/[paperName]
    • Redirect from /paper/[paperId]/string to /paper/[paperId]/[paperName]
    1. Update sitemap to reflect change in URL structure
    Source code(tar.gz)
    Source code(zip)
  • v1.0.12(Aug 20, 2020)

  • v1.0.11(Aug 11, 2020)

    1. Prevent users from uploading papers already on ResearchHub.
    • When we submit a duplicate paper via link, we want the user to know it's a duplicate immediately. If the paper is a dupe then we should also show the paper card so a user can clickthrough to it.
    Upload_Paper Upload_Paper Source code(tar.gz)
    Source code(zip)
  • v1.0.10(Aug 7, 2020)

    Feature

    Integrate Google's ReCaptcha API to improve quality of site's content. Once a user (or bot) exceeds the rate limit for actions, they were be prompted with a ReCaptcha test. The following actions will be blocked until the user passes the test.

    • Upvote / Downvote on Paper Component
    • Upvote / Downvote on Paper Page Component
    • Upload / Edit to Paper
    • Upload Paper PDF Link
    • Comments (on Paper Progress Tab and on Discussion Tab)
    • Summary Edit and Post (Paper Progress & Summary Tab)
    • Abstract Edit
    • Figure Addition (Paper Progress & Figure Tab)
    • Key-Takeaway (Paper Progress & Tab)
    • Limitations (Paper Progress & Tab)
    • Boost
    • Withdrawal (pushed error message handling but not deployed on staging)
    • User Name / Description Change
    89577637-d76dc780-d7e5-11ea-82b3-a870bb0d42d7 Source code(tar.gz)
    Source code(zip)
  • v1.0.9(Aug 4, 2020)

    1. Fixes a bug where state of reordered key-takeaway or limitations were only shown on refresh.

    2. Comments are sorted by "Top" on default, in sync with the filter.

    aewf

    Source code(tar.gz)
    Source code(zip)
  • v1.0.7(Jul 31, 2020)

  • v1.0.6(Jul 31, 2020)

  • v1.0.5(Jul 22, 2020)

  • 1.0.4(Jul 22, 2020)

  • v1.0.3(Jul 18, 2020)

    Feature

    1. Allow Android & mobile users to use Rich Text Editor for Summary, Comments, and Replies.
    2. Replace Slate Editor with Quill Editor.
    • Allow legacy Slate Editor code and format to be rendered properly in new Editor.
    • Allow legacy formatting features in addition to more.
    • Allow autofocus
    1. Saves Quill Node data in backend.

    test_the_editorialized_title

    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(Jul 9, 2020)

  • v1.0.1(Jul 3, 2020)

    This version includes a feature allowing users to toggle between RH comments & Tweets.

    • UI update shows placeholder for comments during loading state.
    • Empty state for Tweets added.

    Science_is_Shaped_by_Wikipedia__Evidence_From_a_Randomized_Control_Trial_ Science_is_Shaped_by_Wikipedia__Evidence_From_a_Randomized_Control_Trial_

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Jun 30, 2020)

Owner
ResearchHub
ResearchHub
An Open-Source Platform to certify open-source projects.

OC-Frontend This includes the frontend for Open-Certs. ?? After seeing so many open-source projects being monetized ?? without giving any recognition

Open Certs 15 Oct 23, 2022
Shikhar 4 Oct 9, 2022
This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022. 💻 🎯🚀

HACKTOBERFEST-2022-GDSC-IET-LUCKNOW Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k22 ? come on in About Participate in Hacktoberfest b

null 8 Oct 29, 2022
Macaron is an open-source design tool to visually create Web Components, which can be used in most Web frameworks, or in vanilla HTML/JavaScript

Macaron is an open-source design tool to visually create Web Components, which can be used in most Web frameworks, or in vanilla HTML/JavaScript

Macaron 334 Dec 29, 2022
A recreation of a startpage posted on Reddit without the source, so I rewrote it in Next.js + Tailwind for the open source community.

Startpage "Figma Balls" Rewrite Why Did I Make This I saw a startpage posted on the subreddit r/startpages that I thought looked nice, but when I look

Thomas Leon Highbaugh 5 Mar 29, 2022
Let's participate in Hacktoberfest and contribute to open-source. Star the repo and open a PR to get accepted.

Let's Contribute To Open-source First Contributions This project aims to simplify and guide the way, beginners can make their first contribution towar

Ehmad Saeed⚡ 5 Dec 3, 2022
Atsumaru - an open source manga reader application for Android, IOS & Web

Atsumaru is currently in alpha pre-release We're still working on vital components for the reader, follow this repo for updates or join our Discord se

Undo 31 Dec 21, 2022
Landscape Generator is An open Source web application that generates landscape drawings randomly, then gives you the ability to edit it and export it as SVG or PNG.

Landscape Generator ## About Landscape Generator is An open Source web application that generates landscape drawings randomly, then gives you the abil

null 9 Apr 15, 2022
Hydra bot is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node js

The most reliable WhatsApp tool for chatbots with advanced features. Hydra bot is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node js, . The most complete javascript library for Whatsapp, 100% Open Source.

JĂłnalan de Lima 47 Dec 25, 2022
Changd is a open source web monitoring application for monitoring visual site changes using screenshots, XPath's or API's.

Changd is a open source web monitoring application and a free alternative to ChangeTower.com, Hexowatch.com, and other SaaS-based solutions. Changd ca

Paul Aschmann 110 Jan 3, 2023
ClientDB is an open source in-memory database for enabling real-time web apps.

ClientDB ClientDB is an open source in-memory database for enabling real-time web apps. Build fast, scalable apps that feel silky smooth for users. In

Acapela 540 Dec 24, 2022
ClientDB is an open source in-memory database for enabling real-time web apps.

ClientDB ClientDB is an open-source in-memory database for enabling real-time web apps. Build fast, scalable apps that feel silky smooth for users. In

null 436 Aug 27, 2022
Motionity is a free and open source animation editor in the web

Motionity The web-based motion graphics editor for everyone ?? Motionity is a free and open source animation editor in the web. It's a mix of After Ef

Alyssa X 2.4k Jan 3, 2023
An open source Ethereum web wallet.

?? scaffold-eth - ??‍?? PunkWallet.io An open source Ethereum web wallet. ?? watch this 10m demo PunkWallet.io is a forkable burner wallet with Wallet

scaffold-eth 23 Dec 8, 2022
A free, open-source, web-based self-service BI tailor-made for analytical databases.

Rocket BI RocketBI is a self-service, web-based business intelligent product tailor-made for analytical databases. RocketBI is the core product of Dat

Data Insider 19 Jan 3, 2023
Michael Schneider 4 Oct 26, 2022
Encode WEB-Dev is a open source project which contains different projects of Html, CSS, Javascript and MERN Stack etc.

HACKTOBERFEST 2022 Encode WEB-Dev is an open source project which contains different projects of Html, CSS, Javascript and MERN Stack etc. which makes

null 7 Oct 31, 2022
Activate The Open Web ™ ("Activate Windows" watermark ported to the web)

Activate-Web The "Activate Windows" watermark ported to Open Web ™. Inspired by activate-linux. As of 0.1, it’s a Web Component written in TypeScript,

Blair Noctis 8 Jun 6, 2022