Giter Site home page Giter Site logo

remember-ui's Introduction

Remember UI

리멤버 웹의 (구)디자인 시스템

personal access token 발급

  • github -> settings -> developer settings ->< personal access tokens에서 read:packages 권한이 있는 token 발급 image

  • 프로젝트 내 .npmrc 파일 생성 후 아래 내용 작성

//npm.pkg.github.com/:_authToken=[발급받은 토큰]
@dramancompany:registry=https://npm.pkg.github.com/

Build

$ yarn build
# 아래 명령어로 빌드 하면,
# 빌드 후 rollup-plugin-visualizer 를 통해 생성된 html이 열림
$ yarn build:visualize

Publish

  • 배포시 dist 폴더 내의 내용을 root로 변환하여 배포 하고자 별도 스크립트로 배포하는 방식임
# 최신 버전 배포
$ yarn pub
# 베타 버전 배포
$ yarn pub:beta

스토리북 GitHub Pages 배포

  • master 브랜치의 /docs의 변동사항이 생기면 자동으로 배포 트리거
  • pr 리뷰가 완료 되면 Storybook docs build를 진행한 후 master 브랜치에 머지 한다.
# 스토리북 빌드
$ build-storybook

install

$ yarn add @dramancompany/remember-ui

rui

리멤버 웹의 디자인 시스템

remember-ui's People

Contributors

ikki-kki avatar arclien avatar qkraudghgh avatar jiseophan avatar saengmotmi avatar immigration9 avatar kwanwooi25 avatar kimjeongwonn avatar j-jiseophan avatar yongsk0066 avatar kimjeonghyun avatar dependabot[bot] avatar lint-action avatar hazzzi avatar yuddomack avatar

Stargazers

KyungJi Kim avatar easeurmind avatar  avatar  avatar Eunhwan Moon avatar jinho park avatar  avatar

Watchers

James Cloos avatar Young Rae Lee avatar tom avatar Aaron Roh avatar 이동근 avatar  avatar 김회준 avatar 최재용 avatar Yuie. avatar Dohun Lee avatar ace9809 avatar  avatar  avatar

remember-ui's Issues

webOnly breack-point 기준 픽셀 769px로 변경

mobileOnly max-width: 768px
webOnly min-width: 768px
로 설정 되어있어 768px에서 모바일 분기가 되지 않고 pc로 분기가 되어버리는 문제가 있음
따라서 webOnly breack-point 기준 픽셀을 769px로 변경해야함

deprecated 되어야 할 코드 정리

아예 그냥 deprecated 되어도 되는 것

Chip
Container
BaseButton

새로운 디자인으로 대체되어 언젠간 deprecated 되어야하는 것

ConfirmModal -> MessageModal로 교체
DesignedModal -> 디자인팀에서 전체적으로 교체하려고 준비중
Career Typography -> 새로운 Typography로 교체 필요

remember-ui에 있을 필요 없는데 있는 것

TopButton
Accordian
ProgressModal -> career 한정으로만 사용하고 다른데서는 안씀

있는데 잘 안쓰는 것 (각 프로젝트에서 이미 내부적으로 구현해서 쓴다거나)

CustomButton
LinkButton
MoreButton

가능하면 deprecated 되었으면 하는 것

font mixin -> color 기본 값 이슈

remember-ui import path improve

현재 color, mixin, component, typo 이렇게 총 4가지의 경우가 있는데 이를 나누지않고 import 해서 사용하고 있다
아래와 같이 개선하는것은 어떨지?

// As-is
import { yellow100, webOnly, NewBaseButton } from "remember-ui";

// To-be
import { yellow100 } from "remember-ui/color";
import { webOnly } from "remember-ui/mixin";
import { NewBaseButton } from "remember-ui/component";

Docz 걷어내고 Storybook 도입

Docz의 문제점

  • 배포가 main branch에 되어있어서 실제 코드 변경과 document파일이 섞여서 PR보기도 힘들고, 컴포넌트 변경 히스토리 보기에도 불편함
  • 버그가 있어서 새로고침하면 컴포넌트 css가 안먹음

다른 대안?

  • Docz를 최신화 해도 되고
  • Storybook을 도입해도되고
    어쨋든 조사가 필요함

멀티라인 ellipsis mixin 추가

/src/core/GlobalStyle/mixin.js 파일에 멀티라인 ellipsis 추가

export const multiLineEllipsis = ( 
  line = 2
) => css`
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: ${line};
`;

배포시 빌드하지 않은 소스코드를 배포

실제 프로젝트에 적용할 때는 리멤버 내에서는 거의 무조건 웹팩을 거치기 때문에 별도의 uglify와 minify가 필요없음
만약 script 태그 등으로 가져와야 할 경우를 대비해 .min.js를 함께 배포하여 접근성 보장

1.2.1 Known Bugs

  • Textarea에 maxLength를 제공하는 경우, value가 null 혹은 undefined가 들어올 경우 에러가 발생함

props 자동완성 및 docs 지원

현재 typing을 지원하지만 IDE에서 자동완성이나 docs를 지원하지않아 remember-ui readme를 항상 봐야하는 문제가 있다.
개선 필요

모달 사용성 개선

  • 디자인팀에서 모달 컴포넌트들을 정리하고, 확인하는 과정에 있음 이과정에서 발생하는 것들을 추가/삭제 해야됨
  • 사용성 개선
    • esc나 dimmed를 누르면 onclose가 동작하게 하는 것
    • enter로 submit이 동작하게 하는 것
  • onClose, close method가 동시에 존재하는데 그 누구도 그이유를 모름

NewBaseButton known issue

  • theme 항목에 기존에 정의되어 있지 않는 값이 들어올 경우 에러가 발생 (디버깅이 어려움)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.