schakravorti21 / sakaiclientandroid Goto Github PK
View Code? Open in Web Editor NEW๐ A mobile client for Rutgers Sakai on Android
Home Page: https://rutgerssakai.github.io/SakaiMobile/
License: Apache License 2.0
๐ A mobile client for Rutgers Sakai on Android
Home Page: https://rutgerssakai.github.io/SakaiMobile/
License: Apache License 2.0
We need an Announcements
Tab that shows the user's announcements that come from Sakai. Announcements should be sorted in reverse chronological order since the most recent announcements are most important. Users should be able to click on an announcement to see more details about the announcement, such as the full body and attachments.
(This is already in progress, just creating an issue to document progress).
Fontawesome can be used as a typeface with Android. We can migrate to using Fontawesome instead of native drawables to make asset management much simpler, and ensure that various screen sizes are easily supported with Fontawesome's scalable SVGs.
Upon the first time the app loads, if the user moves away from the home page before the HomeFragment
is added to the FrameLayout
, the spinner keeps spinning. This is probably because the spinner is tied to the activity and not the fragment. Two things need to be done to fix this issue:
DataHandler.requestAllSites
to HomeFragment
HomeFragment
instead of the NavActivity
When the app shifts from portrait to landscape mode, the active tab is not saved and the Home Fragment
is loaded again (regardless of what tab was previously active). This causes confusion since the selected tab stays the same (say, for example, Assignments
). This bug might also occur if the app is brought back from the background after a long time.
With the app coming along, DataHandler
is starting to get quite massive. RequestManager
hasn't quite suffered from this issue since it doesn't manage any of the data, but DataHandler
is getting bloated by the combination of making requests and managing data state. Since DataHandler
performs requests for many different categories of information, we can possibly split it up into smaller pieces, such as AlertsDataHandler
, AssignmentsDataHandler
, and GradesDataHandler
.
Fabric will probably stop working from March 31st, 2020. It seems like they've moved out the functionality to firebase.
By default, WebView
doesn't support uploading files from the local filesystem. This needs to be implemented by us through calls to startActivityForResult
and using ValueCallbacks
to handle Intent
s.
This will waste a lot of resources recreating the fragment every time. If possible, more the observation into the fragment class itself so it can just recreate the treeview/recycler view and fill it with the new data.
All Support Library development has been migrated to AndroidX, and API 29 onwards it seems that only the AndroidX versions of the Support Library will receive updates. We should migrate to AndroidX sometime soon to support new Android versions that will arrive in the future.
Here is some info on how to start the migration (should be relatively painless... hopefully).
Application network requests time out and fail on Rutgers WiFi, giving a java.io.SocketTimeoutException
. @akench and I narrowed down the issue to malformed request headers being injected by HeaderInterceptor
. Previously, when testing with Postman, it turned out that these headers were not necessary anyways, so they should be removed to avoid this timeout issue.
As more features get added to the application, more Java/XML
files have to be managed in the project. We should find a way to organize classes and XML files based on their respective categories and sub-categories. This might look like --> Category: Assignments
; Sub-Category: Activities
, Fragments
, Dialogs
, View Holders/Adapters
, and Utilities
.
There are a couple issues that arise when a new user logs in, though these should be relatively quick to fix:
ForeignKeys
are set up properly and delete any courses not found when refreshing courses, which should trigger cascading deletes for all related course data.The first issue could also arise if the user drops a class during add/drop period, and they are removed from a Sakai site, so our solutions should be user-agnostic (i.e. don't do something like using SharedPreferences
to see if the user has changed since last login).
The Android memory profiler shows that DataHandler's memory consumption is around 130-150MB with the Course objects being stored in it statically. This is way too large of a memory footprint -- switch to just making requests every time data is needed, or only storing serialized versions of the data, or cherry-picking the data that is worth keeping globally.
Currently, the all sites and gradebook pages are using nested expandable list views. Since this is cumbersome and might become difficult to maintain in the long run, it would be a good idea to switch to using the AndroidTreeView library. This will require some work, but it would be better to do this sooner rather than later. Consider creating a TreeViewUtil class to help generate the tree structures when given model objects (assignments, gradebook, etc).
We need an Assignments
tab where the user can check all of their assignments. This tab needs to have the following functionality:
(This is already in progress on the Assignments
branch, just making this issue for documentation of progress)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.