@hakam-aldeen-kh/blix 0.7.0 → 0.8.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/README.md +28 -16
- package/dist/{DevToolsPanel-OQJ2KXYL.js → DevToolsPanel-WD327OP5.js} +3383 -1856
- package/dist/capture/index.d.ts +18 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -786,16 +786,17 @@ The panel is one header, one rail and two panes.
|
|
|
786
786
|
Query. They are not filters over one table: each has its own columns and its
|
|
787
787
|
own notion of a row, so switching source switches the whole view. `1`–`4` jump
|
|
788
788
|
between them, and each keeps its own selection, so stepping to Redux and back
|
|
789
|
-
returns you to the request you were reading.
|
|
790
|
-
|
|
791
|
-
|
|
789
|
+
returns you to the request you were reading. Each row ends with its own number
|
|
790
|
+
key, because a shortcut is best taught where it is used. Below the sources it
|
|
791
|
+
carries the session totals; collapsed, it keeps the sources and their counts
|
|
792
|
+
and drops the totals, since four numbers without their labels are four
|
|
793
|
+
unattributed numbers.
|
|
792
794
|
|
|
793
795
|
**The header is the session**, not the entry: whether capture is running, what
|
|
794
|
-
is being filtered out, and where the panel lives.
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
bodies.
|
|
796
|
+
is being filtered out, and where the panel lives. While a filter is on, the
|
|
797
|
+
field carries its own count — `8 of 56` — and a clear button, so you never
|
|
798
|
+
have to read the status bar to know one is applied. `.*` widens the search to
|
|
799
|
+
request and response bodies.
|
|
799
800
|
|
|
800
801
|
**`Ctrl/⌘ K` opens the command palette**, and for several things it is the only
|
|
801
802
|
way in — sort order, row density, dock position, the copy formats, the filter
|
|
@@ -804,6 +805,13 @@ reach for occasionally lives one keystroke away instead of costing a button
|
|
|
804
805
|
each. Every row shows its key binding where it has one, so the palette teaches
|
|
805
806
|
its own shortcuts. `?` still opens the full cheatsheet.
|
|
806
807
|
|
|
808
|
+
**The columns are yours.** Right-click the column head — or open **Columns** in
|
|
809
|
+
the overflow menu — and switch off any of Pin, Method, Size, Status, Time,
|
|
810
|
+
Linked and Timing. The choice persists. ROUTE has no switch: it is the column
|
|
811
|
+
that says *which* entry a row is, and a list of rows you cannot identify is not
|
|
812
|
+
a list. A narrow pane drops columns on its own, worst-affordable first, so the
|
|
813
|
+
route keeps the width it needs.
|
|
814
|
+
|
|
807
815
|
**Linked events tie the sources together.** When Blix can see that a query
|
|
808
816
|
caused a request, that a request came from a query, or that one entry is a
|
|
809
817
|
replay of another, the row grows a coloured tick and the foot of the detail
|
|
@@ -895,14 +903,18 @@ panel's other preferences and survives a reload.
|
|
|
895
903
|
The panel never inherits your app's styling — it portals outside every stacking
|
|
896
904
|
context and ships its own palettes, so nothing you do to your own theme can
|
|
897
905
|
distort it. Themes are complete rather than partial: every colour the panel
|
|
898
|
-
paints, down to the JSON syntax highlighting and the
|
|
899
|
-
the active theme.
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
for
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
+
paints, down to the JSON syntax highlighting and the timing bars, comes from
|
|
907
|
+
the active theme. The two tones that carry text are held to 4.5:1 against every
|
|
908
|
+
ground they land on, which is why a few of the ported palettes differ by a
|
|
909
|
+
shade from the originals in the slots used for dense monospace. One tone is
|
|
910
|
+
deliberately below it and may never hold text: it is for separators, payload
|
|
911
|
+
punctuation and disabled glyphs.
|
|
912
|
+
|
|
913
|
+
There is no API for adding your own; a theme is 33 colour slots in
|
|
914
|
+
`src/ui/themes/bx.ts` if you are working from source. Every theme fills the
|
|
915
|
+
same set — a theme that cannot is reported in the console during development,
|
|
916
|
+
along with any whose text tones fall under 4.5:1 on a ground they actually
|
|
917
|
+
land on.
|
|
906
918
|
|
|
907
919
|
### `dbName` — when you need it
|
|
908
920
|
|