Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0 Roadmap #1274

Closed
18 of 33 tasks
silentcloud opened this issue May 8, 2017 · 10 comments
Closed
18 of 33 tasks

2.0 Roadmap #1274

silentcloud opened this issue May 8, 2017 · 10 comments

Comments

@silentcloud
Copy link
Contributor

silentcloud commented May 8, 2017

[email protected]

[email protected] 的主题是面向 c 端业务的轻量化与易用性,包括如下几个大的计划:

  • 去除社区的重量级依赖 moment.js 和 hammer.js, 对日期和手势相关的组件统一重写。#1565, #1217
  • 评估部分 rc-component 需要拆分移动版,不再与 antd 使用公共的底层依赖,因为 pc 组件�有键盘访问,鼠标事件等 mobile 用不到的特性,交互和功能也有一定冗余,而目前也没有做好模块化和按需加载。#1625
  • 简化配置,并做好脚手架与模板。#1575 #1557
  • 暂定目标是组件库 兼容 preact的一些实现� bug。

branch

- https://github.com/ant-design/ant-design-mobile/tree/master -> 2.x
- https://github.com/ant-design/ant-design-mobile/tree/1.x -> 1.x

1.x

2.0

交互视觉 && design

  • 动画方式、动画流畅度。
    • Tabs / Carousel / Accordion
  • 视觉需要按照钱包10.0.8样式做一个升级,同时校验底层样式库(designtokens)的合理性。
  • DesignLab:有部分 Mobile 相关的模板,可以在 DesignLab 生产和消费,这个优先级可以往后推 @silentcloud
  • 根据业务线反馈,优化组件,谨慎添加组件。
  • Axure 、Sketch 资源库对外发布

目标

  • 最大限度的“减小体积、减少依赖、提升性能”,做到真正好的支持面向 C 端的业务,给出包大小的优化、性能优化等的”明确数据对比“出来。
  • (能更有底气的) 对外宣传推广,提升影响力。(思考更进一步创新)

时间点

  • 1.x 估计还需要 3 个月 时间迭代。
  • 2.0 alpha / beta 版本需要迭代 1 - 1.5 个月, 2.0 正式版发布时间预计9月底
@Lyndon001
Copy link

Lyndon001 commented May 8, 2017

antd-mobile 石油

  • design token 优化:从强行适配多个 BU,聚焦到适配 支付宝 生态圈为核心,提供能力到其他 BU 即可
  • 组件能力:持续优化,谨慎添加。不是越多越好
  • 小程序:考虑兼容小程序的 UI

站点油桶

  • mobile.ant.design:
  • design.alipay.com:
  • 设计师平台:

工具挖油机

  • Ant Design Template:配到的 Axure 、Sketch 资源库

@warmhug warmhug changed the title 2.0 大致目标及任务 2.0 Roadmap May 11, 2017
@paranoidjk paranoidjk added this to the 2.0.0 milestone May 13, 2017
@warmhug warmhug changed the title 2.0 Roadmap 1.x - 2.0 Roadmap Jun 8, 2017
warmhug added a commit that referenced this issue Jun 13, 2017
warmhug added a commit that referenced this issue Jun 13, 2017
silentcloud added a commit that referenced this issue Jun 30, 2017
silentcloud added a commit that referenced this issue Jun 30, 2017
@paranoidjk
Copy link
Contributor

paranoidjk commented Jun 30, 2017

silentcloud added a commit that referenced this issue Jun 30, 2017
paranoidjk pushed a commit that referenced this issue Jun 30, 2017
paranoidjk pushed a commit that referenced this issue Jun 30, 2017
* add test for switch, ref #1274

* add issue url

* fix: test
@afc163
Copy link
Member

afc163 commented Jul 1, 2017

@paranoidjk
Copy link
Contributor

facebook/react#10090

silentcloud added a commit that referenced this issue Jul 3, 2017
warmhug added a commit that referenced this issue Jul 5, 2017
@paranoidjk paranoidjk changed the title 1.x - 2.0 Roadmap 2.0 Roadmap Jul 31, 2017
@paranoidjk
Copy link
Contributor

paranoidjk commented Jul 31, 2017

[email protected]

[email protected] 的主题是轻量化与易用性,包括如下几个大的计划:

  • 去除社区的重量级依赖 moment.js 和 hammer.js, 对日期和手势相关的组件统一重写。#1565, #1217
  • 评估部分 rc-component 需要拆分移动版,不再与 antd 使用公共的底层依赖,因为 pc 组件�有键盘访问,鼠标事件等 mobile 用不到的特性,交互和功能也有一定冗余,而目前也没有做好模块化和按需加载。#1625
  • 简化配置,并做好脚手架与模板。#1575 #1557
  • 暂定目标是组件库 兼容 preact的一些实现� bug。

@paranoidjk
Copy link
Contributor

关于 preact

  • 体积

  • 性能

    • 结合 @warmhug 的 benchmark, preact 貌似是不错的选择。
  • 兼容性,可维护性

    • 事实上 antd-mobile 也在配合口碑的需求做对preact的支持,这个过程中是发现不少问题的。

我的顾虑主要是两点:

  • 收益与风险同在: preact 没有通过 react 全部测试用例,潜在的坑很难确定有多少。
  • 是否可持续发展: react fiber preact 是否会跟进?比如前两天发布的 react 16 第一个 beta 版新增的 comoponentDidCatch 。长远来看,react 团队肯定是继续向前发展的,preact 的开发者就一个人,真的能做到一直保持 用极少的代码重写并实现 react 的大部分 api ? 我持怀疑态度。

@okoala
Copy link

okoala commented Jul 31, 2017

其实我在想,现在应用一般都是跑在一个容器内的,是否直接可以内置 React~

@paranoidjk
Copy link
Contributor

@okoala 这种方案也是有的,比如钱包就有全局的预埋离线资源包,是有内置 react 这些公共资源的。不过毕竟场景受限于容器,作为组件库还是需要尽力精简自身。

@ant-design ant-design deleted a comment from paranoidjk Aug 1, 2017
@szwork2013
Copy link

@paranoidjk antd-mobile 2 计划支持android终端的最低版本是多少?目前antd-mobile 2.0.0-alpha.9通过webpack3,或roadhg+dva等脚手架测试项目在android4.1,4.3的版本下均显示空白,但是访问直接访问
http://beta.mobile.ant.design/kitchen-sink没有问题,似乎autoprefixer没有起作用,autoprefixer: {
browsers: [
"iOS >= 8", "Android >= 4"
]

@benjycui
Copy link
Contributor

benjycui commented Sep 6, 2017

android 各版本系统占比 https://mtj.baidu.com/data/mobile/device

@warmhug warmhug closed this as completed Oct 20, 2017
lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
* add test for switch, ref ant-design#1274

* add issue url

* fix: test
lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment