Skip to content

Commit

Permalink
Merge pull request #73 from nimblehq/release/0.6.0
Browse files Browse the repository at this point in the history
Release 0.6.0 (7)
  • Loading branch information
manh-t authored Apr 15, 2022
2 parents bc112cf + 5b46979 commit 60e5551
Show file tree
Hide file tree
Showing 102 changed files with 321 additions and 146 deletions.
95 changes: 1 addition & 94 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,99 +1,6 @@
*.gem
*.rbc
/.config
/.idea
/coverage/
/InstalledFiles
/node-modules
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/

# Used by dotenv library to load environment variables.
.env
.env.staging

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/

## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
.vscode/

# Flutter version manager related
.fvm/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
**/ios/.envfile
**/ios/Flutter/tmp.xcconfig
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release

# Python
.venv/

# Flutter generated files
*.g.dart
*.gen.dart
*.config.dart
*.freezed.dart
*.mocks.dart
scripts/__pycache__/
File renamed without changes.
6 changes: 6 additions & 0 deletions .template/.github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Team
# @manh-t is the Team Lead
* @manh-t @doannimble @luongvo @markgravity

# Engineering Leads
CODEOWNERS @nimblehq/engineering-leads
20 changes: 20 additions & 0 deletions .template/.github/ISSUE_TEMPLATE/bug_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "Bug Report"
about: "You found something that is not working. Report it so that it can be fixed. 👷‍"
title: "Fix: "
labels: "type : bug"
---

## Issue

Describe the issue you are facing. Show us the implementation: screenshots, gif, etc.

## Expected

Describe what should be the correct behaviour.

## Steps to reproduce

1.
2.
3.
14 changes: 14 additions & 0 deletions .template/.github/ISSUE_TEMPLATE/chore_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: "Chore"
about: "Open a Chore for minor update."
title: "Update "
labels: "type : chore"
---

## Why

Describe the update details and why it's needed.

## Who Benefits?

Describe who will be the beneficiaries e.g. everyone, specific chapters, clients...
14 changes: 14 additions & 0 deletions .template/.github/ISSUE_TEMPLATE/feature_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: "Feature"
about: "Open a feature issue to add new functionalities."
title: "Add "
labels: "type : feature"
---

## Why

Describe the big picture of the feature and why it's needed.

## Who Benefits?

Describe who will be the beneficiaries e.g. everyone, specific chapters, clients...
22 changes: 22 additions & 0 deletions .template/.github/ISSUE_TEMPLATE/story_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: "Story"
about: "Open a feature story"
title: "[Type] As a user, I can "
labels: "type : feature"
---

## Why

Describe the idea of the user story as in what the motive of the user story is.

## Acceptance Criteria

List down how the user story will be tested and what criteria are necessary for the user story to be accepted.

## Design

(Optional) Add design screenshots or Figma links for UI/UX-related stories.

## Resources

(Optional) Add useful resources such as links to documentation, implementation ideas, or best practices.
16 changes: 16 additions & 0 deletions .template/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
https://github.com/nimblehq/flutter_templates/issues/??

## What happened 👀

Describe the big picture of your changes here to communicate to the team why we should accept this pull request.

## Insight 📝

Describe in details how to test the changes, which solution you tried but did not go with, referenced documentation is
welcome as well.

## Proof Of Work 📹

Show us the implementation: screenshots, gif, etc.

<img src="URL_GOES_HERE" width=200 />
15 changes: 15 additions & 0 deletions .template/.github/PULL_REQUEST_TEMPLATE/release_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Link to the milestone on Github e.g. https://github.com/nimblehq/flutter_templates/milestone/41?closed=1
or Link to the project management tool for the release

## Features

Provide the ID and title of the issue in the section for each type (feature, chore and bug). The link is optional.

- [#1] As a user, I can log in or
- [[#1](https://github.com/nimblehq/flutter_templates/issues/1)] As a user, I can log in

## Chores
- Same structure as in ## Feature

## Bugs
- Same structure as in ## Feature
File renamed without changes.
99 changes: 99 additions & 0 deletions .template/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
*.gem
*.rbc
/.config
/.idea
/coverage/
/InstalledFiles
/node-modules
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/

# Used by dotenv library to load environment variables.
.env
.env.staging

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/

## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
.vscode/

# Flutter version manager related
.fvm/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
**/ios/.envfile
**/ios/Flutter/tmp.xcconfig
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release

# Python
.venv/

# Flutter generated files
*.g.dart
*.gen.dart
*.config.dart
*.freezed.dart
*.mocks.dart
File renamed without changes.
70 changes: 70 additions & 0 deletions .template/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Flutter Templates

All the templates that can be used to kick off a new Flutter application quickly.

## Usage

Clone the repository

`git clone [email protected]:nimblehq/flutter_templates.git`

## Prerequisite

- Flutter 2.10.3
- Flutter version manager (recommend): [fvm](https://fvm.app/)

## Getting Started

### Setup

- Create these `.env` files in the root directory according to the flavors and add the required
environment variables into them. The example environment variable is in `.env.sample`.

- Staging: `.env.staging`

- Production: `.env`

- Run code generator

- `$ fvm flutter packages pub run build_runner build --delete-conflicting-outputs`

### Run

- Run the app with the desire app flavor:

- Staging: `$ fvm flutter run --flavor staging`

- Production: `$ fvm flutter run --flavor production`

### Test

- Run unit testing:

- `$ fvm flutter test .`

- Run integration testing:

- `$ fvm flutter drive --driver=test_driver/integration_test.dart --target=integration_test/{test_file}.dart --flavor staging`

- For example:

`$ fvm flutter drive --driver=test_driver/integration_test.dart --target=integration_test/my_home_page_test.dart --flavor staging`

## License

This project is Copyright (c) 2014 and onwards. It is free software,
and may be redistributed under the terms specified in the [LICENSE] file.

[LICENSE]: /LICENSE

## About

![Nimble](https://assets.nimblehq.co/logo/dark/logo-dark-text-160.png)

This project is maintained and funded by Nimble.

We love open source and do our part in sharing our work with the community!
See [our other projects][community] or [hire our team][hire] to help build your product.

[community]: https://github.com/nimblehq
[hire]: https://nimblehq.co/
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "co.nimblehq.flutter.template"
minSdkVersion 16
minSdkVersion 23
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 60e5551

Please sign in to comment.