1.0.1 • Published 8 months ago

@qa-compass/toolbar v1.0.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
8 months ago

Create environment file

Add a file into the repo called .env.local. It should look like this:

VITE_SCRIPT_ID=<your-script-id-comes-here> # you can get this from the dashboard

How to develop on localhost with an iPhone

  • Connect iPhone with cable to Mac
  • On Mac: System Settings -> Sharing -> Internet Sharing
  • In terminal run ifconfig | grep inet and search your ip address e.g. 192.168.0.159
  • vite --host 192.168.0.159
  • Should be openable on Mac and iPhone

TestWebsite

./customer acts as a test website using our the build from ./script. It would be nice to npm run dev in ./customer and ./script for development. However, there are some issues with react-refresh and some with vite, because neither vite nor React expects such a use case.

So for now the idea is to only npm run dev in ./script for development and use instead. Then we can build ./script, copy ./dist to .customer and import it there.

Deployment Checklist

  • z-index sidenav
  • Mobile
  • Placing pin while being scrolled down
  • Pin should stay in same place when scrolling

How to test vite plugin

Bad setup:

  • in vite.config.ts import { qaCompassCodeJumpViteReact } from "./plugin.js";
  • Run npm run build in plugin repo and copy budnle into ./plugin.js
1.0.1

8 months ago

1.0.0

8 months ago

0.0.24

9 months ago

0.0.25

9 months ago

0.0.26

9 months ago

0.0.22

9 months ago

0.0.23

9 months ago

0.0.21

9 months ago

0.0.20

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.16

10 months ago

0.0.17

10 months ago

0.0.15

10 months ago

0.0.13

10 months ago

0.0.14

10 months ago

0.0.12

10 months ago

0.0.11

11 months ago

0.0.10

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago