Giter Club home page Giter Club logo

Comments (3)

riotgage avatar riotgage commented on May 25, 2024

I am new to this repository so please correct me if i am wrong.
From what I saw. Validation for email is performed by calling an api. I think this can very much be done at front end itself. Validations like length and characters of instructor name can also be done at front end level itself without calling the API.

from teammates.

zhaojj2209 avatar zhaojj2209 commented on May 25, 2024

@lucasfs1007 Thank you for submitting the issue. However, there are multiple things to discuss here:

  • Fixing the first two points is not trivial as we have to check for the validity of existing data.
  • For the third point, an email will be sent if the instructor email is valid, please provide more details on how the issue can be replicated.
  • For the fourth point, we already have a confirmation modal that pops up on the UI, please provide more details on how the issue can be replicated.

@riotgage Validation on the the backend is for data security purposes. Ideally validation should be done on both backend and frontend.

from teammates.

wkurniawan07 avatar wkurniawan07 commented on May 25, 2024
  • The first two points are moot. There are no heuristics for "non-existent name"; how can we be sure that there is no one in the world whose name does not match with the name we thought as "non-existent", or purely numerical characters? Weird usage does not equate invalid usage.
  • "We did not receive a confirmation email when registering an instructor" is likely because there is no email service being set up.
  • The last point I assume relates to the function used by admin, because the function used by instructor had the confirmation modal as pointed by @zhaojj2209. This is not an issue as at this point there is no data created yet; whatever data is displayed in the table is a verification step before actually creating the instructor in the database. Deletion here simply means that part of data that was filled in (notice I do not say created) before could be faulty / duplicated. For that purpose, having a confirmation modal here would actually be a nuisance.

Will close the issue as all the raised points are not valid.

from teammates.

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.