-
Notifications
You must be signed in to change notification settings - Fork 20
Home
TEDI (TEHIK Design System) is open source design system used in TEHIK. Its goal is to provide toolkit and building blocks for TEHIK partners, designers, developers, product owners etc. It follows VEERA guidelines. It provides specific components for designers, implements React components for developers. As a result, provided solution saves development time.
TEDI contains two sets of components: community and TEDI (we call them TEDI-READY). Community set is driven by community and resolves special use-cases and TEDI set gives stability and quality therefore implements more basic components.
npm i @tehik-ee/tedi-design-system
- Remove old dependency from package.json: @tehik/react-components
- Install TEDI component library
npm i @tehik-ee/tedi-design-system - Find and replace from all files in project:
from '@tehik/react-components'and replacefrom '@tehik-ee/tedi-design-system/community'(from is important to replace only import statements) - In addition you need to change style location as well:
import '@tehik/react-components/index.css'and replaceimport '@tehik-ee/tedi-design-system/index.css' - Repeat the steps for every NPM project.
To get into more detail, please see here: https://github.com/TEHIK-EE/tedi-design-system/wiki/Migration-from-Disainipesa
- Repository: https://github.com/TEHIK-EE/tedi-design-system
- NPM: https://www.npmjs.com/package/@tehik-ee/tedi-design-system
- Storybook: https://github.tehik.ee/tedi-design-system/ (branch based test environment)
- Figma: https://www.figma.com/design/jWiRIXhHRxwVdMSimKX2FF/TEDI-Design-System-(draft)?m=auto
- Documentation: https://tedi.tehik.ee/1ee8444b7/p/33df89-sissejuhatus
- Slack: https://tehikustiilijuhis.slack.com/
-
You should have open issue in Github.
-
Fork github repository
- Under your forked repository go to Settings -> Pages
- Under section "Build and deployment" set "Source" field to "Github Actions".
- Under Actions tab enable actions.
- Under Environments create new environment named "github-pages".
- Make sure that under "Deployment branches and tags" select option "No restriction" is selected.
-
Make changes and create pull request against origin
rcbranch -
If you have contributed to TEDI components, you have to deploy your component in test environment (Github Pages)
- Deployment to github pages is done with a Github Actions workflow "Continious Deployment"
- If Actions have been enabled before commits, then automatic deployment to Github pages should have run.
- If Actions are enabled after the fact, manual run of workflow is needed.
- On the side panel select workflow "Continious Deployment" and click "Run workflow" on the right side of the opened panel.
- Click on the "Continious Deployment" item in the middle of the main panel to open the progress graph
- Last step of the process is "Deploy". Once that step is done, github pages link will appear under its name.
- Copy and paste that link to the pull request, so that reviewer can review the effects of your contribution.
-
For community components, pull request will be reviewed by maintainer and will be merged to
rcbranch. And feature is ready to use with pre-release version
- You should have open issue in Github.
- Create new branch
- Make changes and create pull request against rc branch
- Pull request will be reviewd by other maintainer and will be merged. And feature is ready to use with pre-release version
Gitflow is described here in detail: Gitflow