智能家居數據庫設計_設計更智能的數據表

智能家居數據庫設計

重點 (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.pswp.cn/news/275180.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/275180.shtml
英文地址,請注明出處:http://en.pswp.cn/news/275180.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

可能是全網首個前端源碼共讀活動,誠邀你加入一起學習

大家好,我是若川。眾所周知,從8月份開始,我組織了源碼共讀活動,每周學習200行左右的源碼,到現在持續了3個多月,堅持答疑解惑。幫助了不少人,還是挺開心的。另外,涌現了很多優秀的讀者…

vsftpd 的配置項目

基本配置說明: 1)local_root/ftpfile(當本地用戶登入時,將被更換到定義的目錄下,默認值為各用戶的家目錄) 2)anon_root/ftpfile(使用匿名登入時,所登入的目錄) 3)use_localtimeYES(默認是GMT時…

線段樹專輯——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;極力推薦之前我寫…

什么事接口

假設你設計一個和人交流的程序。 先建立一個接口 interface 人 //定義接口&#xff0c;它代表一個人&#xff0c; {void Hello(); }//接口虛函數&#xff0c;用來跟這個人說話 但不同的人有不用的交流方式&#xff0c;具體方式用類來實現&#xff0c;比如。 class 美國人&#…

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;召集了各大廠對于源碼…

kvm 學習(二)

Linux下 如何通過命令行使用現有的鏡像創建、啟動kvm虛擬機 這里假定已經創建好了相應的鏡像&#xff1a; eg&#xff1a;我這里制作的鏡像名稱為zu1-centos7.img # lszu1-centos7.img 1、拷貝這個鏡像到某一個目錄 cp zu1-centos7.img /data2/ 2、編寫鏡像的配置文件&#x…

字節內部前端開發手冊(完整版)開放下載!

備戰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…

hello,你知道獲取元素有哪幾種方式嗎?

收下我的小心心&#xff01;&#xff08;害羞臉&#xff09; 根據id屬性的值獲取元素&#xff0c;返回來的是一個元素對象 document.getElementById("id屬性的值") 根據標簽名獲取元素&#xff0c;返回來的是一個偽數組&#xff0c;里面保存了多個的DOM對象 documen…

設計和實現一個 Chrome 插件提升登錄效率

大家好&#xff0c;我是若川。最近組織了源碼共讀活動&#xff0c;感興趣的可以點此加我微信ruochuan12 進群參與&#xff0c;每周大家一起學習200行左右的源碼&#xff0c;共同進步。已進行4個月了&#xff0c;很多小伙伴表示收獲頗豐。前言在我們的工作過程中&#xff0c;每當…

[待總結]redmine

先列出來&#xff0c;有空再總結轉載于:https://www.cnblogs.com/gracexiao/archive/2011/11/18/2253834.html

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;在屏幕的小…