fossapps / feature.manager.ui Goto Github PK
View Code? Open in Web Editor NEWUI for Feature.Manager project
License: MIT License
UI for Feature.Manager project
License: MIT License
add saga to create and fetch feature runs.
CreateNewFeatureForm
{
featureId: string;
description: string;
hypothesis: string;
onFeatureIdChange: (id: string) => void;
onDescriptionChange: (d: string) => void;
onHypothesisChange: (h: string) => void;
}
https://xd.adobe.com/view/ebb04421-f94b-49b4-bec8-67404795ecb6-bee3/screen/43e9f644-d519-403a-9baa-9241e5591f7d?fullscreen
Avatar
props: {
label: string;
}
if more than 1 chars, use first
https://xd.adobe.com/view/ebb04421-f94b-49b4-bec8-67404795ecb6-bee3/?fullscreen
Modal
props: {
isOpen: boolean;
header: JSX.Element;
footer: JSX.Element;
children: JSX.Element; // just use {this.props.children} to show children, it's not special props
}
https://xd.adobe.com/view/ebb04421-f94b-49b4-bec8-67404795ecb6-bee3/?fullscreen
Navbar ->
props: {
title: string;
searchQuery: string;
onUpdateSearchQuery: (query: string) => void;
}
https://xd.adobe.com/view/ebb04421-f94b-49b4-bec8-67404795ecb6-bee3/?fullscreen
Badge {
variant: Info, Success, Danger, Secondary
}
https://demos.creative-tim.com/argon-design-system-pro/docs/1.0/components/badge.html
Button: {
onClick: () => void;
variant: "primary" | "success" | "danger" | "warning" | "secondary";
type: "outline" | "default";
size: "small" | "medium" | "large";
disabled: boolean;
}
https://xd.adobe.com/view/ebb04421-f94b-49b4-bec8-67404795ecb6-bee3/screen/43e9f644-d519-403a-9baa-9241e5591f7d?fullscreen
currently there's no click state, use argon design system pro to find how they do it, and apply in button.
CreateNewFeatureModal {
// connects to redux, uses redux to store feature id, description, hypothesis,
// onFeatureIdChange, onDescriptionChange and onHypothesisChanbge, simply dispatches another action (TBD)
//usual things
}
https://xd.adobe.com/view/ebb04421-f94b-49b4-bec8-67404795ecb6-bee3/screen/43e9f644-d519-403a-9baa-9241e5591f7d?fullscreen
currently we use travis, need to move to github actions
For border radius, margin, padding etc, and also with color codes, we need to be consistent, so on constants file, we need something like:
borderRadius: "NONE" => 0px; "S" => 2px; "M" => 4px; "L" => 6px;
margin: "NONE" => 0px; "XS" => "2px"; "S" => 4px; "M" => 8px; "L" => 12px; "XL" => 14px; "XXL" => 16px;
padding: "NONE" => 0px; "XS" => "2px"; "S" => 4px; "M" => 6px; "L" => 8px; "XL" => 10px; "XXL" => 12px;
colors separately
Card {
description: string;
hypothesis: string;
featureId: string;
// don't forget the eye icon
}
https://xd.adobe.com/view/ebb04421-f94b-49b4-bec8-67404795ecb6-bee3/screen/43e9f644-d519-403a-9baa-9241e5591f7d?fullscreen
add tinka's sdk for backend
FloatingActionButton (with + icon)
props: {
onClick: () => void;
}
https://xd.adobe.com/view/ebb04421-f94b-49b4-bec8-67404795ecb6-bee3/?fullscreen
create redux store, and write sagas to fetch data from API and store on redux (with proper error handling)
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.