Skip to content

Commit 609f4e6

Browse files
committed
Feature: Receive tab
This branch introduces the UI tab responsible for recording and showing the decoded message. List of changes: - created a UI based on design and implemented external assets - created theme_assets.dart to allow managing the theme settings - created receive_tab.dart with a few children widgets as a main Receive tab view component, but placed it inside main_page.dart, to prepare for the implementation of the next Send tab - created receive_tab_cubit.dart to manage the Receive tab view - created device_selector.dart - a widget that allows to select the input device on windows application, using win32audio package - created a series of AnimationController widgets in receive_tab, that allow animated UI and respond to different states of the ReceiveTabCubit - created outlined_icon.dart to allow outlining every icon - implemented particle generator in decoded_msg_background.dart using the particles_flutter package - added placeholder_test.dart to support GitHub workflows with private repo access config, in case tests are added in the future (placeholder can be replaced with real tests)
1 parent 662feca commit 609f4e6

40 files changed

Lines changed: 1565 additions & 517 deletions

.github/workflows/version_and_tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
steps:
5757
# https://github.com/marketplace/actions/checkout
5858
- uses: actions/checkout@main
59+
# https://github.com/webfactory/ssh-agent
60+
- uses: webfactory/ssh-agent@v0.9.0
61+
with:
62+
ssh-private-key: ${{ secrets.WHISP_SSH_PRIVATE_KEY }}
5963
# https://github.com/marketplace/actions/flutter-action
6064
- name: Extract flutter SDK version from FVM
6165
run: echo "FLUTTER_SDK_VERSION=$(jq -r '.flutterSdkVersion' .fvm/fvm_config.json)" >> $GITHUB_ENV

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Miscellaneous
55
*.class
6-
#*.lock
6+
*.lock
77
*.log
88
*.pyc
99
*.swp

README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,4 @@ fvm flutter pub run build_runner watch --delete-conflicting-outputs
4343
## Contributing
4444
Pull requests are welcomed. For major changes, please open an issue first, to enable a discussion on what you would like to improve. Please make sure to provide and update tests as well.
4545

46-
## [Licence](./LICENSE.md)
47-
48-
A new Flutter project.
49-
50-
## Getting Started
51-
52-
This project is a starting point for a Flutter application.
53-
54-
A few resources to get you started if this is your first Flutter project:
55-
56-
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
57-
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
58-
59-
For help getting started with Flutter development, view the
60-
[online documentation](https://docs.flutter.dev/), which offers tutorials,
61-
samples, guidance on mobile development, and a full API reference.
46+
## [Licence](./LICENSE.md)

assets/blue_cloud.png

29.9 KB
Loading

assets/blue_cloud_anim.webp

566 KB
Loading

assets/cream_cloud.png

29 KB
Loading

assets/cream_cloud_anim.webp

602 KB
Loading

assets/fonts/Kalam-Bold.ttf

450 KB
Binary file not shown.

assets/snggle_face.gif

637 KB
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import 'package:equatable/equatable.dart';
2+
3+
abstract class AReceiveTabState extends Equatable {
4+
const AReceiveTabState();
5+
}

0 commit comments

Comments
 (0)