Skip to content

Commit 9005797

Browse files
authored
Merge pull request #6 from flutter/initial-explorer-app
Initial explorer app
2 parents 23a10de + 024b1be commit 9005797

182 files changed

Lines changed: 55045 additions & 60 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Bug report
2+
about: Create a report to help us improve
3+
title: '[Bug]: '
4+
labels: ['bug', 'triage']
5+
body:
6+
- type: textarea
7+
id: expected
8+
attributes:
9+
label: Expected behavior
10+
description: Please describe the expected behavior
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: Actual
15+
attributes:
16+
label: Actual behavior
17+
description: Please describe the behvior you're actually seeing.
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: steps
22+
attributes:
23+
label: Steps to reproduce
24+
description: Please list concise steps to reproduce the issue. Without reporoduction steps, we likely won't be able address this issue.
25+
- type: textarea
26+
id: version
27+
attributes:
28+
label: Additional details
29+
description: Please include relevant details to this problem, such as: Dart/Flutter sdk version number, python version number, platform, and any other relevant details.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Feature request
2+
description: Request net-new features and behavior improvements
3+
title: '[Feature]: '
4+
labels: ['feature', 'triage']
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: Use case
9+
description: |
10+
Please tell us the problem you are running into or gap you're trying to fill.
11+
12+
Is your feature request related to a problem? Please give a clear and
13+
concise description of what the problem is.
14+
validations:
15+
required: true
16+
- type: textarea
17+
attributes:
18+
label: Proposal
19+
description: |
20+
Briefly but precisely describe what you would like implemented.
21+
22+
Consider attaching something showing what you are imagining:
23+
* images
24+
* videos
25+
* code samples
26+
validations:
27+
required: true
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Create an umbrella issue
2+
description: |
3+
Create an umbrella issue for a new feature.
4+
title: '☂️: '
5+
labels: ['feature', 'triage']
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for filing an issue.
11+
12+
Note: Umbrella issues require at least one individual child issue to exist.
13+
- type: textarea
14+
id: description
15+
attributes:
16+
label: Description
17+
description: Please describe the feature you are adding.
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: tracking_issues
22+
attributes:
23+
label: Tracking Issues
24+
description: List of issues associated with this feature.
25+
validations:
26+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
Fixes #<issue_number_goes_here>
1+
### Issue Link:
2+
What is the link to the issue this cherry-pick is addressing?
3+
4+
https://github.com/flutter/flutter/issues/< Replace with issue link here >
25

36
> It's a good idea to open an issue first for discussion.
47
5-
- [ ] Tests pass
6-
- [ ] Appropriate changes to documentation are included in the PR
8+
- [ ] All tests pass
9+
- [ ] Appropriate inline docstrings changes are included in the PR
10+
- [ ] Appropriate documentation changes to the [docs](./docs) site are included in the PR
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Eval Explorer Analyze
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'packages/eval_explorer/**'
7+
- '.github/workflows/eval_explorer_analyze.yml'
8+
push:
9+
branches:
10+
- main
11+
paths:
12+
- 'packages/eval_explorer/**'
13+
- '.github/workflows/eval_explorer_analyze.yml'
14+
15+
jobs:
16+
analyze:
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 10
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v6
23+
24+
- name: Install Flutter
25+
run: |
26+
git clone https://github.com/flutter/flutter.git --depth 1 -b stable $HOME/flutter
27+
echo "$HOME/flutter/bin" >> $GITHUB_PATH
28+
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
29+
30+
- name: Install dependencies
31+
working-directory: packages/eval_explorer
32+
run: flutter pub get
33+
34+
- name: Analyze
35+
working-directory: packages/eval_explorer
36+
run: dart analyze --fatal-infos
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Eval Explorer Format
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'packages/eval_explorer/**'
7+
- '.github/workflows/eval_explorer_format.yml'
8+
push:
9+
branches:
10+
- main
11+
paths:
12+
- 'packages/eval_explorer/**'
13+
- '.github/workflows/eval_explorer_format.yml'
14+
15+
jobs:
16+
format:
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 10
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v6
23+
24+
- name: Install Flutter
25+
run: |
26+
git clone https://github.com/flutter/flutter.git --depth 1 -b stable $HOME/flutter
27+
echo "$HOME/flutter/bin" >> $GITHUB_PATH
28+
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
29+
30+
- name: Install dependencies
31+
working-directory: packages/eval_explorer
32+
run: flutter pub get
33+
34+
- name: Check formatting
35+
working-directory: packages/eval_explorer
36+
run: dart format --set-exit-if-changed .
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Eval Explorer Tests
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'packages/eval_explorer/**'
7+
- '.github/workflows/eval_explorer_tests.yml'
8+
push:
9+
branches:
10+
- main
11+
paths:
12+
- 'packages/eval_explorer/**'
13+
- '.github/workflows/eval_explorer_tests.yml'
14+
15+
jobs:
16+
test:
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 10
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v6
23+
24+
- name: Install Flutter
25+
run: |
26+
git clone https://github.com/flutter/flutter.git --depth 1 -b stable $HOME/flutter
27+
echo "$HOME/flutter/bin" >> $GITHUB_PATH
28+
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
29+
30+
- name: Install dependencies
31+
working-directory: packages/eval_explorer
32+
run: flutter pub get
33+
34+
- name: Run unit tests
35+
working-directory: packages/eval_explorer
36+
run: ./bin/run_tests.sh unit

analysis_options.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
include: package:lints/recommended.yaml
2+
3+
formatter:
4+
trailing_commas: preserve
5+
6+
# Uncomment the following section to specify additional rules.
7+
8+
# linter:
9+
# rules:
10+
# - camel_case_types
11+
12+
# analyzer:
13+
# exclude:
14+
# - path/to/excluded/files/**
15+
16+
# For more information about the core and recommended set of lints, see
17+
# https://dart.dev/go/core-lints
18+
19+
# For additional information about configuring this file, see
20+
# https://dart.dev/guides/language/analysis-options
Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1 @@
1-
# This file configures the static analysis results for your project (errors,
2-
# warnings, and lints).
3-
#
4-
# This enables the 'recommended' set of lints from `package:lints`.
5-
# This set helps identify many issues that may lead to problems when running
6-
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
7-
# style and format.
8-
#
9-
# If you want a smaller set of lints you can change this to specify
10-
# 'package:lints/core.yaml'. These are just the most critical lints
11-
# (the recommended set includes the core lints).
12-
# The core lints are also what is used by pub.dev for scoring packages.
13-
14-
include: package:lints/recommended.yaml
15-
16-
formatter:
17-
trailing_commas: preserve
18-
19-
# Uncomment the following section to specify additional rules.
20-
21-
# linter:
22-
# rules:
23-
# - camel_case_types
24-
25-
# analyzer:
26-
# exclude:
27-
# - path/to/excluded/files/**
28-
29-
# For more information about the core and recommended set of lints, see
30-
# https://dart.dev/go/core-lints
31-
32-
# For additional information about configuring this file, see
33-
# https://dart.dev/guides/language/analysis-options
1+
include: ../../analysis_options.yaml

0 commit comments

Comments
 (0)