Skip to content

Commit

Permalink
[mobile][photos] Improve magic section UX (#3235)
Browse files Browse the repository at this point in the history
## Description

Check commits. 


https://github.com/user-attachments/assets/07f8aeec-163d-4ef7-b7f5-e78a475d364d



## Tests

Tested all changes.
  • Loading branch information
ua741 authored Sep 12, 2024
2 parents 734de81 + 30f1b4e commit 27091f5
Show file tree
Hide file tree
Showing 75 changed files with 545 additions and 73 deletions.
11 changes: 11 additions & 0 deletions mobile/lib/events/magic_sort_change_event.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import "package:photos/events/event.dart";

enum MagicSortType {
mostRecent,
mostRelevant,
}

class MagicSortChangeEvent extends Event {
final MagicSortType sortType;
MagicSortChangeEvent(this.sortType);
}
3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_ar.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion mobile/lib/generated/intl/messages_bg.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion mobile/lib/generated/intl/messages_ca.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_cs.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_da.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_de.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion mobile/lib/generated/intl/messages_el.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_en.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_es.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion mobile/lib/generated/intl/messages_et.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_fa.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_fr.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion mobile/lib/generated/intl/messages_gu.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_he.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_hi.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_id.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_it.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mobile/lib/generated/intl/messages_ja.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 27091f5

Please sign in to comment.