Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
refactor(#2): convert into separate packages
Browse files Browse the repository at this point in the history
* refactor: split code

Beginning to split the code up so we can support Jaspr and make themes for
UI toolkits.

* chore(design): begin with readme

* fix(ci): use the correct path for the flutter example

* chore(libtokyo): begin on theming and color data

* chore(libtokyo): add unit test for color

* chore(ci): add dart specific ci

* chore(libtokyo): full coverage on color

* chore: implementing basic widgets and logic

* fix: dart errors

* fix(libtokyo): color test

* chore(libtokyo_flutter): starting to work

* chore: initial theming

* chore: adding window bar

* chore: added rounded window border with the window bar

* chore(libtokyo_flutter): improve padding on window_bar

* fix(libtokyo_flutter): windows should compile now in example

* chore(libtokyo_flutter): logic for hiding or showing window bar

* chore(libtokyo): remove unused code

* chore(libtokyo): initial code for file browser

* chore(libtokyo_flutter): working on the file browser and file browser list widgets

* chore: implement file browser modes

* chore(file_browser): add recursive and follow links properties to widget

* chore: added file browser entry

* chore: file browsing list done

* chore: add grid based file browser

* chore: improve error handling

* chore(libtokyo_flutter): use git for fetching libtokyo

* fix(libtokyo_flutter): don't cast object to error

* chore(libtokyo_flutter): improve text readability

* chore(libtokyo_flutter): improve icon theme

* fix(libtokyo_flutter): get rid of lerp error

* chore(libtokyo_flutter): pass show hidden to file browser list/grid

* fix: error regarding text style on init

* chore: implement localization and delegate passthru

* chore(libtokyo_flutter): use intl 0.18.1

* feat: support right click as long press

* fix(libtokyo_flutter): coloring issues

* chore: add initial route property

* feat: finished themes

* chore(libtokyo_flutter): pass key through

* fix(libtokyo_flutter): revert 296c5c1

* chore(libtokyo_jaspr): add main file
  • Loading branch information
RossComputerGuy authored Jun 15, 2023
1 parent 7ae2628 commit 329559f
Show file tree
Hide file tree
Showing 205 changed files with 2,375 additions and 694 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/dart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Dart
on: push

jobs:
build:
strategy:
matrix:
arch: [x64]
sdk: [stable]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Test libtokyo
run: |
pushd packages/libtokyo
dart pub get
dart test --reporter=github
popd
6 changes: 3 additions & 3 deletions .github/workflows/flutter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ jobs:
name: Build desktop
run: |
flutter config --enable-${{ matrix.target }}-desktop
cd example
cd packages/libtokyo_flutter/example
flutter build ${{ matrix.target }}
- if: ${{ matrix.target == 'android' }}
name: Build for Android
run: |
cd example
cd packages/libtokyo_flutter/example
flutter build apk
flutter build appbundle
- if: ${{ matrix.target == 'web' }}
name: Build for the web
run: |
cd example
cd packages/libtokyo_flutter/example
flutter build ${{ matrix.target }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ pubspec.lock
.dart_tool/
.packages
build/
coverage/
.flutter-plugins*

result*
19 changes: 0 additions & 19 deletions .idea/libraries/Dart_SDK.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

36 changes: 0 additions & 36 deletions .idea/workspace.xml

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## 0.0.1
## 0.1.0

* TODO: Describe initial release.
3 changes: 3 additions & 0 deletions design/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# libtokyo Design

This directory contains files relevant to the design and style of libtokyo.
172 changes: 0 additions & 172 deletions example/lib/main.dart

This file was deleted.

11 changes: 0 additions & 11 deletions example/linux/flutter/generated_plugin_registrant.cc

This file was deleted.

11 changes: 0 additions & 11 deletions example/windows/flutter/generated_plugin_registrant.cc

This file was deleted.

3 changes: 0 additions & 3 deletions lib/libtokyo.dart

This file was deleted.

12 changes: 0 additions & 12 deletions lib/theme.dart

This file was deleted.

45 changes: 0 additions & 45 deletions lib/theme/factory.dart

This file was deleted.

Loading

0 comments on commit 329559f

Please sign in to comment.