Giter Club home page Giter Club logo

pe's People

Contributors

brendantwh avatar

Watchers

 avatar

pe's Issues

Nothing after `@` for Telegram handle allowed

Telegram handles usually contain something after @ but commands like add and edit accept h/@.

For the command: edit 10 h/@, the 10th student is edited to have "Telegram: @"

image.png

For the command add n/d m/ddd1234 id/ddd h/@, the same problem occurs

image.png

Expected behavior: Reject just @ input and check for valid Telegram handle after @ character

`filter m/` does not check for module input constraints

Both add and edit check for module input constraints (as stated in UG), but filter m/ does not do the same check.

For the commands:

  • filter m/Abcdefghijklmnop
  • filter m/;;;;
  • filter m/""""
  • filter m/9

They are not of the convention stated in UG: which is letters, 4 digits, then optional letter suffix, but filter still allows them through. This is what is shown after any of the above commands are run:

image.png

Expected behavior: Run the same check on filter m/ as the add and edit command so users know the problem with their command

Space in GitHub username allowed

GitHub usernames do not allow for spaces (cannot exactly remember but this should be true) but g/d d d is allowed for add and edit

For the command edit 11 g/d d d, the student's GitHub username is successfully updated to d d d

image.png

Expected behavior: Reject GitHub usernames which have spaces in them, check for characters allowed/disallowed in GitHub username

`tag` command example 2 case sensitivity issue

Under tag command in the UG, example 2 tag all t/goodstudent t/potentialTA claims to add tags goodStudent and potentialTA as tags.

image.png

Expected: Command should either add goodstudent, or the command should be changed to tag all t/goodStudent t/potentialTA to achieve the stated outcome.

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.