GithubHelp home page GithubHelp logo

mybk-mobile's Introduction

Ha Huy Long Hai
Software Engineer


mybk-mobile's People

Contributors

wonrax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nguyendhst

mybk-mobile's Issues

Empty screen when there's no data presence

The app currently doesn't show anything upon no data presence. We should display some message to inform the user that the data is not available (e.g. "No data is retrieved").

Screenshot_20221003-123914

User's data still remains after logged out

Step to produce:

  1. Login, retrieve user data successfully
  2. Logout, log in with a new user
  3. Retrieve data unsuccessfully (could be a network problem), the app shows the previous user's data

Consider better telemetry and feedback

I literally have no idea how the app is being used, apart from statistics on Google Play Console that tells me how many active users there are monthly or daily (DAU barely works), how many people have installed and uninstalled the app and some other device hardware and software metrics.

Also no one has filed an issue on GitHub. Does that mean my app has no bugs? But the dashboard shows 1.11% User-perceived crash rate. So maybe a better crash report could help?

I'm considering Firebase Analytics and Firebase Crashlytics since they're popular and completely free of charge.

Useful resource:

Multilanguage support (localization)

The Vietnamese texts are currently hard-coded in the source code. I don't know if we should support other languages since I think most students in our school (even foreigners) already know the most basic Vietnamese (to work and live in Vietnam, of course, however it's just my very subjective assumption).

Warning `Content padding parameter it is not used` when using Scaffold

Despite the warning, the UI still looks fine. But I want to make sure I use the Scaffold correctly and remove the warning. Scaffold docs

fun MybkUI(mainActivityViewModel: MainActivityViewModel) {
    MybkTheme(false) {
        val appState = rememberMybkAppState()

        val navController = appState.navController

        Scaffold(
            scaffoldState = appState.scaffoldState,
            snackbarHost = { CustomSnackbarHost(it) },
            bottomBar = {
                AnimatedVisibility(
                    appState.shouldShowBottomBar,
                    enter = slideIn { IntOffset(0, 250) },
                    exit = slideOut { IntOffset(0, 250) }
                ) { BottomNavigation(navController) }
            }
        ) { // it: PaddingValues <- Content padding parameter it is not used
            Box(
                modifier = Modifier
                    .background(Color.Grey10)
                    .fillMaxSize()
            ) {
                Navigation(navController, mainActivityViewModel)
            }
        }
    }
}

Considering Material 3

Material 3 has been available in Jetpack Compose. This issue is to track the research and investigation of integrating M3 into Mybk Mobile.

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.