Skip to content

Commit 2f10624

Browse files
committed
add gif sample
1 parent 51421ce commit 2f10624

5 files changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
You can easily add slack emoji
77

8+
![sample](/docs/sample.gif)
9+
810
## Usage
911

1012
[Official page](https://takanakahiko.github.io/slack-emoji-meister)

docs/index-jp.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ description: You can easily add slack emoji
99

1010
## 使い方
1111

12+
![sample](/docs/sample.gif)
13+
1214
1. 画像を右クリック
1315
2. `画像をSlackの絵文字に追加``新しいワークスペースに追加` 又は `_すでに追加済みのワークスペース名_ に追加` を選ぶ
1416
3. `新しいワークスペースを追加` の場合は、ワークスペース名を入力する。

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ description: You can easily add slack emoji
99

1010
## How to use
1111

12+
![sample](/docs/sample.gif)
13+
1214
1. Right click any image
1315
2. Select `add slack image``add to new workspace` or `add to _workspace that already registered_`
1416
3. Enter your slack workspace name if select 'add to new workspace' at the above step

docs/sample.gif

40 MB
Loading

src/utils/util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const convertBlobToBase64 = (blob: Blob) => {
4646

4747
export const notif = async (message: string, imageUrl?: string) => {
4848
const blob = await getBase64Image(
49-
imageUrl || browser.runtime.getURL("/icon/icon-128.png"),
49+
imageUrl || browser.runtime.getURL("/icon/128.png"),
5050
);
5151
await browser.notifications.create(`${Math.random()}`, {
5252
type: "basic",
@@ -59,7 +59,7 @@ export const notif = async (message: string, imageUrl?: string) => {
5959
export const notifError = async (message: string) => {
6060
await notif(
6161
`${browser.i18n.getMessage("error")} : ${message}`,
62-
browser.runtime.getURL("/icon/icon-128.png"),
62+
browser.runtime.getURL("/icon/128.png"),
6363
);
6464
console.error(message);
6565
};

0 commit comments

Comments
 (0)