Git Product home page Git Product logo

Comments (4)

kamicut avatar kamicut commented on June 12, 2024

Additionally, what does testing look like? Can we mock OSM users + their stats?

from scoreboard.

kamicut avatar kamicut commented on June 12, 2024

Some notes:

Why?

  1. Users need to see some private information such as what tasks they should work on next
  2. Users get more detailed insights into their mapping
  3. Logging in allows users to add personal data such as their affiliation to certain groups: country, team, company, etc. which enable different types of stats

How?

Backend

  • Create a user table that can hold user information

    • Where should information related to user tasks go? Should this be abstracted such that we can tie any piece of information to a user id in the backend?

      ⇒ We could have a user API that allows getting/setting user info from background services such as "tasks assigned to user"

  • For configurable user info such as "What country is the user from", we can have a configuration file that the scoreboard api can read that describes what user fields are

    • This could potentially get very complex so we need to figure out the use cases
    • Can an admin modify these fields at any time? If so these could be dynamically set as user "tags" in the database (similar to OSM tags). However the frontend needs to know what to render
    • How do we aggregate stats based on arbitrary user fields?
  • Get ids and other profile information through OSM OAuth

  • How are sessions handled? Should the frontend be session-less?

Frontend

  • Create a login / logout button
  • Create a page for private "dashboard" of activity + tasks (what other information should this page contain?)
  • Create a mechanism to update user information
  • Change per country based statistics currently in scoreboard to read from the user database

from scoreboard.

scisco avatar scisco commented on June 12, 2024

This is mostly implemented. @sethvincent is finalizing the implementation and will close this ticket with his PR.

from scoreboard.

sethvincent avatar sethvincent commented on June 12, 2024

closed by #28

from scoreboard.

Related Issues (20)

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.