Giter Club home page Giter Club logo

wildaid / o-fish-android Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 24.0 17.18 MB

Android app for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection.

License: Apache License 2.0

Kotlin 99.92% Ruby 0.08%
android hacktoberfest hacktoberfest2020 android-app android-development android-sdk mongodb mongodb-database mongodb-atlas non-profit

o-fish-android's People

Contributors

abdulbasit75 avatar am-mongodb avatar ardlank avatar ashwinpilgaonkar avatar cr96 avatar edualonso avatar eduardharutyunyan97 avatar haqiqiw avatar ippschi avatar ismaeldcom avatar jokopriyono avatar kirill250402 avatar lebedynskyi avatar mfhan avatar mohit-sharma-87 avatar o-fish-wildaid avatar sheeri avatar subbramanil avatar sunny52525 avatar thearavind avatar thearchetypee avatar vitaliygre avatar yoobi avatar

Stargazers

 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

o-fish-android's Issues

Pre-Boarding search results

When a user clicks 'Board Vessel' and then does a search; if there are no records they get 'No results'. There should also be an option to 'Add new vessel' on that search results page as the first item - whether or not search results have been returned. This way if there are no results - or the desired result is not in the list - the user does not have to go back to the previous page.

Record List itesm

In Board Vessel search and the Find Records search from the homepage: Record List items - background should be white (#FFFFFF); space between crew members and bottom line should be 16px; Change vessel icon to the most recent picture from a boarding record or https://drive.google.com/file/d/19W2NgPzmK7Pl4Jn_TNFWOzPO9xcHA_-1/view; Pill text should be 12px and the pill should be larger to accomodate it; Vessel name should not be bolded. As per https://docs.google.com/document/d/1P3mzpbmd1iaXudXnmArLdawOrDCdmhG4WMwXPC0682c/edit#bookmark=id.bk9nd9ux4kec

Android: Offline login on app

It would be great if we could "login" offline - would have to figure out security implications - but options are:

  1. don't actually login, just store credentials (or hashed credentials?) to submit when online.

  2. actual login info is in Realm db - for everyone, for last logged in user, for last 3 logged in users on device.

Get partition/agency from Realm custom data

The user's name and agency are now available (SDK Beta 4) as part of the custom user data.

The app should use that data for:

  1. The realm partition should be set to the agency from the custom data
  2. The user's first and last name for displaying
  3. The agency attribute for all top-level (non-embedded) Realm Objects
  4. The recording office in the Report Object
the unit tests are here: https://github.com/realm/realm-java/blob/v10/realm/realm-library/src/androidTestObjectServer/kotlin/io/realm/UserTests.kt#L338
Basically you just access it from User.getCustomData() and User.refreshCustomData()
realm/realm-library/src/androidTestObjectServer/kotlin/io/realm/UserTests.kt:338
    fun customData_initiallyEmpty() {

image

Empty fields should not be saved to Realm/Atlas

If a field is empty, it should not be saved as "empty string" in Atlas, the document should be sparse. If it's possible, the same for Realm, to minimize data being sent back and forth.

As of Monday, 18 May 2020 we're not ready for this to be done. We first need to get iOS, Android, web and Atlas working with a common data set. After that, I will assess whether making simple fields optional works with Realm Sync - and then we will decide whether to proceed.

Catch weight - default for US

The default should be kilograms for everyone, then next on the list tonnes, then pounds and then metric tons. If the user is in the US (either by location, or they're part of a US agency?) then the default should be pounds

Android: MPA functionality

Have "nearby" polygons overlaying some of the map area to represent a Marine Protected Area. This should show up in the map screens, so the officer can see if they are within the borders of the MPA. There is no additional functionality associated with this (e.g. they are still allowed to board a vessel outside the MPA). Proof-of-concept may be a hard-coded polygon.

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.