Code Monkey home page Code Monkey logo

gwa-calc's Issues

Subject name input field in SetCreatorDialog is too small

Description

On mobile devices, the subject name input field in SetCreatorDialog.vue is too small for practical use.

Details

Each subject <div> is laid out with CSS Grid, and the column for the subject units input field has a fixed width. This, along with the defined grid-gap, leaves little room for the subject name input field to grow.

Possible solutions

  • Use smaller grid gap and subject units input field width on small-width screens

Lighthouse performance audit score is low

Description

Lighthouse mobile device audits performed on the web app with Clear storage enabled consistently yield performance indices below 80.

Details

Two of the top recommendations from the audits is to lower the JavaScript execution time and to minimize work on the main thread.

The app currently utilizes Webpack's dynamic imports and Vuetify's à-la-carte tree-shaking system to help decrease bundle size, but the size is still too big (~600kB vs. the ~250kB recommendation).

Possible solutions

  • Vuetify and Vue itself make the biggest chunks according to webpack-bundle-analyzer. While we can't do anything about Vue, we may be able to remove unused Vuetify CSS.
  • NPM modules are already split off into separate chunks through the Webpack config, but it makes little difference to Lighthouse as it turns out. We may be able to remove some libraries, but the biggest offenders are unfortunately essential to the app. More investigation may be needed.

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.