dzcpy / sprout-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

Sprout Test

GitHub action badge

Table of Contents

Intro

This is the test project for Sprout.

Key challenges and highlights

  • Well structured and reusable code
  • Uses best practices whenever is possible, detail oriented
  • Faster build time and smaller bundle size (compares to Webpack), made possible with vite and rollup. Is it a pun? :)
  • Pixel perfect style as per Figma design
  • The content panel is written in an iframe, to avoid CSS pollution from both sides
  • Flexible iframe height, which is done by observing the inner content box's height and then send to parent frame with window.postMessage
  • Coded with ❤

Toolchain

Installation

Procedures

  1. Clone this repository.
  2. Change name and description in package.json => Auto synchronize with manifest
  3. Run yarn or npm i (check your node version >= 16)
  4. Run yarn dev or npm run dev
  5. Load Extension on Chrome
    1. Open - Chrome browser
    2. Access - chrome://extensions
    3. Check - Developer mode
    4. Find - Load unpacked extension
    5. Select - dist folder in this project (after dev or build)
  6. If you want to build in production, Just run yarn build or npm run build.

Screenshots

Popup

screenshot

Documentation


dzcpy

About

License:MIT License


Languages

Language:TypeScript 56.0%Language:JavaScript 23.8%Language:CSS 16.6%Language:SCSS 2.2%Language:HTML 1.4%