Jeff Cai

Results 9 comments of Jeff Cai

Hi @kagaya85 , Thanks for your reply. Further check on the source shows that it's PKG `yaml.v3`'s job to deal with `true/false` convertion to bool type in YAML format. If...

Dirty fix snippet: ```go // V2.1.1 // Kratos的配置解码器其实有点问题 // 提了Issue,官方也认了。自己动手修复一下 // https://github.com/go-kratos/kratos/issues/1565 func CustomResolver(input map[string]interface{}) error { mapper := func(name string) string { args := strings.SplitN(strings.TrimSpace(name), ":", 2) //nolint:gomnd if...

Yes, I just encounter simular issue today and finally figure out another way instead of pre-compile the soundfont into code. When you use webpack, the `MIDI` object is not registered...

想了一下,关于问题2,可能明白原来设计思路。毕竟新建,其实可以选其他模块来做新建,不是说选了模块A,就只能创建模块A下的用例,只不过你选了模块A,默认帮你填好分类到模块A下。同理,而且更强烈的,是导入。导入更可能是跨模块的。 但是,还是建议移动过去,连同导入,会显得更合理。毕竟直觉上:左侧,是目录;右侧,是用例清单。

更新了我心目中的样子,不是特别好看,不过逻辑比较符合直觉。 可以随时关闭这个issue,或者,如果真决定要改,就给个正式编号留着tracking

个人意见,不过还是你们自己决定。 1. 不太赞同降噪这个说法。因为,这个二级导航其实是**重要的内容**,特别是点了一级菜单,看到纷繁复杂的内容(其实不是我要的tab),这个时候,我非常需要的是这个【菜单入口内容】,而不是其他任何呈现。我就是找不到这个内容。只有这个导航(tab)点了之后,用户已经找到地方了,作用就没那么大了。 怎么解决好我也不知道。 2. 布局表意个人感觉改了更别扭。贴个隔壁PingCode的,我觉得更顺眼。 - 列表顶部,能找到新建,导入等主操作按钮,而不是任何其他block,符合用户习惯和心智。 - 复杂的高级筛选和排序,是默认折叠起来的,Hover才出来。 - PingCode他们的编辑/新增/查看,都是弹窗overlay,完成后无缝回到列表原来状态;MS的新增/编辑是完全换页,最坑爹的是,我创建完毕了,原来的选择状态就丢了。譬如我原来选A模块,创建完毕,又要再选一次。查看则是抽屉,显示区域可以自己调整,拉大了基本就是弹窗,一半状态感觉有利于快速切不同case查看。

looks much better, thanks, close as planned in future version.

1. You can use a `Middleware` to set the bot instance to `Context`, then get it back from context later. 2. I believe you can safely just cast the API...