@githumbi/grabby 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +1 -1
- package/dist/angular/index.d.ts +2 -0
- package/dist/angular/index.js +678 -381
- package/dist/angular/index.js.map +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/core/index.cjs +914 -617
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +678 -381
- package/dist/core/index.js.map +1 -1
- package/dist/grabby.global.js +120 -97
- package/dist/live/index.d.cts +1 -1
- package/dist/live/index.d.ts +1 -1
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +678 -381
- package/dist/react/index.js.map +1 -1
- package/dist/{types-CMgpkvBz.d.cts → types-DjpIHekd.d.cts} +2 -0
- package/dist/{types-CMgpkvBz.d.ts → types-DjpIHekd.d.ts} +2 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @githumbi/grabby
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1beb9ae: The toolbar's close button now collapses it into a round button in the bottom-right corner, with the comment count on it, instead of removing it. One click (or Alt+G) opens the toolbar again. It stays collapsed when the reviewer moves to another page in the same tab, and comments keep sending while it is collapsed. Finish review is unchanged, and `hideToolbar()` / `hide()` still remove the toolbar completely.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 1beb9ae: The element you clicked stays selected while you write its comment. Moving the mouse used to move the highlight onto whatever was underneath, so it was unclear which element the comment would go to (and a click elsewhere quietly switched it). Now the highlight stays on the chosen element, the crosshair lines hide and the normal cursor returns until you save or cancel, and clicks on the page are ignored. Pages that guard their own pointer handlers with `body.grabby-crosshair-active` stay guarded: the class remains, and `body.grabby-crosshair-held` is added while a comment is open.
|
|
12
|
+
|
|
13
|
+
## 0.3.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 5eec68c: Reviewers on a live site now see plain names while choosing what to comment on: `Button "Start free trial" · Click to select`, `Card "Your plan"`, `Text box "Email"`, `Whole page`, instead of the element's tag, classes and source file. Their "Your feedback" list uses the same names. Developer mode is unchanged. Only visible labels, headings, alt text and placeholders are used, never what someone typed, and masked areas show no text.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 45343a4: Typing a "g" in the comment box no longer closes it. The Alt+G shortcut toggled selection mode on the release of any "g" key, so adding or editing a comment vanished mid-word. It now toggles only when the full shortcut was pressed.
|
|
22
|
+
- 45343a4: Deleting a comment that was already sent now deletes it on the feedback server too, so `pull`, the inbox and MCP no longer return it. The delete waits out the 8-second Undo window (Undo cancels it), is retried like any send, and goes out at once if the reviewer leaves the page. The collector accepts it only from the browser session that wrote the comment, with the project key and an allowed site, as for screenshots. Finish review's Done and `clearComments()` still only tidy the reviewer's browser.
|
|
23
|
+
|
|
3
24
|
## 0.2.1
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ It's your site's address with `?grabby=` and your project key on the end. `share
|
|
|
85
85
|
https://my-app.netlify.app/pricing?grabby=pk_…
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
Reviewers get a **Comment** button and a short three-step tip:
|
|
88
|
+
Reviewers get a **Comment** button and a short three-step tip. As they move the pointer, Grabby names what's under it in plain words, such as `Button "Start free trial" · Click to select` or `Card "Your plan"`, so nobody needs to know HTML:
|
|
89
89
|
|
|
90
90
|
1. Click **Comment**.
|
|
91
91
|
2. Click the part of the page they want to talk about.
|
package/dist/angular/index.d.ts
CHANGED
|
@@ -240,7 +240,9 @@ interface GrabbyAPI {
|
|
|
240
240
|
level?: DetailLevel;
|
|
241
241
|
ids?: string[];
|
|
242
242
|
}): string;
|
|
243
|
+
/** Deletes a comment here and, in live mode, on the feedback server too. */
|
|
243
244
|
deleteComment(id: string): void;
|
|
245
|
+
/** Clears this browser's list only; comments already sent stay with the team. */
|
|
244
246
|
clearComments(): void;
|
|
245
247
|
/**
|
|
246
248
|
* Tell Grabby who is signed in, so commenters aren't asked for a name.
|