Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync main and save-files-versioning branches #82

Closed
wants to merge 87 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
e035b78
Update screenshots
WilliamKarolDiCioccio Jul 31, 2024
89f99aa
Update README.md
WilliamKarolDiCioccio Jul 31, 2024
9551d47
Add windows_taskbar package
WilliamKarolDiCioccio Jul 31, 2024
501a801
Add gpu_info package
WilliamKarolDiCioccio Jul 31, 2024
e5557e1
Implement Windows taskbar toolbar effects
WilliamKarolDiCioccio Jul 31, 2024
b2be50a
Add introduction_screen package
WilliamKarolDiCioccio Aug 2, 2024
bf2cb03
Add support section to README.md
WilliamKarolDiCioccio Aug 6, 2024
e38c10e
Add new translations
WilliamKarolDiCioccio Aug 6, 2024
f88126e
Branding update
WilliamKarolDiCioccio Aug 7, 2024
91ba9e7
Create FUNDING.yml
WilliamKarolDiCioccio Aug 7, 2024
934914d
Add repo social banner
WilliamKarolDiCioccio Aug 8, 2024
f4d31a5
Merge branch 'main' of https://github.com/WilliamKarolDiCioccio/open_…
WilliamKarolDiCioccio Aug 8, 2024
7e2e7f2
Add app icon
WilliamKarolDiCioccio Aug 8, 2024
76b2a8e
Add rive animation package
WilliamKarolDiCioccio Aug 8, 2024
af22320
Checkout onboarding screen assets
WilliamKarolDiCioccio Aug 8, 2024
8faf9bd
Refactor to proper grid view for performance and readability
WilliamKarolDiCioccio Aug 11, 2024
bc91f6d
Add hovering effect to suggestion cards
WilliamKarolDiCioccio Aug 11, 2024
7b4fa5d
Implement Ollama models library scraper #12
WilliamKarolDiCioccio Aug 11, 2024
150e41b
Update Ollama library scraping script to query for vision and tools s…
WilliamKarolDiCioccio Aug 12, 2024
1d639d6
Establish a clear separation of pages and screens
WilliamKarolDiCioccio Aug 12, 2024
bfb7e9f
Update Ollama library scraper to include metadata about the scrape it…
WilliamKarolDiCioccio Aug 12, 2024
7480a94
Switch to system_info2 from device_info_plus
WilliamKarolDiCioccio Aug 13, 2024
1800179
Add save to file button for code snippets
WilliamKarolDiCioccio Aug 13, 2024
716edc4
Typewrite effect component
WilliamKarolDiCioccio Aug 13, 2024
4425a75
Fix models specialities detection
WilliamKarolDiCioccio Aug 13, 2024
0de9020
Ditching awesome_snackbar_content due to glitchy visuals on high DPI …
WilliamKarolDiCioccio Aug 13, 2024
287f921
Update plugin registration files (forgot last time)
WilliamKarolDiCioccio Aug 13, 2024
3e3fd98
Create asset manager utility class
WilliamKarolDiCioccio Aug 13, 2024
5a4cd56
Theme accent customization
WilliamKarolDiCioccio Aug 14, 2024
98e19bf
Refactor Ollama library scraper to store models in dictionary format …
WilliamKarolDiCioccio Aug 14, 2024
9f7cce1
Fix wrong assets paths, logo theming issues, improve performance by p…
WilliamKarolDiCioccio Aug 14, 2024
3ae7f07
Disable unnecessary logs in release
WilliamKarolDiCioccio Aug 14, 2024
7afca22
Show model capabilities tags in models management
WilliamKarolDiCioccio Aug 14, 2024
a6b5d48
Create preferences selection widget
WilliamKarolDiCioccio Aug 14, 2024
70aafa7
Move WindowManagementBar to its own file
WilliamKarolDiCioccio Aug 14, 2024
14adc89
Notify user about the risks of per model settings
WilliamKarolDiCioccio Aug 14, 2024
c358e26
Update CONTRIBUTING.md for Windows environment setup
WilliamKarolDiCioccio Aug 15, 2024
b01a132
Update CONTRIBUTING.md for Linux environment setup
WilliamKarolDiCioccio Aug 15, 2024
799dbe4
Changes applied by dart fix --apply
WilliamKarolDiCioccio Aug 16, 2024
3894c04
Update color picker dialog to use localized text
WilliamKarolDiCioccio Aug 16, 2024
0b1a2e7
Create process utility file
WilliamKarolDiCioccio Aug 16, 2024
e99c04c
Fix wrong card content colors
WilliamKarolDiCioccio Aug 16, 2024
722a9b0
Add component suffix to component widgets
WilliamKarolDiCioccio Aug 16, 2024
02e0371
Create RiveAnimationComponent
WilliamKarolDiCioccio Aug 16, 2024
ce7a66b
Add getter to AssetManager
WilliamKarolDiCioccio Aug 16, 2024
2a74934
Added onboarding screen
WilliamKarolDiCioccio Aug 16, 2024
1bf2151
Rename installer generation script
WilliamKarolDiCioccio Aug 18, 2024
5cf4988
Update Discord invite link
WilliamKarolDiCioccio Aug 18, 2024
9eff19b
Update dart-format and add flutter-build workflows
WilliamKarolDiCioccio Aug 19, 2024
9a99971
Update json_annotation dependency
WilliamKarolDiCioccio Aug 19, 2024
298ac3e
Merge branch 'main' of https://github.com/WilliamKarolDiCioccio/open_…
WilliamKarolDiCioccio Aug 19, 2024
1a8c545
Use Cyberboss/install-winget action
WilliamKarolDiCioccio Aug 19, 2024
cf696e9
Finalizing changes before switching development branch
WilliamKarolDiCioccio Aug 19, 2024
ecf96af
Update setup_flutter_for_actions.ps1
WilliamKarolDiCioccio Aug 19, 2024
6eb0d5b
Update setup_flutter_for_actions.ps1
WilliamKarolDiCioccio Aug 19, 2024
1d2a101
Update setup_flutter_for_actions.ps1
WilliamKarolDiCioccio Aug 19, 2024
7b4decc
Update flutter-build.yml
WilliamKarolDiCioccio Aug 19, 2024
1c8b42f
Fixing flutter-build workflow
WilliamKarolDiCioccio Aug 20, 2024
c5cae65
Add flutter-build workflow status badge
WilliamKarolDiCioccio Aug 20, 2024
6e641fe
Accept winget packages agreements flutter-build.yml
WilliamKarolDiCioccio Aug 20, 2024
8609669
Remove deprecated path filter from flutter-build.yml
WilliamKarolDiCioccio Aug 20, 2024
d5a15e3
Setup flutter actions cache for flutter-build.yml
WilliamKarolDiCioccio Aug 20, 2024
c9d5cd5
Enable manual trigger for flutter-build.yml
WilliamKarolDiCioccio Aug 20, 2024
6031f3f
Use humbletime/setup-vulkan-sdk action in flutter-build.yml
WilliamKarolDiCioccio Aug 20, 2024
f8a37ed
Rename formatters.dart to format.dart and the Formatters class to For…
WilliamKarolDiCioccio Aug 20, 2024
d626722
Rename HTTPMethods class to HTTPHelpers
WilliamKarolDiCioccio Aug 21, 2024
8a2303e
Fully document backend and core
WilliamKarolDiCioccio Aug 21, 2024
f6e88b5
Move Rive engine initialization to main.dart
WilliamKarolDiCioccio Aug 21, 2024
dc1286b
Moved components directory
WilliamKarolDiCioccio Aug 22, 2024
0e5e885
Moved window_management_bar.dart to components
WilliamKarolDiCioccio Aug 22, 2024
6bf33e3
Fix WindowManagementBarComponent theming
WilliamKarolDiCioccio Aug 22, 2024
26de8dd
Moved snackbar.dart to core
WilliamKarolDiCioccio Aug 22, 2024
1d02fd8
Add battery_plus package for power delivery warning
WilliamKarolDiCioccio Aug 22, 2024
3b1ffd7
Add an animated splash screen
WilliamKarolDiCioccio Aug 22, 2024
635915c
Merge branch 'main' into maintenance/docs-and-testing
WilliamKarolDiCioccio Aug 22, 2024
c4f566d
Merge pull request #86 from WilliamKarolDiCioccio/maintenance/docs-an…
WilliamKarolDiCioccio Aug 22, 2024
7d79d25
Fix warnings, runtime exceptions and update dependencies
WilliamKarolDiCioccio Aug 22, 2024
2912452
Fix JSON output generation
WilliamKarolDiCioccio Aug 26, 2024
79340a1
Refactor chat provider to use message streaming
WilliamKarolDiCioccio Aug 26, 2024
0efe74c
Merge pull request #87 from WilliamKarolDiCioccio/main
WilliamKarolDiCioccio Aug 26, 2024
5cc1256
Create FloatingMenuComponent
WilliamKarolDiCioccio Aug 26, 2024
af3b540
Create ChangelogDialog
WilliamKarolDiCioccio Aug 26, 2024
1321b34
Merge pull request #88 from WilliamKarolDiCioccio/feature/changelog
WilliamKarolDiCioccio Aug 26, 2024
860ad57
Fix wrong status due to async execution of addModelMessage()
WilliamKarolDiCioccio Aug 26, 2024
e527087
Use chips to show model categories
WilliamKarolDiCioccio Aug 26, 2024
b6b2f92
Fix byte data retrieval type in AssetManager
WilliamKarolDiCioccio Aug 26, 2024
b6b07a1
Fix usage of null context in onboarding.dart
WilliamKarolDiCioccio Aug 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Moved snackbar.dart to core
WilliamKarolDiCioccio committed Aug 22, 2024
commit 26de8dd0b759cffaa6823ef7e5e9adc1782971c4
7 changes: 3 additions & 4 deletions app/lib/backend/providers/model.dart
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@ import 'dart:io';

import 'package:flutter/foundation.dart';


import 'package:http/http.dart' as http;
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:open_local_ui/backend/models/model.dart';
@@ -13,7 +12,7 @@ import 'package:open_local_ui/backend/providers/model_settings.dart';
import 'package:open_local_ui/constants/flutter.dart';
import 'package:open_local_ui/core/http.dart';
import 'package:open_local_ui/core/logger.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:windows_taskbar/windows_taskbar.dart';

enum ModelProviderStatus {
@@ -182,7 +181,7 @@ class ModelProvider extends ChangeNotifier {
WindowsTaskbar.resetThumbnailToolbar();
WindowsTaskbar.setProgressMode(TaskbarProgressMode.noProgress);
}

SnackBarHelpers.showSnackBar(
// ignore: use_build_context_synchronously
AppLocalizations.of(scaffoldMessengerKey.currentState!.context)
@@ -393,7 +392,7 @@ class ModelProvider extends ChangeNotifier {
WindowsTaskbar.resetThumbnailToolbar();
WindowsTaskbar.setProgressMode(TaskbarProgressMode.noProgress);
}

SnackBarHelpers.showSnackBar(
// ignore: use_build_context_synchronously
AppLocalizations.of(scaffoldMessengerKey.currentState!.context)
File renamed without changes.
2 changes: 1 addition & 1 deletion app/lib/core/update.dart
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import 'package:open_local_ui/core/github.dart';
import 'package:open_local_ui/core/logger.dart';
import 'package:open_local_ui/core/process.dart';
import 'package:open_local_ui/env.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:path_provider/path_provider.dart';
import 'package:shared_preferences/shared_preferences.dart';

2 changes: 1 addition & 1 deletion app/lib/frontend/pages/dashboard/models.dart
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ import 'package:open_local_ui/frontend/dialogs/model_details.dart';
import 'package:open_local_ui/frontend/dialogs/model_settings.dart';
import 'package:open_local_ui/frontend/dialogs/pull_model.dart';
import 'package:open_local_ui/frontend/dialogs/push_model.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:open_local_ui/frontend/screens/dashboard.dart';
import 'package:provider/provider.dart';
import 'package:shared_preferences/shared_preferences.dart';
3 changes: 1 addition & 2 deletions app/lib/frontend/pages/dashboard/sessions.dart
Original file line number Diff line number Diff line change
@@ -2,15 +2,14 @@ import 'dart:io';

import 'package:flutter/material.dart';


import 'package:flutter_animate/flutter_animate.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:gap/gap.dart';
import 'package:open_local_ui/backend/models/chat_session.dart';
import 'package:open_local_ui/backend/providers/chat.dart';
import 'package:open_local_ui/core/formatters.dart';
import 'package:open_local_ui/frontend/dialogs/confirmation.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:open_local_ui/frontend/screens/dashboard.dart';
import 'package:path_provider/path_provider.dart';
import 'package:provider/provider.dart';
2 changes: 1 addition & 1 deletion app/lib/frontend/pages/dashboard/settings.dart
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import 'package:open_local_ui/backend/providers/chat.dart';
import 'package:open_local_ui/backend/providers/locale.dart';
import 'package:open_local_ui/core/color.dart';
import 'package:open_local_ui/frontend/dialogs/color_picker.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:provider/provider.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:system_theme/system_theme.dart';
2 changes: 1 addition & 1 deletion app/lib/frontend/screens/dashboard.dart
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ import 'package:open_local_ui/core/github.dart';
import 'package:open_local_ui/core/logger.dart';
import 'package:open_local_ui/core/update.dart';
import 'package:open_local_ui/frontend/dialogs/update.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:open_local_ui/frontend/pages/dashboard/about.dart';
import 'package:open_local_ui/frontend/pages/dashboard/chat.dart';
import 'package:open_local_ui/frontend/pages/dashboard/models.dart';
2 changes: 1 addition & 1 deletion app/lib/frontend/screens/onboarding.dart
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ import 'package:open_local_ui/frontend/components/typewriter_text.dart';
import 'package:open_local_ui/core/color.dart';
import 'package:open_local_ui/core/process.dart';
import 'package:open_local_ui/frontend/dialogs/color_picker.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:open_local_ui/frontend/screens/dashboard.dart';
import 'package:open_local_ui/frontend/widgets/preference_selector.dart';
import 'package:open_local_ui/frontend/components/window_management_bar.dart';
3 changes: 1 addition & 2 deletions app/lib/frontend/widgets/chat_example_questions.dart
Original file line number Diff line number Diff line change
@@ -2,14 +2,13 @@ import 'dart:math';

import 'package:flutter/material.dart';


import 'package:adaptive_theme/adaptive_theme.dart';
import 'package:flutter_animate/flutter_animate.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:gap/gap.dart';
import 'package:open_local_ui/backend/providers/chat.dart';
import 'package:open_local_ui/backend/providers/model.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:provider/provider.dart';
import 'package:unicons/unicons.dart';

3 changes: 1 addition & 2 deletions app/lib/frontend/widgets/chat_input_field.dart
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';


import 'package:flutter_animate/flutter_animate.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:gap/gap.dart';
import 'package:open_local_ui/backend/providers/chat.dart';
import 'package:open_local_ui/backend/providers/model.dart';
import 'package:open_local_ui/core/image.dart';
import 'package:open_local_ui/frontend/dialogs/attachments_dropzone.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:provider/provider.dart';
import 'package:unicons/unicons.dart';

2 changes: 1 addition & 1 deletion app/lib/frontend/widgets/chat_message.dart
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ import 'package:gap/gap.dart';
import 'package:open_local_ui/backend/models/chat_message.dart';
import 'package:open_local_ui/backend/providers/chat.dart';
import 'package:open_local_ui/core/formatters.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:open_local_ui/frontend/widgets/markdown_body.dart';
import 'package:open_local_ui/frontend/widgets/tts_player.dart';
import 'package:provider/provider.dart';
3 changes: 1 addition & 2 deletions app/lib/frontend/widgets/chat_toolbar.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import 'package:flutter/material.dart';


import 'package:adaptive_theme/adaptive_theme.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:gap/gap.dart';
import 'package:open_local_ui/backend/providers/chat.dart';
import 'package:open_local_ui/backend/providers/model.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:provider/provider.dart';
import 'package:unicons/unicons.dart';

3 changes: 1 addition & 2 deletions app/lib/frontend/widgets/markdown_body.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';


import 'package:adaptive_theme/adaptive_theme.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
// ignore: depend_on_referenced_packages
@@ -9,7 +8,7 @@ import 'package:flutter_highlight/themes/atom-one-dark.dart';
import 'package:flutter_highlight/themes/atom-one-light.dart';
import 'package:markdown_widget/markdown_widget.dart';
import 'package:open_local_ui/constants/style.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:open_local_ui/frontend/widgets/markdown_code_wrapper.dart';
import 'package:url_launcher/url_launcher.dart';

2 changes: 1 addition & 1 deletion app/lib/frontend/widgets/markdown_code_wrapper.dart
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:gap/gap.dart';
import 'package:open_local_ui/core/asset.dart';
import 'package:open_local_ui/frontend/helpers/snackbar.dart';
import 'package:open_local_ui/core/snackbar.dart';
import 'package:unicons/unicons.dart';

Map<String, String> languageToAsset = {