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

V2 #20

Merged
merged 110 commits into from
Apr 9, 2024
Merged

V2 #20

merged 110 commits into from
Apr 9, 2024

Conversation

Cierra-Runis
Copy link
Owner

@Cierra-Runis Cierra-Runis commented Jan 27, 2024

v2

📖Revise

  • 📖Update packages

  • 📖Update isar to v4.0

  • 📖Upgrade compileSdkVersion to 34

  • 📖Improve localization

  • 📖Improve code quality

  • 📖Improve context.pushDialog

  • 📖Improve error handle of App.run()

  • 📖Store DiaryTagType of DiaryTag instead IconData

  • 📖Now close button not hide more

  • 📖Reorganize project structure

  • 📖Remove comments

  • 📖Remove divider of BasedSplitView

  • 📖Refactor Diary fields

    • Old
    const Diary({
      required this.id,
      required this.createDateTime,
      required this.latestEditTime,
      required this.contentJsonString,
      this.editing = false,
      this.titleString = '',
      this.moodType = DiaryMoodType.defaultType,
      this.weatherType = DiaryWeatherType.defaultType,
    });
    • New
    const factory Diary({
      required int id,
      required DateTime createAt,
      required DateTime editAt,
      required List<dynamic> content,
      @Default(false) bool editing,
      @Default('') String title,
      @Default(DiaryMoodType.defaultType) DiaryMoodType moodType,
      @Default(DiaryWeatherType.defaultType) DiaryWeatherType weatherType,
    }) = _Diary;

🌍Feature

  • 🌍Add Paths and pathProvider
  • 🌍Add imageDirectory to Paths
  • 🌍Add sync entry
  • 🌍Add accentColor to Settings
  • 🌍Redesign EditorPage and DiaryPageItem
  • 🌍Reimplement EditorToolbar
  • 🌍Init dart server code
  • 🌍Init go server code

🔧Fix

  • 🔧Fix error by remove Expanded in EditorPage
  • 🔧Fix state losing when resizing window
  • 🔧Fix file selection in _ImportSection

@Cierra-Runis Cierra-Runis merged commit cb3c9a8 into master Apr 9, 2024
@Cierra-Runis Cierra-Runis deleted the v2 branch April 9, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Mercurius v2.0 Plans
1 participant