Skip to content

Remove blogs from Kid Mode #2842#2847

Merged
veloce merged 1 commit intolichess-org:mainfrom
KaranSuthar099:main
Mar 28, 2026
Merged

Remove blogs from Kid Mode #2842#2847
veloce merged 1 commit intolichess-org:mainfrom
KaranSuthar099:main

Conversation

@KaranSuthar099
Copy link
Copy Markdown
Contributor

now conditionally rendering the blog widget in home_tab_screen.dart ( in both modes edit and non edit)

now conditionally rendering the blog widget in home_tab_screen.dart ( in both modes edit and non edit)
@veloce
Copy link
Copy Markdown
Contributor

veloce commented Mar 27, 2026

Thanks! There is one failing test, can you see what's happening?

@KaranSuthar099
Copy link
Copy Markdown
Contributor Author

KaranSuthar099 commented Mar 27, 2026

I checked the failing test (socket_test.dart). I reran the test suite locally multiple times, and it passed consistently (logs attached in end).

Since my changes are limited to UI (blog widget rendering), they shouldn’t affect socket behavior. This looks like a timing-related flake, but I agree it's worth confirming — if you can rerun the ci that might help clarify that.

Test logs

PS C:\Users-----\onedrive\documents\mobile> flutter test
Resolving dependencies... (4.6s)
Downloading packages... (2.4s)
_fe_analyzer_shared 93.0.0 (98.0.0 available)
_flutterfire_internals 1.3.67 (1.3.68 available)
analyzer 10.0.1 (12.0.0 available)
async 2.13.0 (2.13.1 available)
built_value 8.12.4 (8.12.5 available)
cupertino_icons 1.0.8 (1.0.9 available)
dart_style 3.1.7 (3.1.8 available)
firebase_core 4.5.0 (4.6.0 available)
firebase_core_platform_interface 6.0.2 (6.0.3 available)
firebase_core_web 3.5.0 (3.5.1 available)
firebase_crashlytics 5.0.8 (5.1.0 available)
firebase_crashlytics_platform_interface 3.8.18 (3.8.19 available)
firebase_messaging 16.1.2 (16.1.3 available)
firebase_messaging_platform_interface 4.7.7 (4.7.8 available)
firebase_messaging_web 4.1.3 (4.1.4 available)
flutter_markdown 0.7.7+1 (discontinued replaced by flutter_markdown_plus)
flutter_plugin_android_lifecycle 2.0.33 (2.0.34 available)
! flutter_secure_storage_linux 2.0.0 from git https://github.com/christianfl/flutter_secure_storage.git at b24fad in flutter_secure_storage_linux (overridden)
image_picker_android 0.8.13+14 (0.8.13+15 available)
meta 1.17.0 (1.18.2 available)
path_provider_android 2.2.22 (2.2.23 available)
quick_actions_android 1.0.27 (1.0.28 available)
shared_preferences 2.5.4 (2.5.5 available)
shared_preferences_android 2.4.21 (2.4.23 available)
shared_preferences_platform_interface 2.4.1 (2.4.2 available)
test 1.30.0 (1.31.0 available)
test_api 0.7.10 (0.7.11 available)
test_core 0.6.16 (0.6.17 available)
url_launcher_android 6.3.28 (6.3.29 available)
vector_math 2.2.0 (2.3.0 available)
win32 5.15.0 (6.0.0 available)
win32_registry 2.1.0 (3.0.2 available)
Got dependencies!
1 package is discontinued.
30 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.
01:56 +43: C:/Users/Chand/OneDrive/Documents/mobile/test/app_test.dart: App will delete a stored authUser on startup if one request return 401 (variant: TargetPlatform.iOS)
ClientException: Request to /tournament/featured failed with status 404, uri=/tournament/featured
03:48 +545: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline home customization tip Can be dismissed via button
FormatException: Unexpected end of input (at offset 0)
03:49 +554: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline home customization tip Can be dismissed via going to settings
FormatException: Unexpected end of input (at offset 0)
FormatException: Unexpected end of input (at offset 0)
03:50 +557: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline NNUE files missing tip Shown if engine pref is latest sf and NNUE files are missing
FormatException: Unexpected end of input (at offset 0)
03:51 +558: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline NNUE files missing tip Not shown if nnue files are available
FormatException: Unexpected end of input (at offset 0)
03:52 +559: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline NNUE files missing tip Not shown if engine pref is sf16
FormatException: Unexpected end of input (at offset 0)
04:31 +762: All tests passed!
PS C:\Users-----\onedrive\documents\mobile> flutter test
Resolving dependencies...
Downloading packages...
_fe_analyzer_shared 93.0.0 (98.0.0 available)
_flutterfire_internals 1.3.67 (1.3.68 available)
analyzer 10.0.1 (12.0.0 available)
async 2.13.0 (2.13.1 available)
built_value 8.12.4 (8.12.5 available)
cupertino_icons 1.0.8 (1.0.9 available)
dart_style 3.1.7 (3.1.8 available)
firebase_core 4.5.0 (4.6.0 available)
firebase_core_platform_interface 6.0.2 (6.0.3 available)
firebase_core_web 3.5.0 (3.5.1 available)
firebase_crashlytics 5.0.8 (5.1.0 available)
firebase_crashlytics_platform_interface 3.8.18 (3.8.19 available)
firebase_messaging 16.1.2 (16.1.3 available)
firebase_messaging_platform_interface 4.7.7 (4.7.8 available)
firebase_messaging_web 4.1.3 (4.1.4 available)
flutter_markdown 0.7.7+1 (discontinued replaced by flutter_markdown_plus)
flutter_plugin_android_lifecycle 2.0.33 (2.0.34 available)
! flutter_secure_storage_linux 2.0.0 from git https://github.com/christianfl/flutter_secure_storage.git at b24fad in flutter_secure_storage_linux (overridden)
image_picker_android 0.8.13+14 (0.8.13+15 available)
meta 1.17.0 (1.18.2 available)
path_provider_android 2.2.22 (2.2.23 available)
quick_actions_android 1.0.27 (1.0.28 available)
shared_preferences 2.5.4 (2.5.5 available)
shared_preferences_android 2.4.21 (2.4.23 available)
shared_preferences_platform_interface 2.4.1 (2.4.2 available)
test 1.30.0 (1.31.0 available)
test_api 0.7.10 (0.7.11 available)
test_core 0.6.16 (0.6.17 available)
url_launcher_android 6.3.28 (6.3.29 available)
vector_math 2.2.0 (2.3.0 available)
win32 5.15.0 (6.0.0 available)
win32_registry 2.1.0 (3.0.2 available)
Got dependencies!
1 package is discontinued.
30 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.
00:10 +99: C:/Users/Chand/OneDrive/Documents/mobile/test/app_test.dart: App will delete a stored authUser on startup if one request return 401 (variant: TargetPlatform.iOS)
ClientException: Request to /tournament/featured failed with status 404, uri=/tournament/featured
01:28 +559: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline home customization tip Can be dismissed via button
FormatException: Unexpected end of input (at offset 0)
01:30 +575: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline home customization tip Can be dismissed via going to settings
FormatException: Unexpected end of input (at offset 0)
FormatException: Unexpected end of input (at offset 0)
01:32 +594: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline NNUE files missing tip Shown if engine pref is latest sf and NNUE files are missing
FormatException: Unexpected end of input (at offset 0)
01:33 +610: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline NNUE files missing tip Not shown if nnue files are available
FormatException: Unexpected end of input (at offset 0)
01:34 +619: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline NNUE files missing tip Not shown if engine pref is sf16
FormatException: Unexpected end of input (at offset 0)
01:51 +762: All tests passed!
PS C:\Users\Chand\onedrive\documents\mobile> flutter test
Resolving dependencies...
Downloading packages...
_fe_analyzer_shared 93.0.0 (98.0.0 available)
_flutterfire_internals 1.3.67 (1.3.68 available)
analyzer 10.0.1 (12.0.0 available)
async 2.13.0 (2.13.1 available)
built_value 8.12.4 (8.12.5 available)
cupertino_icons 1.0.8 (1.0.9 available)
dart_style 3.1.7 (3.1.8 available)
firebase_core 4.5.0 (4.6.0 available)
firebase_core_platform_interface 6.0.2 (6.0.3 available)
firebase_core_web 3.5.0 (3.5.1 available)
firebase_crashlytics 5.0.8 (5.1.0 available)
firebase_crashlytics_platform_interface 3.8.18 (3.8.19 available)
firebase_messaging 16.1.2 (16.1.3 available)
firebase_messaging_platform_interface 4.7.7 (4.7.8 available)
firebase_messaging_web 4.1.3 (4.1.4 available)
flutter_markdown 0.7.7+1 (discontinued replaced by flutter_markdown_plus)
flutter_plugin_android_lifecycle 2.0.33 (2.0.34 available)
! flutter_secure_storage_linux 2.0.0 from git https://github.com/christianfl/flutter_secure_storage.git at b24fad in flutter_secure_storage_linux (overridden)
image_picker_android 0.8.13+14 (0.8.13+15 available)
meta 1.17.0 (1.18.2 available)
path_provider_android 2.2.22 (2.2.23 available)
quick_actions_android 1.0.27 (1.0.28 available)
shared_preferences 2.5.4 (2.5.5 available)
shared_preferences_android 2.4.21 (2.4.23 available)
shared_preferences_platform_interface 2.4.1 (2.4.2 available)
test 1.30.0 (1.31.0 available)
test_api 0.7.10 (0.7.11 available)
test_core 0.6.16 (0.6.17 available)
url_launcher_android 6.3.28 (6.3.29 available)
vector_math 2.2.0 (2.3.0 available)
win32 5.15.0 (6.0.0 available)
win32_registry 2.1.0 (3.0.2 available)
Got dependencies!
1 package is discontinued.
30 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.
00:10 +56: C:/Users/Chand/OneDrive/Documents/mobile/test/app_test.dart: App will delete a stored authUser on startup if one request return 401 (variant: TargetPlatform.iOS)
ClientException: Request to /tournament/featured failed with status 404, uri=/tournament/featured
01:03 +548: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline home customization tip Can be dismissed via button
FormatException: Unexpected end of input (at offset 0)
01:04 +560: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline home customization tip Can be dismissed via going to settings
FormatException: Unexpected end of input (at offset 0)
FormatException: Unexpected end of input (at offset 0)
01:05 +571: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline NNUE files missing tip Shown if engine pref is latest sf and NNUE files are missing
FormatException: Unexpected end of input (at offset 0)
01:06 +582: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline NNUE files missing tip Not shown if nnue files are available
FormatException: Unexpected end of input (at offset 0)
01:07 +592: C:/Users/Chand/OneDrive/Documents/mobile/test/view/home/home_tab_screen_test.dart: Home offline NNUE files missing tip Not shown if engine pref is sf16
FormatException: Unexpected end of input (at offset 0)
01:47 +762: All tests passed!
PS C:\Users-----\onedrive\documents\mobile>

@veloce
Copy link
Copy Markdown
Contributor

veloce commented Mar 28, 2026

Weird, it is the first time that happens.

Copy link
Copy Markdown
Contributor

@veloce veloce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@veloce veloce merged commit a14fbd1 into lichess-org:main Mar 28, 2026
1 of 2 checks passed
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.

2 participants