GithubHelp home page GithubHelp logo

wikimedia / recommendation-tool Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 155 KB

Web app for exercising the recommendation api

Home Page: https://recommend-alpha.wmflabs.org

License: Apache License 2.0

HTML 0.44% CSS 22.45% JavaScript 77.11%
reactjs

recommendation-tool's Introduction

Recommendation Tool

This repo holds the code for GapFinder.

To serve using nginx, we need to make sure all the routes are handled by React.

location / {
  try_files $uri $uri/ /index.html;
}

To build, enter the repo:

npm install
npm run build

To serve, copy the build to whatever directory is being served:

# Remove whatever was present before
rm -rf /var/www/html/*
# Insert the newly-built app
cp -r ./build/* /var/www/html/
# Restart nginx
systemctl restart nginx

recommendation-tool's People

Contributors

schana avatar

Watchers

 avatar  avatar

recommendation-tool's Issues

Add interface language selector

Similar in functionality to the jQuery.uls selector, which internally uses a query to https://www.wikidata.org/w/api.php?action=languagesearch&search=<input> for searching for languages.

Enable i18n parameter passing

For some i18n text, the values can be dependent on the plurality of the item (N sections to add). The library we're using supports this, but the I18n component needs to add that support.

Add the ability to flag suggestions

The options we currently use in GapFinder are 'not interesting' and 'not notable for x wiki' - we need to decide how to expand this to include all types, or if it should be unique by recommendation type.

Fix ordering of recommendations

The order of recommendations is dependent on the internal implementation of a js object. It should be changed to have an order solely based on the input items array.

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.