Skip to content

Commit

Permalink
Many changes
Browse files Browse the repository at this point in the history
Too many changes to describe, but we are getting close to a 0.0.1 release where we can actually start using the framework on an alpha level
  • Loading branch information
lucasilverentand authored Jan 13, 2025
1 parent 012c8f8 commit 5c9ae20
Show file tree
Hide file tree
Showing 228 changed files with 9,630 additions and 2,115 deletions.
21 changes: 21 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
1. **Plan Before Coding**: Design and outline steps before coding.
2. **Keep It Simple**: Write clear, maintainable, and modular code.
3. **Reuse Code**: Avoid duplication; create reusable components.
4. **Document**: Add meaningful comments and documentation.
5. **Assert Everything**: Validate logic and inputs with assertions.
6. **Follow Conventions**: Use established coding styles and validate inputs.
7. **Optimize Later**: Focus on correctness first, optimize later.
8. **Secure Code**: Sanitize inputs and protect sensitive data.
9. **Immutability**: Prefer immutable data structures.
10. **Clarity Over Cleverness**: Prioritize readability and maintainability.

## Task Instructions

- Follow the above principles.
- Ensure code is well-structured and documented.
- Validate inputs and use assertions.
- Focus on secure and maintainable code.
- Write a brief explanation of your approach and trade-offs.
- Follow the below instructions as closely as possible.

--- Instructions Below ---
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:
- name: Install dependencies
run: flutter pub get
working-directory: oui
working-directory: packages/oui

- name: Run tests with coverage
run: flutter test --coverage
working-directory: oui
working-directory: packages/oui

- name: Upload coverage to Codecov
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: oui/coverage/lcov.info
files: packages/oui/coverage/lcov.info
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
25 changes: 23 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
{
"cSpell.words": ["Pressable"],
"cSpell.words": [
"AARRGGBB",
"Accentable",
"APCA",
"cmyk",
"desaturated",
"Interpolable",
"lerped",
"Pressable",
"RRGGBB",
"RRGGBBAA",
"WCAG"
],
"cSpell.files": ["**/src/**"],
"github.copilot.chat.codeGeneration.useInstructionFiles": true,
"github.copilot.chat.edits.suggestRelatedFilesForTests": true,
"github.copilot.chat.edits.suggestRelatedFilesFromGitHistory": true,
"github.copilot.chat.fixTestFailure.enabled": true,
"github.copilot.chat.generateTests.codeLens": true,
"github.copilot.chat.search.semanticTextResults": true,
"[dart]": {
"editor.defaultFormatter": "Dart-Code.dart-code",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file"
"editor.formatOnSaveMode": "file",
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
}
}
}
11 changes: 0 additions & 11 deletions oui/lib/oui.dart

This file was deleted.

1 change: 0 additions & 1 deletion oui/lib/src/actions/_index.dart

This file was deleted.

9 changes: 0 additions & 9 deletions oui/lib/src/actions/oui_action.dart

This file was deleted.

2 changes: 0 additions & 2 deletions oui/lib/src/app/_index.dart

This file was deleted.

68 changes: 0 additions & 68 deletions oui/lib/src/app/oui_app.dart

This file was deleted.

44 changes: 0 additions & 44 deletions oui/lib/src/app/oui_app_context.dart

This file was deleted.

1 change: 0 additions & 1 deletion oui/lib/src/auth/_index.dart

This file was deleted.

3 changes: 0 additions & 3 deletions oui/lib/src/auth/oui_auth_provider.dart

This file was deleted.

1 change: 0 additions & 1 deletion oui/lib/src/components/_index.dart

This file was deleted.

Loading

0 comments on commit 5c9ae20

Please sign in to comment.