Giter Site home page Giter Site logo

alias-agent's Introduction

leeddhh

LeeDDHH CLI

test

alias-agent's People

Watchers

 avatar  avatar

alias-agent's Issues

新しくaliasアイテムを追加する機構を入れる

  • 新しいアイテムを追加する際に必要な情報
    • alias.json で扱っている alias のidの最後の値
    • 空の aliasnamevalue が入ったオブジェクト
  • 画面側で必要な対応
    • 新規登録ボタン
    • tempEditAliasItemalias のidの最後の値 +1 をしたオブジェクトを入れる
    • 新規保存/既存のデータ保存を分けるためのフラグ
    • 新規保存用の処理
  • デフォルトデータにalias のidの最後の値を保存するキーバリューを設ける

グローバルショートカットキーを表示用と保存用でデータを分ける

  • キーイベントで受け取ったときはHTMLInputElementでの値になる
  • ユーザーに表示する際、キーボードの表記に合わせる必要がある
  • 保存の際、Electronで受け付けられるキーの種類に反感する必要がある
  • 設定画面では、表示用と保存用のデータを両方持ち回して、保存するときは保存用のデータのみで行う
  • 起動時に読み込んだグローバルショートカットキーを設定画面に送る前に表示用のデータとして変換をかけておく必要がある

グローバルショートカットのデータ保存形式を検討する

  • 要検討
    • 現在は文字列を+で連結して保存している
      • 保存したキーを他の処理なくグローバルショートカットキーとして登録できる
      • ただし、設定画面で取り扱う際に配列へ変換して使う必要がある
    • キーの配列を保存する
      • 設定画面での取り扱い、キーのコンバート時に変換なく使える
      • グローバルショートカット登録時に+で連結してから使う必要がある

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.