-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(ui): optimize UI for desktop platform #142
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Optimize the home page UI for desktop and mobile, including: - Added a background for desktop. - Added a draggable area at the top for desktop. - Added FABs with animations for diary creation. - Added a navigation bar for mobile. - Added a to-top button for both desktop and mobile.
- Improve scrollbar theme. - Add overlay color to TabBar. - Add icon to PopupMenuButton. - Update HomeFab icons and add label. - Update placeholder and empty view in DiaryTabView. - Update NavigationBar icons.
Add a GlobalKey to the AnimatedSwitcher to prevent unnecessary rebuilds and optimize desktop page switching performance.
…ner and other dependencies Bumps [shared_preferences](https://pub.dev/packages/shared_preferences) from 2.3.5 to 2.4.0. Bumps [waterfall_flow](https://pub.dev/packages/waterfall_flow) from 3.1.0 to 3.1.1. Bumps [slang_build_runner](https://pub.dev/packages/slang_build_runner) from 4.4.0 to 4.4.2. Also bumps other dependencies: - glob from 2.1.2 to 2.1.3 - image_picker_macos from 0.2.1+1 to 0.2.1+2
Update the version of `shared_preferences_android` from 2.4.2 to 2.4.3 in `pubspec.lock`.
- Increased the duration of the confetti animation from 2 to 4 seconds. - Updated confetti colors to a wider range, including red, orange, yellow, green, cyan, blue, and purple. - Refactor code to remove extra `SafeArea` widget.
This commit optimizes the rendering of ellipsis text by: - Implementing a more efficient algorithm for truncating text. - Using `TextPainter.didExceedMaxLines` to detect overflow. - Adding support for custom ellipsis strings. - Fixing the layout logic for text width calculation. - Removing unnecessary `context` and adding `textStyle` optional parameters. - Updating code comments to be clearer.
- Replaced `IconButton` with `IconButton.filled` and adjusted icon sizes in `HomeFabView`. - Added tooltips to buttons in `HomeFabView` for clarity. - Improved `WindowButtons` widget to only display on Windows and provide an integrated dragging area, removed unnecessary code. - Adjusted padding and spacing for MacOS in the navigation rail in `HomePage`. - Modified `AdaptiveBackground` to simplify layout and remove `appWindow.startDragging()` from the background, use `GestureDetector` instead. - Added `WindowButtons` at the top of the main application window for better integration.
Adds display name, publisher display name, identity name and capabilities for publishing to the Microsoft Store.
Refactor the msix_config in `pubspec.yaml` by changing the indentation of the settings.
Update `display_name`, `publisher_display_name`, `identity_name`, and `publisher` in `msix_config` for store publishing.
Update `identity_name`, `publisher`, and `publisher_display_name` in `msix_config` for Microsoft Store publishing.
Add `logo_path` to pubspec.yaml for specifying the desktop application logo.
- Changed the color of the time text in both `grid_diary_card_view` and `list_diary_card_view` to `onSurfaceVariant` for better visibility. - Adjusted the `maxLines` property in `list_diary_card_view` based on whether the diary has a title, enhancing content readability. - Changed the format of the time in list_diary_card_view to `yMMMMEEEEd().add_Hms()`.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.