This website requires JavaScript.
94138ba7f4
test(e2e): mobile 视口测试 (375x812) + 扩展登录态路由
dev2
peima
2026-08-03 02:01:17 +08:00
33b54fe454
feat(e2e): autologin patch (dev) + 登录态路由测试脚本 - util_web devAutologin: localStorage[_test_token]=user|pass -> 登录API写Hive+dispatch currentUser - 延迟3s执行等 Flutter/Hive ready (否则 httpPost hang) - main.dart 调用 devAutologin - run_auth.js: 注入token遍历登录态路由 - 已验证: autologin API 200 OK
peima
2026-08-03 01:50:12 +08:00
901e42a41b
fix(runtime): onGenerateRoute pathElements 越界 RangeError - buy-service/renew-minioffice 加长度检查 (pathElements.length >= 4/3) - 根因: Flutter web 深链接渐进式路径解析, onGenerateRoute 被调用多次, pathElements 递增 ([,buy-service] -> [,buy-service,1] -> 完整), 前几次路径短但 pathElements[1]已匹配 -> int.parse([2])/[3] 越界 - 直接访问/刷新 /buy-service/x/y, /renew-minioffice/x 时崩溃 - 恢复 buy_service 实验代码 (data 校验 + mounted 保留)
peima
2026-08-02 00:13:33 +08:00
af8934fe7f
diag: FlutterError.onError 加 CK_CTX (widget 上下文) 定位 RangeError 来源
peima
2026-08-01 23:35:34 +08:00
048c5a9ff4
fix(runtime): contact-stores initState httpGet.then setState 加 mounted 保护 (dispose 后 setState)
peima
2026-08-01 23:29:08 +08:00
1d4028f486
fix(compile): buy_service value cast Map<String,dynamic>.from; gitignore e2e node_modules
peima
2026-08-01 23:26:14 +08:00
944493a39b
fix(runtime): e2e 发现的 3 个 bug 修复 - download: desktop_download_apps SingleChildScrollView 加 primary:true (Scrollbar 缺 ScrollPosition) - contact-stores: checkDomainAvailability async 后 setState 加 mounted 保护 (dispose 后 setState) - buy-service: _loadData 加 data 结构校验 + mounted 保护 (API 400 无效参数时 data 为错误结构 -> RangeError)
peima
2026-08-01 23:20:25 +08:00
6d08db54a5
chore: 清理 checkout mainBody 的 'aaa:' 调试 print
peima
2026-08-01 02:38:15 +08:00
3f9256491d
fix(runtime): checkout table_token(store.state.tableNumber!) -> tableNumber ?? ''. 普通网购用户无餐桌号(null)时崩溃. desktop L309/mobile L284. Fixes checkout/310 Unexpected null value
peima
2026-08-01 02:36:01 +08:00
95e40f31cc
fix(runtime): 同类 nullfix 脚本误加 ! 全库修复 - getCartInfoByBusiness 返回可空但末尾误加 !, 后接 if(x!=null) 判空. 影响: shopping_cart_bar/shopping_cart_widget/desktop_shopping_cart_widget(可空目标去!); shop_products/mobile shop(非空声明改 CartInfo?)
peima
2026-08-01 02:27:50 +08:00
639d2033f0
fix(runtime): add_remove_button cartInfo 误加 ! (nullfix 脚本) -> 去掉. getCartInfoByBusiness 返回可空, 购物车空时 ! 崩溃 -> AddRemoveButton build L197 Unexpected null value. 修复 /shop 商品列表和 /checkout lineItem 的 +/- 按钮崩溃
peima
2026-08-01 02:22:26 +08:00
4da7fb32de
wip: checkout mainBody diagnostic print (CK_DEBUG) + shippingTime null-safe
peima
2026-08-01 02:14:52 +08:00
147ab866e1
fix(runtime): late top-level/instance vars used with ??= (mediaQuery/screenHeight/etc) -> nullable. Fixes LateInitializationError on /me /shop /product-detail
peima
2026-08-01 02:06:07 +08:00
0526baa3c8
fix(runtime): 37 late fields with == null checks were wrongly migrated -> nullable. Fixes LateInitializationError crashes on page navigation (shop/checkout/comment/data pages)
peima
2026-08-01 01:58:36 +08:00
b49fb59db4
fix(home): Scrollbar+SingleChildScrollView primary:true (no ScrollPosition runtime error); docs: runtime issues in TODO §9
peima
2026-08-01 01:53:05 +08:00
9608e8b9fb
docs: WEB BUILD SUCCEEDS. build_web.sh helper, TODO status update. lib 6 (util_io deferred), web 0 errors
peima
2026-08-01 01:29:50 +08:00
5ccc06b0f7
phase3: WEB BUILD SUCCEEDS. cross_file override (0.3.4+2, Dart3-safe), parabolic/popup _margin EdgeInsets, remaining nullable fixes. lib 12->6(util_io deferred), web build OK with --no-tree-shake-icons
peima
2026-08-01 01:27:51 +08:00
7c69197396
phase3: nullable fields/methods, casts, ?.call, pinput/YoutubePlayer v5, buttonColor, dead-code removal. 72->16
peima
2026-08-01 01:21:37 +08:00
137eca4c69
phase3: nullable fields/methods, casts, ?.call, condition fixes across 11 files. 108->72
peima
2026-08-01 01:16:25 +08:00
b8b70a87f9
docs: add TODO.md for resuming Dart 3 null-safety migration (118->0 remaining)
peima
2026-07-31 15:10:16 +08:00
3053246bb8
phase3: mobile/shop clean (categoryDescHeight double, FooterBuilder LoadStatus?, nullable fixes); edit_address .buttonColor->colorScheme.primary. 131->118
peima
2026-07-31 15:09:29 +08:00
5cb5ef6396
phase3: checkout files clean (nullable fields, ternary/concat/condition fixes). 142->131
peima
2026-07-31 15:05:08 +08:00
a6d5b9cd2d
phase3: fix attribute widgets (qty/check/radio) - prefix-! bug, multi-line toUpperCase, required conditions. ~30 fixed
peima
2026-07-31 15:00:04 +08:00
18abf4eb82
phase3: FIX arg-bang regex (missing \] in char class skipped subscripts). 235->183
peima
2026-07-31 14:57:23 +08:00
70076d71c1
phase3: shop.dart NotificationListener return bool
peima
2026-07-31 14:54:32 +08:00
6487c0db54
phase3: pinput v5, late field fix, carousel nullable, badges badgeAnimation param. 251->242
peima
2026-07-31 14:53:58 +08:00
ab06fadea8
phase3: @required->required keyword, nullable for-in iterator fix. 309->251
peima
2026-07-31 14:49:02 +08:00
1aa7cf3477
phase3: targeted local-var nullable (strict type) + nullfix cascade. 379->309
peima
2026-07-26 10:47:55 +08:00
3ed58e1596
phase3: precise nullable-condition fixes (if(x)->if(x==true), analyzer-driven). 399->379
peima
2026-07-26 10:46:26 +08:00
97e4908126
phase3: BreadCrumb.route nullable (+stable nullfix re-run). 440->399
peima
2026-07-26 10:44:45 +08:00
154d696e70
phase3: improve arg-bang handler (allow ! in chains, ; terminator). 574->440
peima
2026-07-26 10:41:02 +08:00
36f36b815f
phase3: youtube_player_iframe 2.x->5.x migration (fromVideoId)
peima
2026-07-26 01:11:47 +08:00
6d789c7b19
phase3: badges 2.x->3.x migration (badgeStyle/animation), SearchBar/onPrimary fixes. 596->580
peima
2026-07-26 01:10:45 +08:00
cdaaa63d67
phase3: stabilize nullfix.py (disable risky local-nullable handler)
peima
2026-07-26 00:15:38 +08:00
f1d7dbb423
phase3: fix Scrollbar isAlwaysShown->thumbVisibility, badges hide Badge. 621->605
peima
2026-07-25 18:17:33 +08:00
a76b872966
phase3: nullfix arg-bang handler (argument_type/invalid_assignment). 872 -> 621
peima
2026-07-25 18:16:40 +08:00
c21ccbd54d
phase3: nullfix field-formal field-nullable handler. 907 -> 872
peima
2026-07-25 18:14:55 +08:00
fce670664b
phase3: nullfix.py batch script — bang/late/param-nullable
peima
2026-07-25 18:13:01 +08:00
8f3d3509ea
phase3(wip): desktop_checkout field null-safety + build local-shadow
peima
2026-07-25 02:53:03 +08:00
e2f0d37edd
phase3: generated l10n/messages_all, events, actions, dialog null-safe
peima
2026-07-24 20:30:00 +08:00
1f85ae1e63
phase3: bulk null-safety fixes
peima
2026-07-24 20:27:16 +08:00
e2f815e141
phase3: util_web + shop_scroll (custom scroll) null-safe; global Key? param fix
peima
2026-07-24 20:24:57 +08:00
f831fd1405
phase3: util_web null-safe (showImage, WebImagePicker, ImageInfo)
peima
2026-07-24 20:17:07 +08:00
7e8182259f
phase3: utils.dart null-safe (cart logic + dio5 error handling)
peima
2026-07-24 20:13:07 +08:00
88dd90ed7c
phase3(critical-path): home page chain null-safe
peima
2026-07-24 13:42:03 +08:00
ae4c4046c3
phase3(critical-path): store + main + routes + nav components null-safe
peima
2026-07-24 13:37:04 +08:00
cef00db911
phase3: null-safe store/ (AppState fields + reducers nullable)
peima
2026-07-24 13:31:34 +08:00
4f9aa4f683
phase3(foundation): http_util dio5 migration + null-safe models
peima
2026-07-24 03:45:01 +08:00
1a578c925d
feat: Phase 2 — upgrade deps to null-safe, replace deprecated packages
peima
2026-07-24 03:10:12 +08:00
7ffcc848d0
feat: Phase 1 — remove Stripe, switch to e-Transfer
peima
2026-07-24 02:47:13 +08:00
909fdf46d6
final2
dev
peima
2026-07-12 04:34:44 +08:00
e7ce0f7bae
final
peima
2026-07-12 04:33:48 +08:00
f8a90ad305
updated new flutter version
master
peima
2023-12-15 21:34:23 +08:00
bcf21d90ac
updated new flutter version
peima
2022-06-30 03:47:47 -04:00
f504e213a0
initial commit to gitea
peima
2022-03-10 00:47:26 -05:00
808ffa3211
backup. before shop update
peima
2021-08-31 13:28:33 -04:00
c378a6203c
backup.
peima
2020-12-28 00:19:04 -05:00
86c845b49b
backup.
peima
2020-12-23 00:43:59 -05:00
0fd880f57b
backup
Pei desktop
2020-12-10 22:58:41 -05:00
2df672fe40
Add packages.
peima
2020-12-10 22:47:04 -05:00
4a24b1d323
backup
Pei desktop
2020-12-02 02:24:00 -05:00
6d3905ea48
Create project
peima
2020-11-25 13:19:15 -05:00