Coder Social home page Coder Social logo

slack-app-when's People

Contributors

cn-eveer avatar yuji96 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

slack-app-when's Issues

rate limit に対応

try/except で数秒待ってから再試行する。秒数は response header に含まれてるらしい。

回答用のモーダル

回答モーダル

ホストが作ったモーダルから値を取るのは厳しそう、ホストが送ったメッセージでしか値が取得できない状態。逆も然り、メンバーが回答したモーダルをメッセージにしてそこから値を取るほか今の方法しかない。

モーダル使わずに日程作成

このアプリを使いこなした人向けに
[at]when! 12/11~15 900-1800 [hashtag]channel_name
だけで起動する隠れ機能的なものが欲しい。(ほぼ自分用)

入力の解釈をする正規表現の部分以外は同じ関数を使える。

開発用appの作成

1つのappにはrequest URLを1つしか設定できないから、本番用URLとngrokの開発用URLで使い分けるにはappも2つ必要そう。
コードは共通なものを使えるから開発メンバーごとにappを発行するのもあり。

レイアウトの改善

12:30-15:00, 16:30-18:00 という入力を

      12 13 14 15 16 17 18 19 20
hoge  | #|##|##|  | #|##|  |  |

と出力する。

なるべく、許容範囲は広くとりたいから、

  • 12:30~13:00(波線)
  • 1230-1300(省略)
  • 12:30 ~13:00 , 15:00-16:00(変な空白)
  • 12:00-(12時以降いつでもok)
  • all(いつでも)
  • 12:14-15:0112:30-15:00と解釈する)
    などを行う。

細かい入力規則にはまだ対応していない

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.