iuap-design / bee.tinper.org Goto Github PK
View Code? Open in Web Editor NEWbee components Official Website - bee组件库文档官网
Home Page: http://bee.tinper.org/
License: MIT License
bee components Official Website - bee组件库文档官网
Home Page: http://bee.tinper.org/
License: MIT License
# | 组件名称 | 已完成功能描述 | 进度 | 负责人 | 版本 | 备注 |
---|---|---|---|---|---|---|
1 | bee-transfer 穿梭框 | 实现左右框item穿梭,items的全选部分选,示例情况完成,文档完成 | 100% | ahua52 | 0.0.3 | 补充测试用例和完善拖拽功能 |
2 | bee-timeline 时间轴 | 实现 系列的信息按时间排序的时候或者做个可视化的连接,记录进程,示例情况完成,文档完成 | 100% | ahua52 | 0.0.4 | 补充测试用例 |
3 | bee-step 步骤条 | 实现复杂任务分步骤展示,记录进程,示例情况完成,文档完成 | 100% | ahua52 | 0.0.4 | 补充测试用例 |
4 | bee-city-select 城市地区选择 | 实现**地区的选择,示例情况完成,文档完成 | 100% | ahua52 | 0.0.3 | 补充测试用例 |
# | 组件名称 | 已完成功能描述 | 进度 | 负责人 | 版本 | 备注 |
---|---|---|---|---|---|---|
1 | bee-layout 布局 | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
2 | bee-button 按钮 | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
3 | bee-panel 面板 | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
4 | bee-transition | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
5 | bee-animate | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
6 | tinper-bee-core | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
7 | bee-badge 徽章 | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
8 | bee-navbar 导航 | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
9 | bee-form-control 输入框 | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
10 | bee-input-group 输入框组 | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
11 | bee-form-group 表单组 | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
12 | bee-radio-group 单选框 | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
13 | bee-overlay | 升级prop-type与react | 100% | ahua52 | 1.0.0 | - |
统一把文档标题改成h2
按照我们目前的官网示例系统来看,还不是很好,主要是方便性,比如说,我在使用的过程中,打开http://bee.tinper.org/bee-table/ 表格组件文档,网速慢的话,会发现demo没有加载,这个我是能理解的,等一下就可以一个个蹦出来。但是我想看下实现的表格里面都有哪些示例.
优化我们的代码,我们作为大前端为别人提供代码的时候,一定要讲究代码风格,对于分公司这类的前端都不是专业的前端,复制的代码会一直那样去复制去做,不会讲究代码风格,可能一个无状态组件会一直那么用。
文档API有个别的错误,比如table的api,里面有的markdown都写错了,需要自查,不然太让人笑话了。
文档的样式是否找专业的UI UE去重新设计,目前的太丑了,在外面听到过这样的评价。
我们目前的demo实现的一些功能代码,有点反人类,就拿table来说,我要实现表格checkbox选中这样的功能,我发现我要自己去实现很多代码,一顿复制粘贴,把太多的状态暴露在外面了,这样对于小白来说简直是灾难,我之前组件用的少,直到今天,我发现我竟然不会用,但是我看antd的那种实现,就很简单,举个例子:
const rowSelection = {
onChange: (selectedRowKeys, selectedRows) => {
console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
},
getCheckboxProps: record => ({
disabled: record.name === 'Disabled User', // Column configuration not to be checked
name: record.name,
}),
};
ReactDOM.render(
<Table rowSelection={rowSelection} columns={columns} dataSource={data} />
, mountNode);
https://ant.design/components/table-cn/#components-table-demo-row-selection-and-operation
上面是antd实现的选中,非常容易我就实现了
再看一下我们的:
https://github.com/tinper-bee/bee-table/blob/master/demo/demolist/Demo12.js
简直是灾难!!!关键是,我点击了例子,发现console里并没有什么输出,我都不知道数据哪来?
来看我们看看antd的选择:
对于这边的用户来讲,用咱们的组件,就是图个快速开发,配合tinper-devtool工具去使用,但是最后被组件弄的精疲力尽,实际上这次出差不少问题是我们没有在网站说清楚,很多都是凭着经验去解决。
通过到开发现场去,才会知道开发的水平,不能按照我们的技术水平去要求他们,这是值得我们注意的,也就是说我们的东西越简单越能接地气,不然那么高深牛逼的东西,对于小白前端来说,不知所云啊~~~
几点建议,莫怪,为了我们好,良药苦口~😆
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.