GithubHelp home page GithubHelp logo

stodevx / aao-react-native Goto Github PK

View Code? Open in Web Editor NEW
42.0 9.0 16.0 152.64 MB

The St. Olaf community, now in pocket size.

License: GNU Affero General Public License v3.0

Java 2.18% JavaScript 2.31% Objective-C 0.04% Python 2.21% Ruby 4.58% Swift 2.01% CSS 0.07% C 0.01% Shell 0.32% TypeScript 86.07% Makefile 0.06% Objective-C++ 0.15%
st-olaf android ios react-native typescript

aao-react-native's People

Contributors

brandonjosephcash avatar dependabot-preview[bot] avatar dependabot[bot] avatar deppbot avatar drewthor avatar drewvolz avatar elijahverdoorn avatar github-actions[bot] avatar greenkeeper[bot] avatar greenkeeperio-bot avatar hannesmcman avatar hawkrives avatar imgbotapp avatar mattk410 avatar renovate-bot avatar renovate[bot] avatar rye avatar zimmer18 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aao-react-native's Issues

Display native menu screen for Caf?

BonApp publishes "menus" online for both the Caf and the Cage. The cage's is … never right, but the caf's is in sync with the web menu.

I would like to, for a future version, build a native Caf menu screen that took advantage of the menu data for the Caf to render locally, instead of loading the giant webpage in a webview.

Caf JSON Menu: http://legacy.cafebonappetit.com/api/2/menus?cafe=261
Cage JSON Menu: http://legacy.cafebonappetit.com/api/2/menus?cafe=262

Unfortunately, the Caf menu only seems to include some of the menu items.

Transportation

This will just be a list of options, with it calculating and displaying time until the next bus (when the busses are running)

Campus Map

  • The iOS version of this is easy, there is a built-in component
  • Android version could be harder, find an existing component?

IIRC, when I last looked at this, I came to the conclusion that we'd need to get a Google Maps API key for Android, at least.

Webcam issues

  • Rotation on iOS physical device (have not tested Android)
  • Stream is only playable once if "done" is hit on video view
  • Stream is playable many times if pinch out of video view
  • Preview images for streams

Home screen editing idea

Currently, there is no way to edit the icons on the home screen. I would love the ability to rearrange and disable some options there, especially as we add new sections.

Here's my proposal:

  • We make the Edit button pull up a screen with two lists.
  • You can drag items between the lists, and rearrange them within the top list. (The bottom list is always alphabetical.)
  • Items in the bottom list are disabled and hidden from the home screen.
  • The order of the items in the top list is the order of the icons on the home screen.
  • These settings are stored in the AsyncStorage('homescreen:order') and AsyncStorage('homescreen:disabled') stores.
  • When we add a new screen, it is automatically appended to the end of the enabled list.

Settings

Working on a basic settings view. It will have a spot for system-wide credentials (username/password for SIS and off-campus directory). An about page and licensing info can be stored here as well.

  • Credentials
  • Contact
  • Legal
  • Credits
  • Privacy

Notifications on iOS

I need to get my developer credentials set up before I can do this one, this is mostly a reminder to myself.

Hawken's Goals This Week

  • Make everything pass eslint and run it automatically (#53)
  • Extract a reusable, simpler wrapper for the tabview screens
  • Use Drew's list view in the calendar
  • fix calendar loading on android (#89)
  • figure out the map on android bug (#27)
  • SIS financials view (part of #13)
  • SIS courses-by-term lists (other part of #13)
  • Fix local building images on Android (#52)
  • Transportation view (#15)
  • fix alignment issues in the Android title bar

Settings version

Need to pull in the version of the app into the settings view

Oleville

Display content from Oleville. Currently targeting reading posts for v1, will expand for future versions.

Android OneSignal Notification Package breaks build

@elijahverdoorn: The build is failing with (context)

A problem occurred configuring project ':app'.
> Cannot evaluate module react-native-onesignal : Configuration with name 'default' not found.

on Android on both OS X and Windows. Did you ever see that error while you were building notifications or have any idea what it's talking about?

Text inputs in Settings cannot smoothly flow from one to the next

What should happen?

  • Focus the Username field
  • Tap the Password field
  • The password field is now focused

What happens?

  • Focus the Username field
  • Tap the Password field
  • The password field is not focused. Nothing is focused, and the keyboard is dismissed.

This happens on both iOS and Android.

Use the app icons

Ass a followup to #32, it'd be nice if we actually used the app icons to, you know, show the app.

  • Android
  • iOS

Need to do research to figure out how to do this. Are we supposed to just do thorough Xcode for iOS?

Streaming Media

  • Streaming Media PRs Welcome
    • Implementation unclear
    • Reading Flash media might not be easy, all streaming at olaf is currently through ShockWave Flash

It is, but the webcams at least are also available as a raw MP4 stream, IIRC. I'll look around for the URL again.

This is being developed in the streaming-media branch.

Map location tracking data

Is anyone familiar with the life cycle of permissions in regards to location data and WebViews? We are using a WebView which has requested specific permission to track our location. Do we know if it ever stops tracking, if it requests every time we open the app -> view, etc. We should look into this one... it could be a battery killer at some point?

Update
It appears that the location is requested twice at init, once for the app and once for the website. Thereafter, the website requests the location each time.

Campus Map

Build the Campus map part of the app.

  • The iOS version of this is easy, there is a built-in component
  • Android version could be harder, find an existing component?

SIS double room listings

Double room listing needs alignment adjustment. It is understood that multiple room listings appear, but we must have a way to present it without hiding overflow.
screen shot 2016-08-20 at 2 34 19 pm

Navigation bar buttons too small

@hawkrives and I agree that we need to adjust the sizes of the navigation buttons, both icons and text. The target is too small to hit perfectly every time.

  • Adjust size of navbar buttons and icons
  • Align navbar buttons and icons

testing auto-checking of issues

SIS

Low priority for v1, since it is rather complex.

  • Course searching (v2)
  • Browsing of current enrolled courses
  • Card balances
    • Flex dollars
    • Ole dollars
    • Copy/print
  • Meal Plan
    • Daily meals left
    • Weekly Meals Left

Call buttons work but do not prompt

3 out of 4 of the Contact resources are fairly important numbers that we don't want to spam with accidental dials, so I believe we should add a confirm (yes/no) modal popup alert that asks if they really want to dial the number.

I am speaking from experience -- I have received a lot of blank support emails because it does not ask if you want to send the email or not -- it simply sends. Let me know your thoughts.

News

This might be just pulling from APIs, reading RSS feeds, or could be as simple as webviews

Change icons for the iOS tab bars

Each tab needs a different icon. We need to pick them, and figure out how to use them.

Picking them first, I think.

We've been using the icons from entypo.com for the rest of the app, so ideally all the icons would come from there.

If we need special icons for some tabs – maybe logos for the news orgs – then we'll have to figure out how to do those.

Tabs that need icons

  • Menus
    • Stav
    • Cage
  • Streaming Media
    • Ksto
    • Webcams
    • Weekly movie
  • Calendar
    • Master calendar
    • Oleville
  • News
    • St. Olaf
    • Mess
    • PoliticOle

Building Hours

  • Move the label for what the location is inside the picture
  • Change the border color to Yellow when the building will close in 20 min.
  • Add the rest of the images
    • @elijahverdoorn is going to Campus on 8/5 and will get them at that time.

Standardize style with Eslint

  • Install eslint
  • Add .eslintrc
  • Merge the outstanding PRs
  • Make everything currently in the repo pass Eslint
  • Add pre-commit hook to enforce eslint passing
  • Add eslint checks to CI

ListViews need a fallback

TES View

Given that we are already storing user's usernames and passwords, can we make it easy for students to input their hours into TES?

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.