Giter VIP home page Giter VIP logo

ves's Introduction

VES

Most of this project is AngularJS code that it is completely unnecessary to understand. Here are the parts we edited for the features of our extension.

Overriding Vergil's Default Dropdown Data

The way Vergil sets up their jQuery-Chosen dropdowns makes it very difficult to edit the given options dynamically through Javascript. The workaround we have found for this is to edit variables such as Filters and CWFeeds, which is done through excerpts of code in js/VES_0.0.1.js structured as app.factory('Filters') or app.factory('CWFeeds'). Use Network tab of Developer Tools to see what the original files are/what you should be overriding.

Major Requirements

Department/major requirements are requested in the function arg of "$scope.$watch('program')". It calls to VES-Webapp endpoint, which refers to a MongoDB database on the VES-Webapp server.

Inaccurate Data

The inaccurate data button for major requirements is created within the function arg of "$scope.$watch('program')". When the button is clicked, it triggers a function that asks for user prompt feedback and then calls a VES-Webapp endpoint to send the email to vergilplus.

Smart Search

For manual searching: the function refresh(), we fetch course nicknames from a VES-Webapp endpoint and, if the search term is found, replace the colloquial term with the official term. For user clicking colloquial term from dropdown: $('#search').on("typeahead:selected") takes a callback function where we switch the term to its official name for Vergil to search.

VES-Webapp documentation can be found here

ves's People

Contributors

arsalaanansarideveloper avatar cobiofuma avatar evookelj avatar k-patton avatar kathylau avatar kevokevol avatar lucieleblanc avatar mb4207 avatar pecom avatar ray725 avatar williamchiu avatar

Watchers

 avatar  avatar

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.