profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/guoyunhe/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Guo Yunhe guoyunhe Alibaba Inc. Shenzhen, China https://guoyunhe.me/ Web developer. Free software supporter. Active openSUSE and KDE community member. Fuck GitHub.

guoyunhe/flexbin 93

Pure CSS, flexible and gapless image gallery layout like Google Images and 500px.com

ecom/ecom 0

customizable design system for ecommerce websites

guoyunhe/81-libretro 0

A port of the EightyOne ZX81 Emulator to libretro

guoyunhe/aaa_base 0

Files for the openSUSE package aaa_base

guoyunhe/appdata 0

Web service providing ratings, reviews and screenshots for AppStream

guoyunhe/bbbboooo 0

An interaction hardware project made for Bang & Olufsen.

guoyunhe/blastem 0

A github mirror for BlastEm - The fast and accurate Genesis emulator

guoyunhe/cachempty 0

Empty cache of icons, desktop themes and more. For GNU/Linux.

guoyunhe/ChaiLove-FloppyBirdLite 0

:bird: Flappy Bird for low spec devices in ChaiLove

guoyunhe/ChaiScript 0

Embedded Scripting Language Designed for C++

issue commentalibaba-fusion/next

[Select]列表选项较少时仍随机出现滚动条

@youluna 这个例子输入 ch 的时候会出现,有一定概率。

guoyunhe

comment created time in 5 days

issue commentalibaba-fusion/next

[Select]列表选项较少时仍随机出现滚动条

@bindoon 请问这个问题有跟进吗?

guoyunhe

comment created time in 6 days

issue commentalibaba-fusion/next

[Balloon]Tooltip 支持 needAdjust 自动调整位置

@youluna 我看到的效果并没有 https://riddle.alibaba-inc.com/riddles/29f8c1

image

guoyunhe

comment created time in 6 days

issue commentalibaba-fusion/next

[Select]鼠标悬浮选择和键盘选择应该互斥

主题里面,也没有办法为鼠标选择和键盘选择指定不同的样式:

image

guoyunhe

comment created time in 6 days

issue openedalibaba-fusion/next

[Select]鼠标悬浮选择和键盘选择应该互斥

Component

Select

Reproduction link

https://fusion.alibaba-inc.com/pc/component/select?themeid=2

Steps to reproduce

Fusion 的 Select 在键盘方向键选择的时候有一个视觉焦点(浅灰背景),鼠标也有一个视觉焦点(浅灰背景)。默认主题里,这两种样式完全一样,同时有两个一样的视觉焦点,用户反映比较困惑。

image

浏览器原生的 select,只会有一个视觉焦点。Ant Design 也是这么实现的。比较符合用户习惯。希望能向 Ant Design 的实现学习。

<!-- generated by alibaba-fusion-issue-helper. DO NOT REMOVE --> <!-- component: Select -->

created time in 6 days

issue commentalibaba-fusion/next

主题包不应该吧 @alifd/next 作为 dependencies

主要是觉得不合理。实际生产过程中,总会遇到版本不一致的问题。但是由于使用的组件不多,构建后实际运行效果是好的。

另外,这种强制控制,现实中并不会生效。假如我的 ice.js 项目是这样配置的:

├── @alifd/next@1.19.3 
└─┬ @alife/theme-nice@0.15.7
  └── @alifd/next@1.24.3

ice.js 在构建时,仍然会首选直接安装的版本。但是 tnpm install 的时候却安装了两份 @alifd/next 。从结果上看,只是浪费了安装软件包的时间。

guoyunhe

comment created time in 11 days

issue commentalibaba-fusion/next

主题包不应该吧 @alifd/next 作为 dependencies

像 react 和 react-dom 也需要版本一致才行,但也没有因此强制 react 是 react-dom 的依赖。peerDependencies 已经提供了安装时的警告,剩下的就应该靠用户自己来保证了。

guoyunhe

comment created time in 11 days

issue openedalibaba-fusion/next

主题包不应该吧 @alifd/next 作为 dependencies

Steps to reproduce

任意创建一个主题包,下载安装,查看 package.json image @alifd/next 已经是 peerDependencies 了,就不应该再作为 dependencies 了。

<!-- generated by alibaba-fusion-issue-helper. DO NOT REMOVE --> <!-- platform: main -->

created time in 11 days

issue openedopenSUSE/open-build-service

scroll bar is covered by a div containing buttons

Issue Description

You cannot scroll the table horizontally because the scroll bar is covered by a div containing buttons. (some times, especially when you have slow internet)

Expected Result

You should be able to click and drag the scrollbar.

How to Reproduce

  1. Go to https://build.opensuse.org/project/monitor/Emulators?blocked=0&building=0&dispatching=0&finished=0&scheduled=0&signing=0&succeeded=0
  2. Try to scroll the table horizontally

Further Information

I see the table is using some kind of JS library to calculate absolute position and size. But it cannot adjust it when the content loads very slow.

created time in 11 days

issue openedopenSUSE/open-build-service

Scrollbar is covered by buttons

Issue Description

You cannot scroll the table horizontally because the scroll bar is covered by a div containing buttons.

Expected Result

You should be able to click and drag the scrollbar.

How to Reproduce

  1. Go to https://build.opensuse.org/project/monitor/Emulators?blocked=0&building=0&dispatching=0&finished=0&scheduled=0&signing=0&succeeded=0
  2. Try to scroll the table horizontally

Further Information

  • A link to an OBS instance showing the issue
  • Exact server version (in case a private instance is used)

created time in 11 days

issue openedalibaba/ice

axios 版本过低

<!-- Fusion 组件相关问题反馈请移步:https://fusion.design/feedback -->

What is the current behavior? 发生了什么?

npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
$ tnpm list axios
└─┬ ice.js@1.18.5
  └─┬ build-plugin-ice-request@1.7.8
    └── axios@0.19.2

What is the expected behavior? 期望的结果是什么?

更新到 0.21.4

Any additional comments? 相关环境信息?

  • ice.js Version:1.18.5
  • build.json Configuration
  • Node Version:
  • Platform:

created time in 12 days

issue openedlibretro/dosbox-libretro

build failed in gcc11

[   32s] In file included from libretro/dosbox.cpp:38:
[   32s] ./include/setup.h:92:35: error: ISO C++17 does not allow dynamic exception specifications
[   32s]    92 |         Value& operator= (Hex in) throw(WrongType)                { return copy(Value(in));}
[   32s]       |                                   ^~~~~
[   32s] ./include/setup.h:93:35: error: ISO C++17 does not allow dynamic exception specifications
[   32s]    93 |         Value& operator= (int in) throw(WrongType)                { return copy(Value(in));}
[   32s]       |                                   ^~~~~
[   32s] ./include/setup.h:94:36: error: ISO C++17 does not allow dynamic exception specifications
[   32s]    94 |         Value& operator= (bool in) throw(WrongType)               { return copy(Value(in));}
[   32s]       |                                    ^~~~~
[   32s] ./include/setup.h:95:38: error: ISO C++17 does not allow dynamic exception specifications
[   32s]    95 |         Value& operator= (double in) throw(WrongType)             { return copy(Value(in));}
[   32s]       |                                      ^~~~~
[   32s] ./include/setup.h:96:50: error: ISO C++17 does not allow dynamic exception specifications
[   32s]    96 |         Value& operator= (std::string const& in) throw(WrongType) { return copy(Value(in));}
[   32s]       |                                                  ^~~~~
[   32s] ./include/setup.h:97:50: error: ISO C++17 does not allow dynamic exception specifications
[   32s]    97 |         Value& operator= (char const * const in) throw(WrongType) { return copy(Value(in));}
[   32s]       |                                                  ^~~~~
[   32s] ./include/setup.h:98:44: error: ISO C++17 does not allow dynamic exception specifications
[   32s]    98 |         Value& operator= (Value const& in) throw(WrongType)       { return copy(Value(in));}
[   32s]       |                                            ^~~~~
[   32s] ./include/setup.h:101:32: error: ISO C++17 does not allow dynamic exception specifications
[   32s]   101 |         operator bool () const throw(WrongType);
[   32s]       |                                ^~~~~
[   32s] ./include/setup.h:102:31: error: ISO C++17 does not allow dynamic exception specifications
[   32s]   102 |         operator Hex () const throw(WrongType);
[   32s]       |                               ^~~~~
[   32s] ./include/setup.h:103:31: error: ISO C++17 does not allow dynamic exception specifications
[   32s]   103 |         operator int () const throw(WrongType);
[   32s]       |                               ^~~~~
[   32s] ./include/setup.h:104:34: error: ISO C++17 does not allow dynamic exception specifications
[   32s]   104 |         operator double () const throw(WrongType);
[   32s]       |                                  ^~~~~
[   32s] ./include/setup.h:105:39: error: ISO C++17 does not allow dynamic exception specifications
[   32s]   105 |         operator char const* () const throw(WrongType);
[   32s]       |                                       ^~~~~
[   32s] ./include/setup.h:106:70: error: ISO C++17 does not allow dynamic exception specifications
[   32s]   106 |         bool SetValue(std::string const& in,Etype _type = V_CURRENT) throw(WrongType);
[   32s]       |                                                                      ^~~~~
[   32s] ./include/setup.h:111:38: error: ISO C++17 does not allow dynamic exception specifications
[   32s]   111 |         Value& copy(Value const& in) throw(WrongType);
[   32s]       |                                      ^~~~~
[   32s] make: *** [Makefile.libretro:234: libretro/dosbox.o] Error 1

created time in 13 days

issue openedalibaba/ice

browserlist chrome 49 无法 polyfill Promise.finally

<!-- Fusion 组件相关问题反馈请移步:https://fusion.design/feedback -->

What is the current behavior? 发生了什么?

<!-- If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. --> <!-- 清晰的描述下遇到的问题,建议附上错误截图 -->

我在 build.json 里加了:

{
  "browserslist": {
    "chrome": 49
  },
  ...
}

在构建出来的代码中确实有一些 polyfill 相关的代码,但实际在 Chrome 49 运行却会报错

image

What is the expected behavior? 期望的结果是什么?

正常运行

Any additional comments? 相关环境信息?

  • ice.js Version:1.18.5
  • build.json Configuration
  • Node Version:
  • Platform:

created time in 15 days

issue openedalibaba-fusion/next

iconfont.cn 导入图标显示异常

Steps to reproduce

在主题编辑模式,图标显示异常,线条粗细不均匀:

https://fusion.alibaba-inc.com/75046/design/style/icon?type=theme&themeid=19894

image

而发布后显示正常:

https://fusion.alibaba-inc.com/75046/component/icon?type=theme&themeid=19894

image

<!-- generated by alibaba-fusion-issue-helper. DO NOT REMOVE --> <!-- platform: main -->

created time in 20 days

issue openedalibaba-fusion/next

[Balloon]Tooltip 支持 needAdjust 自动调整位置

Component

Balloon

Feature Description

浏览器原生的 tooltip (通过 title 属性配置)就是支持自动调整位置的,总是能显示在可见区域。当 trigger 位于视图的边缘,应当能够去调整位置。

<!-- generated by alibaba-fusion-issue-helper. DO NOT REMOVE --> <!-- component: Balloon -->

created time in 22 days

issue openedalibaba-fusion/next

[Balloon]受控例子无法关闭

Component

Balloon

Reproduction link

https://fusion.alibaba-inc.com/pc/component/balloon?themeid=2#onCloseClick-container

Steps to reproduce

这个例子 onClose 没有更改状态为 false

<!-- generated by alibaba-fusion-issue-helper. DO NOT REMOVE --> <!-- component: Balloon -->

created time in 22 days

issue openedalibaba-fusion/next

[Input]core-js 版本过低

Component

Input

Steps to reproduce

在 ice-js 项目中,其他依赖都是 core-js 3.x 唯独 fusion 引入了一个 core-js 2.x。core-js 2.x 已经不维护且有很多问题,比如不能 polyfill Promise.finally()。希望能够升级依赖。

image

<!-- generated by alibaba-fusion-issue-helper. DO NOT REMOVE --> <!-- component: Input -->

created time in a month

PR opened remarkjs/react-markdown

fix: react-is version

Allow react-is dependency version to match react and react-dom version

<!-- Please check the needed checkboxes ([ ] -> [x]). Leave the comments as they are, they won’t show on GitHub. We are excited about pull requests, but please try to limit the scope, provide a general description of the changes, and remember, it’s up to you to convince us to land it. -->

Initial checklist

  • [ ] I read the support docs <!-- https://github.com/remarkjs/.github/blob/main/support.md -->
  • [ ] I read the contributing guide <!-- https://github.com/remarkjs/.github/blob/main/contributing.md -->
  • [ ] I agree to follow the code of conduct <!-- https://github.com/remarkjs/.github/blob/main/code-of-conduct.md -->
  • [ ] I searched issues and couldn’t find anything (or linked relevant results below) <!-- https://github.com/search?q=user%3Aremarkjs&type=Issues -->
  • [ ] If applicable, I’ve added docs and tests

Description of changes

TODO

<!--do not edit: pr-->

+1 -1

0 comment

1 changed file

pr created time in a month

push eventguoyunhe/react-markdown

Guo Yunhe

commit sha 41b3c4718698dc5fefa7207558b6f50b38237b3d

fix: react-is version Allow react-is dependency version to match react and react-dom version

view details

push time in a month

issue openedremarkjs/react-markdown

react-is version doesn't match react version

Initial checklist

Affected packages and versions

react-markdown@6.0.3

Link to runnable example

No response

Steps to reproduce

npm i -S react@16 react-dom@16 react-markdown
npm list react-is

In my project, I still use react 16.x. When installing react-markdown, it forces react-is@17.x. It works fine but it won't be deduped with other react-is@16.x. So in my build result, it contains two version of react-is.

Expected behavior

It should allow react-is 16.x and 17.x

Actual behavior

It only allows react-is 17.x

Runtime

Node v14

Package manager

npm v7

OS

macOS

Build and bundle tools

Webpack

created time in a month

created repositoryguoyunhe/ice-fusion-tree-shaking

测试 ice-fusion 的 tree shaking

created time in a month

startedOriR/react-docgen-markdown-renderer

started time in a month

issue commenttwbs/icons

Request some "loading" icons

Same here, we need some loading icons!

codesinging

comment created time in a month

issue commentalibaba-fusion/next

[Select]Dialog 中的 Select 下拉菜单不会跟随滚动

@bindoon 这个 followTrigger 选项不能解决容器有 overflow: hidden 的场景

guoyunhe

comment created time in a month

issue openedalibaba-fusion/next

[Shell]定制左侧导航 mini-width 不能适应 Nav 宽度

Component

Shell

Steps to reproduce

在主题编辑中,如果减少 Shell 左侧导航收起时的宽度(仅图标),内部 Nav 的宽度并不会变化,导致图标无法居中对齐:

image

增大宽度,也会对不齐:

image

<!-- generated by alibaba-fusion-issue-helper. DO NOT REMOVE --> <!-- component: Shell -->

created time in a month

PR opened alibaba-fusion/next

补充 followTrigger 类型
+5 -0

0 comment

1 changed file

pr created time in a month

push eventguoyunhe/next

Guo Yunhe

commit sha 415d0247bae69032d1d25ea837cfc8aedcfb9190

Update index.d.ts

view details

push time in a month

issue commentalibaba-fusion/next

[Select]Dialog 中的 Select 下拉菜单不会跟随滚动

这都要手动启用的吗?难道有用户不想它随着 Select 滚动吗?

guoyunhe

comment created time in a month