Skip to content

Commit

Permalink
feat(ui): Template / initial repo for UI (#304)
Browse files Browse the repository at this point in the history
* svelte typescript daisyui tailwind vite rollup template

* WIP:svelte/daisy/tailwind/vite/rollup template

* github actions

* pnpm jest

* pnpm

* pnpm lock

* badges for readme

* Update README.md

Co-authored-by: David <104078303+davidtaikocha@users.noreply.github.com>

* Update packages/ui/.eslintignore

Co-authored-by: shadab-taiko <108871478+shadab-taiko@users.noreply.github.com>

* lints

* Update packages/ui/.eslintrc.cjs

Co-authored-by: shadab-taiko <108871478+shadab-taiko@users.noreply.github.com>

* npx/npm => pnpm

* unused test var

* theme, localization, token store, basic form, layout

* dropdowns, form buttons

* i18n

* rm assets and use icons

* get bridge address dynamically by set chainID

* disconnect

* toasts

* pnpm lock

* Update packages/ui/index.html

Co-authored-by: d1onys1us <dave@taiko.xyz>

* Update .husky/pre-commit

Co-authored-by: d1onys1us <dave@taiko.xyz>

* Update pnpm-workspace.yaml

Co-authored-by: d1onys1us <dave@taiko.xyz>

* fix(bridge): remove bridge ui theme (#324)

* [bridge] remove theme-change

* [bridge] remove unused icon

* feat: upgrade tailwind to v3 (#325)

* convert from cjs to js

* [bridge] upgrade tailwind to v3

* Revert "convert from cjs to js"

This reverts commit c33dec0.

* [bridge] change neutral color

* package-lock

* rn unused libs + lock file

* ui => bridge-ui, rm package-lock.json

* pnpm tests

* try fix

* try fix

* try fix

Co-authored-by: David <104078303+davidtaikocha@users.noreply.github.com>
Co-authored-by: shadab-taiko <108871478+shadab-taiko@users.noreply.github.com>
Co-authored-by: d1onys1us <dave@taiko.xyz>
Co-authored-by: dantaik <99078276+dantaik@users.noreply.github.com>
Co-authored-by: David Weisiger <dweisiger@gmail.com>
  • Loading branch information
6 people committed Nov 25, 2022
1 parent 4fe1fa4 commit a396511
Show file tree
Hide file tree
Showing 91 changed files with 7,284 additions and 69,274 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Bridge UI

on:
push:
branches: [main]
paths:
- "packages/bridge-ui/**"
pull_request:
paths:
- "packages/bridge-ui/**"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.15"

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: ui - Unit Tests
working-directory: ./packages/bridge-ui
run: pnpm install && pnpm run test

- name: ui - Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
directory: ./packages/bridge-ui/coverage
flags: ui
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<!-- BADGES -->
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-)

<!-- ALL-CONTRIBUTORS-BADGE:END -->

[![Solidity](https://github.com/taikoxyz/taiko-mono/actions/workflows/solidity.yml/badge.svg)](https://github.com/taikoxyz/taiko-mono/actions/workflows/solidity.yml)
Expand All @@ -9,6 +11,9 @@
[![Golang](https://github.com/taikoxyz/taiko-mono/actions/workflows/golang.yml/badge.svg)](https://github.com/taikoxyz/taiko-mono/actions/workflows/golang.yml)
[![Relayer](https://codecov.io/gh/taikoxyz/taiko-mono/branch/main/graph/badge.svg?token=E468X2PTJC&flag=relayer)](https://codecov.io/gh/taikoxyz/taiko-mono)

[![Typescript](https://github.com/taikoxyz/taiko-mono/actions/workflows/typescript.yml/badge.svg)](https://github.com/taikoxyz/taiko-mono/actions/workflows/typescript.yml)
[![Bridge UI](https://codecov.io/gh/taikoxyz/taiko-mono/branch/main/graph/badge.svg?token=E468X2PTJC&flag=bridge-ui)](https://codecov.io/gh/taikoxyz/taiko-mono)

<!-- PROJECT LOGO -->
<br />
<div align="center">
Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ flag_management:
- name: relayer
paths:
- packages/relayer/**/*
- name: bridge-ui
paths:
- packages/bridge-ui/**/*

comment:
show_carryforward_flags: true
24 changes: 0 additions & 24 deletions packages/bridge-frontend/.eslintrc.js

This file was deleted.

23 changes: 0 additions & 23 deletions packages/bridge-frontend/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/bridge-frontend/.prettierrc

This file was deleted.

46 changes: 0 additions & 46 deletions packages/bridge-frontend/README.md

This file was deleted.

Loading

0 comments on commit a396511

Please sign in to comment.