- Improve image viewing experience by adding hero animations to images within `media_image_view.dart`, `image_embed.dart` for both quill and markdown, and `image_view.dart`.
- Refactor diary title display by removing the arrow icon and using a single text widget in `diary_view.dart`.
- Set `showCupertinoParallax: false` to false in all routes.
- Change default transition to `Transition.native` in `main.dart`.
This commit introduces a `showShadow` option to the `HomeFabComponent`, enabling the display of a shadow effect for the floating action button. The `HomeView` is updated to set `showShadow` to true.
- Implement markdown editing feature with toolbar.
- Add rendering for image, audio, and video embeds in markdown content.
- Add markdown content preview.
- Refactor and improve drawing and photo picking features.
- Implement rendering of markdown syntax highlighting.
- Add markdown to text plain text conversion.
- Add markdown type for diary.
- 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()`.
- 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.
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.
- 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.
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.
Refine the release notification workflow to:
- Remove manual workflow dispatch trigger.
- Extract release information directly from GitHub event data.
- Format the Telegram message using markdown for better readability.
Update the telegram notification workflow to fetch and include the latest release details in the message.
This includes the release name, tag, notes, and URL, providing more context for users.
This change introduces a new workflow that sends release notifications to a specified Telegram channel using the `appleboy/telegram-action`.
The workflow is triggered on new releases and includes the release name, tag, release notes, assets, and a link to the release page in the notification message.
- Updated Flutter SDK requirement to >= 3.27.2 Stable.
- Updated Dart requirement to >= 3.6.1.
- Added a note encouraging the use of the latest Flutter version and recommending FVM for Flutter version management.
- Updates the Dart SDK version to `>=3.6.1`.
- Updates the Flutter version to `>=3.27.2`.
- Updates the `syncfusion_flutter_sliders` package to version `28.1.41`.
- Adds `msix_config` for application configuration.
- Updates the NDK version to "27.2.12479018" in `android/app/build.gradle`.
- Updates the Kotlin Android plugin version to "2.1.0" in `android/settings.gradle`.
- Add abiFilters 'arm64-v8a'
- Add markdown_bar component for markdown editing.
- Update edit page to support markdown diary type.
- Update home page floating button to include markdown diary.
- Update edit_logic to include markdown controller.
- Update markdown and remove markdown_toolbar package.
- Add support to preview markdown.
- Add support to markdown_bar for markdown editing.
- Add support to markdown parser for markdown editing.
- Update home page floating button to include markdown diary.
- Adjusted the lock page's `AppBar` to remove the leading widget and prevent auto-implication.
- Made the lock page's `AppBar` to extend behind the body.
- Corrected the "weather" localization to "Weather".
- Replace `mobile_dark.webp`, `mobile_light.webp`, `desktop_dark.webp`, and `desktop_light.webp` with language-specific screenshots in the `res/screenshot/` directory.
- Update the references to these screenshots in `README.md` and `README.zh.md` to include language indicators.
- Add `diaryDelete`, `diaryEdit`, `diaryShare`, `diaryCount` and `dataSync` translations to `intl_en.arb` and `intl_zh.arb`.
- Update diary list and diary details to use new localization strings.
- Add `sensors_plus` plugin to Podfile.lock.
- Update `diary_view` with localized strings
- update `diary_details_view` with localized strings