Skip to content

Commit 56ebbdf

Browse files
ChenDoXiuChenDoXiu
andauthored
Feat profile (#26)
* fix * fix code * chore: update files.exclude settings in VSCode configuration * Refactor input components and add date picker functionality - Removed MkSelect widget implementation from mk_input.dart and created a new mk_select.dart file for better organization. - Updated MkScaffold to wrap body in a Scaffold widget for consistent layout. - Added date_picker_plus dependency to pubspec.yaml and updated pubspec.lock. - Introduced MkDatePicker widget for selecting dates with a dialog interface. - Added language constants in languages.dart for localization support. - Created a new tasks.json file for VSCode to automate Intl generation. * fix: add delay in updateUser to prevent state inconsistency * refactor: replace editable fields with new MkSetting components for better maintainability * feat: add MkFolder component for collapsible section in settings profile * fix: update folderHeaderBg color for improved visibility --------- Co-authored-by: ChenDoXiu <chendoxiu@outlook.com>
1 parent 3e87243 commit 56ebbdf

110 files changed

Lines changed: 1798 additions & 375 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clineignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
migrate_working_dir/
12+
13+
# IntelliJ related
14+
*.iml
15+
*.ipr
16+
*.iws
17+
.idea/
18+
*.g.dart
19+
*.freezed.dart
20+
# The .vscode folder contains launch configuration and tasks you configure in
21+
# VS Code which you may wish to be included in version control, so this line
22+
# is commented out by default.
23+
#.vscode/
24+
25+
# Flutter/Dart/Pub related
26+
**/doc/api/
27+
**/ios/Flutter/.last_build_id
28+
.dart_tool/
29+
.flutter-plugins
30+
.flutter-plugins-dependencies
31+
.packages
32+
.pub-cache/
33+
.pub/
34+
/build/
35+
36+
# Symbolication related
37+
app.*.symbols
38+
39+
# Obfuscation related
40+
app.*.map.json
41+
42+
# Android Studio will place build artifacts here
43+
/android/app/debug
44+
/android/app/profile
45+
/android/app/release
46+
/android/app/.cxx/
47+
.git

.roo/mcp.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"mcpServers": {}
3+
}

.vscode/settings.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
{
2-
"cmake.sourceDirectory": "/home/chendoxiu/桌面/Projects/MoeKey/linux"
2+
"files.exclude": {
3+
"**/*.freezed.dart": true,
4+
"**/*.g.dart": true
5+
},
6+
"emeraldwalk.runonsave": {
7+
"commands": [
8+
{
9+
"match": "\\.arb$",
10+
"isAsync": true,
11+
"cmd": "flutter pub global run intl_utils:generate"
12+
}
13+
]
14+
}
315
}

.vscode/tasks.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Generate Intl",
6+
"type": "shell",
7+
"command": "flutter pub global run intl_utils:generate",
8+
"problemMatcher": [],
9+
"presentation": {
10+
"reveal": "always",
11+
"panel": "new"
12+
},
13+
"group": "build"
14+
}
15+
]
16+
}

android/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
<meta-data
3939
android:name="flutterEmbedding"
4040
android:value="2"/>
41-
<!-- <meta-data-->
42-
<!-- android:name="io.flutter.embedding.android.EnableImpeller"-->
43-
<!-- android:value="false"/>-->
41+
<meta-data
42+
android:name="io.flutter.embedding.android.EnableImpeller"
43+
android:value="false"/>
4444
</application>
4545
</manifest>

lib/apis/services/account_service.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import 'package:moekey/apis/models/me_detailed.dart';
22
import 'package:moekey/apis/models/notification.dart';
3-
import 'package:moekey/apis/models/user_lite.dart';
43
import 'package:moekey/apis/services/services.dart';
54

65
class AccountService extends MisskeyApiServices {

0 commit comments

Comments
 (0)