GithubHelp home page GithubHelp logo

shotlistos's Introduction

Notes:

  • Be sure to look at my closed pull requests, as I made notes in the descriptions about the changes.
  • Please disregard the git history until commit 73c2116a "Parallax view and sticky header working"
  • I normally make branches for each major feature and merge them into master one by one, but I was working in a detached head state in the beginning of the project. I'd doctor the history to clean it up, but for the sake of time I left it as-is and moved forward with better practices.

Improvements:

Here are some things I would improve with more time:

  • disable editing state and save the text upon user tapping outside of the description text box or tapping the return key
  • make the ShotlistNavbar dissappear before the StickyHeaderView() appears, so the buttons of the navbar never overlap the safeArea
  • Find a better way than using an infinite time loop for computing self.showStickyHeader from within the ParallaxImageView. There must be a solution to this that utilizes the GeometryReader instead. However, you must be careful because Modifying state during view update, this will undefined behavior.

Testing:

For the sake of time, I did not add a testing suite to the exisitng project. However, in a normal dev workflow I would have been sure to include testing from the beginning and test every feature that I modified or added.

I would have tested things like:

  • shoot.description was saved upon exiting the editing state on the background info textbox [[ assuming persistence was already implemented]]
  • editing state is deactiviated in all respects (icon color, text interaciton, etc) when the icon is toggled off, or the user taps outside the text box, or the user taps enter.
  • StickyHeaderView appears (and dissappears) when the user has scrolled to the appropriate screen height
  • ParallaxView increases in size as the user scrolls past the maximum height [for the visual effect]
  • ShotlistPreview renders all of the required views and more...

shotlistos's People

Contributors

jhaff avatar ashyxz avatar

Watchers

James Cloos avatar  avatar

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.