Coder Social home page Coder Social logo

ucla-oarc-mobile / casa-on-rails Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 8.0 870 KB

CASA on Rails is UCLA's Rails implementation of the CASA specification.

Home Page: https://apps.ucla.edu

License: Other

Ruby 23.72% JavaScript 39.41% CSS 7.65% HTML 25.83% SCSS 3.38%

casa-on-rails's People

Contributors

alroman avatar dependabot[bot] avatar ebollens avatar jshslsky avatar krozett avatar stevenolen avatar stillslippery avatar uclanate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

casa-on-rails's Issues

admin submenu show/hide is a little wonky

The admin menu should stay shown if the user selects an admin option.

To recreate:

  • As an admin, navigate to the Admin menu option and click Apps in the Admin submenu
  • Notice that the admin submenu disappears even though the user is working in an admin context

redundant queued / pending apps in admin tab

In the admin pending apps list there can be multiple entries for the same app (same CASA identifier) from the same sender. The copies should not be displayed.

There is also a case where the same app is shown as pending where there are different senders, but in this case the store admin can filter them out manually.

ARIA Role In Search Box Region

There is a role=search on the nav element and on the form element within
that nav.

ARIA roles on parent elements are inherited by child elements (As a rule at least). In this case, the role="search" on the form element can be removed.

Duplicate Alt Text and Link Text

For items listed in the various collection blocks:

Graphics have alt text which is the same as the text of the immediately following link. Thus:

"Graphic: CA Cultures; link: CA Cultures"

In these cases, the alt on the graphic should be null.: alt=""

Bug with Proxy Handling

ight now, when we're running CASA on Rails multiple time on the same host, and using Nginx to route properly, we're hitting the following error when trying to access /casa/out/payloads:

F, [2015-04-06T16:20:45.332355 #9188] FATAL -- :
IPAddr::InvalidAddressError (invalid address):
app/controllers/casa/out_controller.rb:15:in new' app/controllers/casa/out_controller.rb:15:inblock (2 levels) in class:OutController'
app/controllers/casa/out_controller.rb:13:in each' app/controllers/casa/out_controller.rb:13:inblock in class:OutController'

This has to do with Nginx mangling the requestor address as it passes through the reverse proxy.

Refers to: https://github.com/ucla/casa-on-rails-historical/issues/50

Create a Local Ratings Input Feature - for logged in COR Users

Create a Local Ratings Feature - for logged in COR Users

This will include a new function that users see once they log in.

It will say "Rate an App" in the menu

The data that needs to be collected is as follows:

The App ID
The CASA ID ( adding this so Sanje can consume)
The Local CASA App ID ( adding this - so Sanje can consume)
The Rating giving to the app:

  • IDEAL: to have it work like this: The user sees 5 grey stars, each of them is clickable. If they click any one of them, the stars to the left fill in with the Blue color that Heather designed. The ratings are 1 - 5 only. 1 - 5 ( Decimal or numeric)
  • BASIC: let user select on a horizontal set of radio buttons - 1 - 5 with label of "Low Value" on the 1 and "high value" on the 5
  • MINIMAL - use a vertical set of radio buttons - 1 - 5 with the labels as such:
    • Low Value
    • Some Value
    • Expected Value
    • Good Value
    • High Value

The Comment by the Professor about the app ( Extended text or Blob)
The Date and Time the app was rated
The version of the App that was rated

no timeout when connecting to ES server

there doesn't seem to be a timeout (or the timeout doesn't appear to fire) when starting the server and elasticsearch doesn't respond.

"steps" to "reproduce":

  1. make elasticsearch get into some error state where it consumes loads of cpu and/or gets 'stuck'.
  2. start a casa-on-rails server with thin
  • thin log does not progress passed Using rack adapter item (no extra logging even when thin is set to debug log)
  • no casa-specific logs (even when log_level is set to debug).

Rebooting the box got elasticsearch out of this state and the app starts normally, so it seems that when elasticsearch is available but not responding, casa will wait indefinitely on init for responses? This certainly needs more debugging..

Possible to coordinate the "official" label ?

Is it possilbe to coordinate the "official label" in these places:

  1. In the Admin form
  2. on the detail review of the app? - this one is the most important....

When the "Official" tag changes in the CSS area in the settings...

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.