0.6.2 • Published 6 months ago

markmeid v0.6.2

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Märkmeid

Lightweight, zero-dependency web annotation tool that allows you to place labels on any elements of application. It's designed for on-site UI tracking, making it easy to annotate and review design elements on the fly.

Features

  • Easy Integration: simply import and run the widget on any application.
  • Cross-browser Support: works in all modern desktop and mobile browsers
  • Customizable Labels: add notes with any text in a different types, receive comments and close the issues.
  • Tracking software Integration: push important things to Slack, Jira, Gmail etc
  • User-Friendly Interface: intuitive design for effortless UI tracking.
  • Zero Dependencies: works with native modules, keeping it lightweight and efficient.
  • Renders in shadow root: to support full isolation from your code

Smart Selector Analysis

SSA - Smart Selector Analysis Widget can detect class selector changes, moving element up and down in the DOM tree, it can find closest match by "similarity", with configurable percentage match Example (default level: 70%)

  • Menu title 1 a.px-2.py-1.rounded-md.text-white.font-semibold.whitespace-nowrap.bg-oxford-blue.dark\:outline-1.dark\:bg-lochmara\/80.qa-header
  • Menu title a.px-2.py-1.rounded-md.text-white.font-semibold.whitespace-nowrap.bg-oxford-blue.dark\:bg-lochmara\/80

Text content is almost the same, depth in DOM tree (14) the same Similarity: 74.7% - Matched! Work in Shadow-dom, track elements in horizontal/vertical scrolled containers, z-index mixing, detect any DOM changes (collapsing, overlays etc) in any browsers and devices

Installation

  1. Install Märkmeid using npm:
    npm i markmeid
  2. Import and run in your project
    import { bootstrap } from "markmeid";
    bootstrap({uid: <x-app-uid>});

Configuration

const config = {
   /**
    * The unique application identifier
    * @requires in online mode
    */
   uid: string;

   /**
    * Container where markmeid widget and notes will be rendered
    * @default document.body
    */
   container?: HTMLElement;
   
   /**
    * Tracking the URL change and filter for only URL related notes
    * In Single Page applications notes can be drawn for common blocks without filtering (e.g. sidebar)
    * @default true
    */
   urlFiltering?: boolean;
   
   /**
    * Logging to console
    * @default false
    */
   logging?: boolean;

   /**
    * Activate widget by flag in URL, for example if activeByQueryParameter specified as "showMarkmeid" the widget
    * will be active only when query parameters contain "showMarkmeid=true", like
    * http://localhost:80/main?showMarkmeid=true
    * @default ''
    */
   activeByQueryParameter?: string;
   
   /**
    * Percent of similarity threshold for Smart Selector Analysis for selector/string search
    * Where 10% - very weak similarity, 100% - exact match
    * @default 70%
    */
   similarityThreshold?: 10 - 100;

   /**
    * Double check the text content (with specified similarity threshold) on node when selector has exact match
    * Use only when text does not changing dynamically
    * @default false
    */
   textMatchCheck?: boolean;

   /**
    * The depth of selector tracing
    * @default 10
    */
   selectorDepth?: 4 - 20;
   
   /**
    * Connection mode, online: API connection, offline: sessionStorage
    * @default online
    */
   mode?: "online" | "offline";
}

Usage

  • Open the Märkmeid dashboard by visiting markmeid.com and register (If you are the first time)
  • Join the organization (if you were not invited) or create your own
  • Add the application and get its uid
  • Add the app uid to the bootstrap function bootstrap({uid: <x-app-uid>})
  • Right click on the screen and start tracking UI elements by placing labels with relevant information
  • Use Control + M to activate/deactivate context menu capturing
0.6.2

6 months ago

0.6.0

7 months ago

0.5.3

10 months ago

0.3.0

11 months ago

0.5.0

11 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.5.2

11 months ago

0.5.1

11 months ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.0

1 year ago

0.1.1

1 year ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago