mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-30 12:03:59 +01:00
Yaak Proxy: square app icons beside long names, and the final uncovered why line
App icons keep their square however a long app name squeezes them, in the card's buttons, the strip's Choose menu and the sidebar, and a long entry hint truncates instead of the button's label. A connection nothing on the list covers reads "Encrypted Content: Enable decryption to see requests to <host>", with the host as code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e3ff29ee6d
commit
c0f75bcfc2
7 files changed
+48
-16
No files matched your search
@@ -90,7 +90,9 @@ describe("the card of an encrypted connection", () => {
|
||||
|
||||
test("something else listed: not on the list, with the same choices", () => {
|
||||
const c = card({ list: [...user("host:api.stripe.com"), ...BUILT_INS] });
|
||||
expect(lineText(c.why)).toBe("Decryption not configured for `www.google.com`");
|
||||
expect(lineText(c.why)).toBe(
|
||||
"**Encrypted Content:** Enable decryption to see requests to `www.google.com`",
|
||||
);
|
||||
expect(c.actions.map((a) => a.label)).toEqual([
|
||||
"Decrypt www.google.com",
|
||||
"Decrypt Dia",
|
||||
@@ -108,10 +110,10 @@ describe("the card of an encrypted connection", () => {
|
||||
test("names the host nothing on the list covers, its port only when not 443", () => {
|
||||
const list = [...user("host:api.stripe.com"), ...BUILT_INS];
|
||||
expect(lineText(card({ list, flow: { ...tunnel, url: "t.yaak.app:443" } }).why)).toBe(
|
||||
"Decryption not configured for `t.yaak.app`",
|
||||
"**Encrypted Content:** Enable decryption to see requests to `t.yaak.app`",
|
||||
);
|
||||
expect(lineText(card({ list, flow: { ...tunnel, url: "home.ts.net:8317" } }).why)).toBe(
|
||||
"Decryption not configured for `home.ts.net:8317`",
|
||||
"**Encrypted Content:** Enable decryption to see requests to `home.ts.net:8317`",
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user