Giter Club home page Giter Club logo

Comments (6)

JonathanGarro avatar JonathanGarro commented on July 16, 2024 1

Thanks for logging. Here's my proposed solution:

User clicks "Add Acronym" - if they are logged in, it goes straight to the existing submission page. If not logged in, goes to a "public" version of the submission page but with a callout box to alert them to the fact that non-logged in member submissions have to go into a review queue, and if they want to submit one as a member, it skips that validation. The login link there includes a redirect so it will bring them back to the same page after authenticating.

Screen Shot 2024-02-26 at 10 27 37 AM
Screen Shot 2024-02-26 at 10 28 43 AM

from sims-portal.

JonathanGarro avatar JonathanGarro commented on July 16, 2024 1

@nanometrenat lmk if this routing makes sense to you

from sims-portal.

nanometrenat avatar nanometrenat commented on July 16, 2024

Thanks, sounds good!

from sims-portal.

nanometrenat avatar nanometrenat commented on July 16, 2024

Question - what is the update process? e.g. for adding additional languages, or amending a definition, or adding a URL?

from sims-portal.

JonathanGarro avatar JonathanGarro commented on July 16, 2024

@nanometrenat I added an edit route. when looking at the acronym popup, it will check if the user is an administrator OR the person that originally submitted the acronym (login required in order to run the check, otherwise no edit button appears). it will then bring up the same page as the submission, except with the data already populated.

from sims-portal.

JonathanGarro avatar JonathanGarro commented on July 16, 2024

Closing this issue. Current implementation:

  • Logged in users can add new acronyms and have them appear instantly. Their account ID is associated so we have a clear audit trail.
  • Public users must enter a name and email address to associate with the acronym, pass a reCAPTCHA check, and then their submission is placed into a queue to be approved by a site admin. We'll need to add some guidance documentation for what they should be looking for (e.g. is this a duplicate? is this accurate? is this relevant? etc.)
  • There are two ways to edit acronyms: users that submitted it can click on the acronym from the table, and they will see an Edit button if they created it. Admins can also edit any acronym.

from sims-portal.

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.