Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ElectronでSlackをさらに便利にしちゃう / Slack with Electron

Taiju Aoki
December 09, 2019

ElectronでSlackをさらに便利にしちゃう / Slack with Electron

Taiju Aoki

December 09, 2019
Tweet

More Decks by Taiju Aoki

Other Decks in Programming

Transcript

  1. ࢲ͸୭ʁ blue (@blue_1617) https://blue0513.github.io/show_room/ 2 Rails, JavaScript, Scala etc ΤϜεϦʔ:

    Ϋϥ΢υిࢠΧϧςνʔϜॴଐ GitHubͱ͔ ‣ slackdeck-proto : Slack ͷ TweetDeck ෩ Viewer ‣ minideck : TweetDeck ͷ͍͍ײ͡ͷ Viewer ‣ phantom-inline-comment: Emacs ͷ package ‣ point-history: Emacs ͷ package ‣ instant-maximized-window: Emacs ͷ package
  2. 18 ߏ੒ཁૉ ‣ src/* ߦ਺: 687ߦ ‣ ओͳґଘ package ‣

    electron-builder (Ϗϧυ༻) ‣ electron-store (ઃఆอଘ༻) ‣ Slack API: ඇ࢖༻ ‣ Linter: ESLint ‣ CI: GitHub Actions w/ Jest, ESLint ‣ Liter, CI ౳
  3. 19 ػೳ ‣ Multiple columns like TweetDeck ‣ Multiple workspaces

    ‣ Add/Remove columns by button ‣ Selectable CSS styles for each column ‣ Customizable settings as JSON ‣ Settings are saved and persisted
  4. 24 Customizable settings as JSON ‣ Main Slack URL ‣

    Other Workspaces URL ‣ Column Settings
  5. 26 ޻෉ͱ͔৭ʑ ͳͥ API Λ࢖༻͠ͳ͍ͷʁ ͳͥ React ͱ͔ FW Λ࢖Θͳ͔ͬͨͷʁ

    ͳͥϝϯςφϯεΛଓ͚Δͷʁ ‣ API ͷมߋʹΑΔϝϯςφϯε͕໘౗ͩͬͨ ‣ ެࣜ Web ൛Λ Electron & Webview ͢Δͷָ͕ͩͬͨ ‣ FW Λ࢖͏ͱ PR Λग़͢ϋʔυϧ্͕͕Δͱࢥͬͨ ‣ Webview ͷදࣔҎ֎Λ΄΅͠ͳ͍ͷͰɺࢫຯ͕গͳ͍ ‣ ϝϯςφϯε͕໘౗ͳͷͰɺґଘΛ࠷খԽ͔ͨͬͨ͠ ‣ յΕͨΓෆศͩͱɺ೔ʑͷۀ຿ʹࢧো͕ग़ΔͷͰ......