-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed as not planned
Labels
component: dashboardmeta: staleThis issue/PR is stale and will be closed soonThis issue/PR is stale and will be closed soonteam: webappIssue belongs to the WebApp teamIssue belongs to the WebApp teamtype: improvementImproves an existing feature or existing codeImproves an existing feature or existing code
Description
Problem to solve
There are around more than 100 instances of text inputs or search inputs elements across the product, see <input>
instances[1].
Currently, most input elements rely on the main button styles in index.css
.
gitpod/components/dashboard/src/index.css
Lines 83 to 91 in 77b4d06
textarea, | |
input[type="text"], | |
input[type="tel"], | |
input[type="number"], | |
input[type="search"], | |
input[type="password"], | |
select { | |
@apply block w-56 text-gray-600 dark:text-gray-400 bg-white dark:bg-gray-800 rounded-md border border-gray-300 dark:border-gray-500 focus:border-gray-400 dark:focus:border-gray-400 focus:ring-0; | |
} |
It would be great to have some form elements as components to cover some of the different elements, states, variants, etc. of each element once across the product.
Elements: Checkbox, Date Picker, Filter, Search, Textarea, Text Input, etc.
Some basic designs already exist for the input and the checkbox elements.
Input | Checkbox |
---|---|
![]() |
![]() |
See also relevant discussion (internal). Cc @selfcontained
Metadata
Metadata
Assignees
Labels
component: dashboardmeta: staleThis issue/PR is stale and will be closed soonThis issue/PR is stale and will be closed soonteam: webappIssue belongs to the WebApp teamIssue belongs to the WebApp teamtype: improvementImproves an existing feature or existing codeImproves an existing feature or existing code