智能家居数据库设计_设计更智能的数据表

智能家居数据库设计

重点 (Top highlight)

Data tables are hard. There are many different ways to think about them. So, naturally, the first step would be to figure out what your users need.

数据表很难。 有许多不同的方式来考虑它们。 因此,自然地,第一步就是弄清楚用户的需求。

  • Do they want to see as much information as possible?

    他们想看到尽可能多的信息吗?
  • Do they want to compare the information?

    他们是否想比较信息?
  • Do they want to execute actions quickly?

    他们想快速执行动作吗?
  • Do they want to view only and export the table to Excel?

    他们是否只想查看并将表格导出到Excel?

Depending on that you should think, what functionality and design choices make these tasks easiest to do.

根据您的想法,什么功能和设计选择会使这些任务最容易完成。

视觉效果 (Visuals)

Table design should be as minimalistic as possible. Adding elements without reason will increase eye strain and reduce readability. After all, we are designing a tool.

表设计应尽可能简化。 无故添加元素会增加眼睛疲劳并降低可读性。 毕竟,我们正在设计工具。

色彩 (Colors)

Data tables should have as few colors as possible. You can specify one for negative and positive trends and the header. This way elements that need to be seen can be seen, but they won’t add excessive clutter.

数据表应具有尽可能少的颜色。 您可以为负趋势和正趋势以及页眉指定一个。 这样就可以看到需要查看的元素,但不会增加过多的混乱。

Font and border colors should not be black. Opt for dark grays for fonts and light grays for borders as they reduce eye strain and won’t make the table look as daunting.

字体和边框颜色不能为黑色。 为字体选择深灰色,为边框选择浅灰色,因为它们可以减少眼睛疲劳,并且不会使桌子看起来令人生畏。

Image for post

分频器 (Dividers)

Having dividers is not always necessary. Add them if extra clarity is required.

不一定总是需要分隔线。 如果需要额外的说明,请添加它们。

It’s very popular to have only horizontal dividers. It leaves a clean, relatively spacious look. Opt for vertical dividers, when you have many columns and they get too close together.

只有水平分隔线非常流行。 留下干净,相对宽敞的外观。 当您有很多列并且它们之间的距离太近时,请选择垂直分隔线。

With smaller, less dynamic tables, you can leave out all dividers and get a striking look. This, of course, is more for beauty projects rather than tools.

对于较小的,动态性较小的表,您可以省去所有分隔线,并获得醒目的外观。 当然,这更多是针对美容项目而非工具。

Image for post
No dividers (table by UI prep)
无分隔线(按用户界面准备)

If it becomes hard to follow rows (or following them is what users do a lot) you can always separate them with either borders or alternating colors. Making your borders gray will reduce eye strain significantly. Also, if your tables don’t have many rows, alternating colors might make people think that highlighted rows have special meaning.

如果很难跟随行(或者跟随行是用户经常做的事情),则始终可以使用边框或交替的颜色来分隔行。 使边框变灰会大大减少眼睛疲劳。 另外,如果表中没有很多行,则交替显示的颜色可能会使人们认为突出显示的行具有特殊含义。

Image for post
Horizontal borders (table by UI prep)
水平边框(按用户界面准备的表格)
Image for post
Alternating colors (table by UI prep)
交替的颜色(按用户界面准备的表格)

One less conventional way to separate rows is by highlighting rows with hover effects. This will look great, but it won’t bode well with mobile users as they don’t have a mouse to hover with and power users who might want to use their cursor for other purposes.

一种不常见的分隔行的方法是突出显示具有悬停效果的行。 这看起来不错,但对于移动用户而言并没有好兆头,因为他们没有鼠标悬停在上面,也无法吸引可能希望将光标用于其他目的的用户。

空格,行高 (White space, line-height)

Adding white space will increase readability and most users are happy to scroll more for that perk.

添加空白将提高可读性,并且大多数用户都乐于为该特权滚动更多内容。

Lower line-height means having more info on the screen at the cost of readability. Too long line-height will make it hard to compare rows. If you are feeling extra fancy, you can have buttons that change the line-height to accommodate everyone’s needs.

较低的行高意味着以可读性为代价在屏幕上显示更多信息。 行高过高将使比较行变得困难。 如果您感觉特别花哨,可以使用一些按钮来更改行高,以适应每个人的需求。

Image for post
Table by UI prep
按用户界面准备表格

版式 (Typography)

Alignment

对准

Generally, you should align text left and numbers right. This way it’s easier to differentiate between the two and numbers are easier to compare. In addition to that, you should align the table headers according to their column data as that makes your table more structural.

通常,您应该将文本左对齐,将数字右对齐。 这样,更容易区分两者,并且更容易比较数字。 除此之外,还应根据表头的列数据对齐表头,因为这会使表更具结构性。

When your table has cells with multiple lines of content (eg subtitle or description) you should align cell content to top. Otherwise, you may have cells where the text starts from the second line, relative to cells with multiple lines. This will reduce the structure of the table.

如果表格中的单元格包含多行内容(例如,字幕或说明),则应将单元格内容对齐到顶部。 否则,相对于多行单元格,您可能会有单元格从第二行开始。 这将减少表的结构。

Tabular numbers

表格编号

Tabular numbers are designed so that every digit takes up the same amount of space. This is very useful in table design as tabular numbers are very easy to compare.

表格编号的设计目的是使每个数字占用相同的空间。 这在表格设计中非常有用,因为表格数字很容易比较。

Image for post

Digits like dates should be formatted in a way that they are always the same length. For example instead of 16/4/2020 you use 16/04/2020.

像日期这样的数字应采用始终相同的长度进行格式化。 例如,您使用16/04/2020而不是16/4/2020。

功能性 (Functionality)

Often you don’t need to add dozens of features to your table. Tables are already filled with information and unnecessary features add only clutter.

通常,您不需要在表中添加许多功能。 表格已经充满了信息,不必要的功能只会增加混乱。

When choosing what functionality to add, you must know what the end-users expertise is. Ask yourself if they can manage all the data manipulation tools you want to add.

选择要添加的功能时,您必须知道最终用户的专业知识。 询问自己是否可以管理您要添加的所有数据处理工具。

In addition to that, important functionality must be easy to access. For example, having buttons at the end of each long row might prove to require a lot of cognitive effort as users will have to follow the row accurately.

除此之外,重要的功能必须易于访问。 例如,在每个长行的末尾都有按钮可能会证明需要大量的认知努力,因为用户将必须准确地跟随行。

Here are some examples of functions to spark creativity:

以下是一些激发创造力的函数示例:

排序和过滤 (Sorting and filtering)

Sorting and filtering are almost always justified. Unless you are making a fancy table for less than 10 items, sorting and filtering will simplify almost any task.

排序和过滤几乎总是合理的。 除非您制作的花式表少于10个,否则排序和过滤将简化几乎所有任务。

Sorting should present users with logical ordering rules — alphabetical, edit time, insert time, or any other that makes sense in their specific use case.

排序应为用户提供逻辑排序规则-字母顺序,编辑时间,插入时间,或在其特定用例中有意义的任何其他规则。

You can implement sorting in two ways. First would be to put a button above the table which will open up a modal where the user inputs their sorting logic. The second one would be to have sorting buttons by the headers of columns that support sorting. Additionally, you can add a hover effect that will show an explanation.

您可以通过两种方式实现排序。 首先是在表格上方放置一个按钮,这将打开一个模式,用户可以在其中输入其排序逻辑。 第二个是通过支持排序的列标题设置排序按钮。 此外,您可以添加将显示说明的悬停效果。

Image for post
Table by Virgil Pana
Virgil Pana的桌子

可调整大小的列 (Resizeable columns)

Resizeable columns are good if the length of data in the same column may vary. Other than that, with more static tables, it may simply complicate things for no big reason.

如果同一列中的数据长度可能会变化,则可调整大小的列会很好。 除此之外,有了更多的静态表,它可能没有什么大的理由就使事情复杂化。

可自定义的列 (Customizable columns)

If comparing data in the same row is important, being able to reorder the columns or hide unnecessary ones will be a powerful tool.

如果比较同一行中的数据很重要,那么能够对列进行重新排序或隐藏不必要的列将是一个强大的工具。

Image for post
Table by Andrew Coyle, UX collective
UX集体的桌子由Andrew Coyle提供
Image for post
Table by Virgil Pana
Virgil Pana的桌子

If it seems unreasonable to invest time and money into implementing this, then make sure to pay close attention to the order of your columns.

如果花费时间和金钱来实现此目标似乎不合理,则请确保密切注意各列的顺序。

可扩展行 (Expandable rows)

This feature can add a lot of dimension to your tables. Instead of having more columns you can show elements in greater detail in a modal window or an accordion. This way users can get important data quickly but can dig deeper if required.

此功能可以为表增加很多维度。 您可以在模式窗口或手风琴中更详细地显示元素,而不必增加列数。 这样,用户可以快速获取重要数据,但需要时可以进行更深入的挖掘。

Image for post
Image for post
Tables by Andrew Coyle, UX collective
桌子,UX集体,Andrew Coyle

You can also hide buttons to many different functionalities into these expansions.

您还可以将具有许多不同功能的按钮隐藏到这些扩展中。

悬停动作 (Hover actions)

Common actions, such as delete or edit, should be made easily accessible. One way is to present them while the user is hovering over a row. This will reduce visual noise quite a bit, but newer users might have trouble finding them at first.

常用操作(例如删除或编辑)应易于访问。 一种方法是在用户将鼠标悬停在一行上时显示它们。 这将大大减少视觉噪音,但是新用户可能一开始会遇到麻烦。

Image for post
Table by Andrew Coyle, UX Collective
UX集体的表Andrew Coyle

大量动作 (Bulk actions)

These common actions should also be made possible to do on multiple rows at once. Often this implementation is the only one required as you can do single line actions this way too.

这些通用操作也应该可以一次在多行上执行。 通常,此实现是唯一需要的一种,因为您也可以通过这种方式执行单行操作。

Image for post
Bulk actions (table by UI prep)
批量操作(按用户界面准备的表格)

单元格编辑 (Cell editing)

Cell editing is a complex topic of its own. There are numerous ways to tackle the problem and different use-cases might benefit from different options.

单元格编辑本身就是一个复杂的主题。 解决问题的方法有很多,不同的用例可能会从不同的选择中受益。

Here are some ways to add cell editing to your table:

以下是向表中添加单元格编辑的一些方法:

Having an input field in every cell

每个单元格中都有一个输入字段

Good for complex tables, that requires a huge amount of flexibility and freedom to edit.

适用于复杂的表格,需要大量的灵活性和编辑自由。

Image for post
Table by Havana Nguyen
由哈瓦那阮表

On the other hand, this will make it easier for your customers to make mistakes. It also causes issues with UX as users may not know whether the inserted data got saved or not.

另一方面,这将使您的客户更容易犯错误。 由于用户可能不知道是否保存了插入的数据,这也会导致UX问题。

Edit button by editable cells

按可编辑单元格的“编辑”按钮

In this solution, users have to make more clicks, but it’s easier to implement and general confusion is much lower — most people are already familiar with related iconography.

在此解决方案中,用户必须增加点击次数,但实现起来更容易,而且总的混乱程度也要低得多-大多数人已经熟悉相关的图标。

Image for post
Table by Havana Nguyen
由哈瓦那阮表

If overused, it can add a lot of clutter. There is already very little space and heaps of data. To counter that you could use hover effects, but then you can’t distinguish editable cells by a glance.

如果使用过度,可能会增加很多混乱。 空间和数据堆已经很少了。 为了解决这个问题,您可以使用悬停效果,但是一眼便无法区分可编辑的单元格。

Edit button by rows

按行编辑按钮

This way you can open up a modal (or something even fancier) for each row and fill in the data in an editable cell on that row. To reduce visual noise you can hide the buttons behind hover effects.

这样,您可以为每行打开一个模态(甚至更高级),并在该行的可编辑单元格中填写数据。 为了减少视觉噪音,您可以将按钮隐藏在悬停效果后面。

Image for post
Table by Josh Williams
乔什·威廉姆斯的桌子

I certainly didn’t cover everything there is, but I hope the most important thing came through — Keep in mind what the end-user is used to, what they want to do with your table and how these tasks would be easiest to complete. To make your tables shine they must be as concise as possible rocking only features that are needed. Last, but not least I want to thank Uku Pattak, Mirko Känd, Lydia Petrova and eAgronom team for their advice!

我当然没有介绍所有内容,但是我希望最重要的事情发生了-记住最终用户习惯了什么,他们想对您的表做什么以及如何最轻松地完成这些任务。 为了使您的桌子发光,它们必须尽可能简洁,仅使所需的功能摇摆不定。 最后,但同样重要的是 ,我要感谢Uku Pattak , MirkoKänd , Lydia Petrova和eAgronom团队的建议!

翻译自: https://uxdesign.cc/designing-smarter-data-tables-8cb15b5371a8

智能家居数据库设计

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/275180.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

可能是全网首个前端源码共读活动,诚邀你加入一起学习

大家好,我是若川。众所周知,从8月份开始,我组织了源码共读活动,每周学习200行左右的源码,到现在持续了3个多月,坚持答疑解惑。帮助了不少人,还是挺开心的。另外,涌现了很多优秀的读者…

线段树专辑——pku 3667 Hotel

http://poj.org/problem?id3667 哈哈&#xff0c;经典中的经典题啊。利用线段树求最大连续空闲区间&#xff0c;并返回空闲区间的起点坐标。 View Code 1 #include<iostream> 2 #include<string> 3 #include<algorithm> 4 using namespace std; 5 6 …

houseparty不流畅_重新设计Houseparty –用户体验案例研究

houseparty不流畅Houseparty has become very popular during the COVID-19 period because it helps you connect with others in a fun way. The concept is simple, you open the app and jump on a video call with your friends. You can even play online games with the…

你不知道的 Node.js 工具函数

从类型判断说起在 JavaScript 中&#xff0c;进行变量的类型校验是一个非常令人头疼的事&#xff0c;如果只是简单的使用 typeof 会到各种各样的问题。举几个简单的&#x1f330;&#xff1a;console.log(typeof null) // object console.log(typeof new Array) // object cons…

Java应用集群下的定时任务处理方案(mysql)

今天来说一个Java多机部署下定时任务的处理方案。 需求: 有两台服务器同时部署了同一套代码&#xff0c; 代码中写有spring自带的定时任务&#xff0c;但是每次执行定时任务时只需要一台机器去执行。 当拿到这个需求时我脑子中立马出现了两个简单的解决方案&#xff1a; 利用ip…

概念验证_设置成功的UX概念验证

概念验证用户体验/概念证明/第1部分 (USER EXPERIENCE / PROOF OF CONCEPT / PART 1) This is the first article of a four-part series. Please read Part 2 and Part 3.这是由四个部分组成的系列文章的第一篇。 请阅读 第2 部分 和 第3部分 。 How do today’s top UX desi…

从 vue3 和 vite 源码中,我学到了一行代码统一规范团队包管理器的神器

1. 前言大家好&#xff0c;我是若川。最近组织了源码共读活动&#xff0c;感兴趣的可以加我微信 ruochuan12 参与&#xff0c;每周大家一起学习200行左右的源码&#xff0c;共同进步。已进行四个月了&#xff0c;很多小伙伴表示收获颇丰。想学源码&#xff0c;极力推荐之前我写…

6个高效办公的Excel小技巧,学会让你高效办公

很多人在做Excel表格的时候&#xff0c;会出现下面这种情况&#xff1a;好不容易把内容都输入好了&#xff0c;才发现文字或是数字的排列组合需要重新调整&#xff0c;这个时候头就大了&#xff0c;到底是要一个个复制黏贴&#xff0c;还是要删除后再添加&#xff1f;不管哪种方…

unity 完美像素_像素完美

unity 完美像素从Kidpix到设计系统 (From Kidpix to design systems) Did you ever create stamps in KidPix? Kidpix is bitmap drawing software that’s been around since the nineties, and I remember many happy — more like maddening — hours creating tiny pixela…

整整4个月了,尽全力组织了源码共读活动~

大家好&#xff0c;我是若川。从8月份到现在11月结束了。每周一期&#xff0c;一起读200行左右的源码&#xff0c;撰写辅助文章&#xff0c;截止到现在整整4个月了。由写有《学习源码整体架构系列》20余篇的若川【若川视野公众号号主】倾力组织&#xff0c;召集了各大厂对于源码…

字节内部前端开发手册(完整版)开放下载!

备战2022&#xff0c;准备好了吗&#xff1f;据字节HR部门发布的最新信息&#xff0c;2019年以来字节连续3年扩招&#xff0c;而即将到来的2022年春招前端岗位数不低于3000&#xff0c;虽连年扩招&#xff0c;但是报录比却从2019年的3%下降到今年的1%。BAT等一线大厂同样有类似…

EBS中Java并发程序笔记(1)

在Oracle EBS中的Java并发程序&#xff08;Java Concurrent Program&#xff09;是系统功能中的一个亮点&#xff0c;它的出现使得用户可以在ERP系统中运行自己定义的Java程序。本文为学习笔记&#xff0c;所以不会介绍太多背景知识。 使用Java并发程序的好处&#xff1a; 当遇…

figma设计_5位来自杂乱无章的设计师的Figma技巧

figma设计When starting a design project, a fast pace and multiple design iterations can easily lead to a cluttered mess. Taking the time in the beginning to build good organizational habits will save you time later. You’ll thank your past self when you do…

设计和实现一个 Chrome 插件提升登录效率

大家好&#xff0c;我是若川。最近组织了源码共读活动&#xff0c;感兴趣的可以点此加我微信ruochuan12 进群参与&#xff0c;每周大家一起学习200行左右的源码&#xff0c;共同进步。已进行4个月了&#xff0c;很多小伙伴表示收获颇丰。前言在我们的工作过程中&#xff0c;每当…

qq空间网页设计_网页设计中的负空间

qq空间网页设计重点 (Top highlight)Because screens are limited, web design is also limited. It can be said that in the small box of the screen, each pixel is a piece of real estate.由于屏幕有限&#xff0c;因此网页设计也受到限制。 可以说&#xff0c;在屏幕的小…

时隔一年半,我,一个卑微的前端菜鸡,又来写面经了

大家好&#xff0c;我是若川。最近组织了源码共读活动&#xff0c;感兴趣的可以点此加我微信ruochuan12 进群参与&#xff0c;每周大家一起学习200行左右的源码&#xff0c;共同进步。已进行4个月了&#xff0c;很多小伙伴表示收获颇丰。作者&#xff1a;刮涂层_赢大奖原文地址…

用户体验与可用性测试_可用性作为用户体验的原则

用户体验与可用性测试Every UX Designer has his views and best practices. We all have a guide book created through time and experience. I want to share mine with you.每个UX设计器都有他的观点和最佳实践。 我们都有一本通过时间和经验编写的指南。 我想和你分享我的…

Jenkins插件之Deploy

deploy插件&#xff1a; Deploy Plugindeploy插件支持将War/Jar部署到远程的应用服务器上&#xff0c;例如Tomcat,JBoss,Glassfish。正在寻找或开发.NET web 应用的自动发布插件。如何回滚或重新部署先前的build&#xff1a;0&#xff09; 需要被deploy的job的结果要存档&#…

受美国法律保护美国妞_为什么美国法律有效地要求所有软件设计都要响应

受美国法律保护美国妞Smashing Magazine defines “responsive design” as an approach where design responds to the user’s behavior and environment based on screen size, platform, and orientation. In responsive design, a breakpoint is the “point” at which a…

源码群友问:你这么多项目是怎么进行技术选型的?

大家好&#xff0c;我是若川。最近组织了源码共读活动&#xff0c;感兴趣的可以点此加我微信ruochuan12 进群参与&#xff0c;每周大家一起学习200行左右的源码&#xff0c;共同进步。已进行4个月了&#xff0c;很多小伙伴表示收获颇丰。源码群有群友提问我是怎么找到那么多npm…