Giter Site home page Giter Site logo

mason_bricks's Introduction

scaffolding logo

License: MIT Powered by Mason

A collection of bricks I have been experimenting with to speed up development


Bricks 🧱

Brick Description Version
scaffolding A brick to create your model with properties and all the supporting methods, copyWith, to/from json, equatable and more! 0.0.1
scaffolding-test A brick to create multiple models including their properties and all the supporting methods/extensions! 0.0.1
scaffolding-home A brick to create a feature using best practices and your state management of choice! 0.0.1
scaffolding-home-test A brick to create your UI package that holds all your app's Colors, Typography, Layout, Theme, and more! 0.0.1

Documentation

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Credit

  • Thanks to Felix Angelov for creating the implementations of bloc and mason.
  • Thanks for Luke Moody as I borrowed his structure and some content for this repo

Maintainers

mason_bricks's People

Contributors

sjhorn avatar

Stargazers

 avatar 吴福增 avatar Federick Kwok avatar  avatar Markus avatar Felix Angelov avatar

Watchers

 avatar Federick Kwok avatar

mason_bricks's Issues

enhancement: search the items in read view

Description

Provide the ability to search items in the read/list view

Desired Solution

  • Implement a search item in the tool/appbar area of the read view that
  • filter the results base on the search item
  • add the associated tests to maintain 100% code coverage

enhancement: add unit tests that confirm each brick runs without error

Brick

  • scaffolding
  • scaffolding_test
  • scaffolding_home
  • scaffolding_home_test

Description

When a change is made to the hooks or templates in the brick there is no unit tests

Desired Solution

Add a smoke tests to confirm the brick will still run as expected and can be run on a pull request to help contributors and maintainers confirm the brick still runs.

enhancement: adjust the read view to show appropriate visual by type

Brick

  • scaffolding
  • scaffolding_test
  • scaffolding_home
  • scaffolding_home_test

Description

The read /list views currently use a string for all types, including String, int, double, bool ... and format as if a string.
Desired Solution

Use different formatting/alignment for int, double and bool to better represent what is usually expected.

enhancement: add type based form components to edit view

Brick

  • scaffolding
  • scaffolding_test
  • scaffolding_home
  • scaffolding_home_test

Description

All components are 255 limited strings even if they are other types like int, double and boolean.

Desired Solution

Adjust to suitable form component for the type. Example: bool can be a checkbox or switch.

Additional Context

Consider Flutter Form Builder

fix: Running tests on static scaffolding gives errors

Brick

  • model
  • feature_brick
  • app_ui
  • service
  • service_package

Description
Running the unit tests on static scaffolding did not pass all the auto generated tests.

Steps To Reproduce

  1. Follow the instructions on installing and generating the static scaffolding including tests and home
  2. Make sure mason, mocktail, bloc_test is installed
  3. Run the test
  4. Result is not 100% passed

Expected Behavior
100% tests passed

Screenshots
Screenshot 2023-01-15 at 6 42 14 PM

Additional Context
I just followed the instructions on the documentation for standing up static scaffolding and then ran the test straight after.

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.