Git Product home page Git Product logo

Comments (5)

tbsmcd avatar tbsmcd commented on August 17, 2024

コメント拾えばよくね?

from label_timer.

tbsmcd avatar tbsmcd commented on August 17, 2024

だがしかし、コメントが大量にある場合はつらそう(とはいえ、1000も2000もコメントが有るのか?という話でもある)。

from label_timer.

tbsmcd avatar tbsmcd commented on August 17, 2024

比較

コメント

メリット

  • ログを時系列で残せる
  • 事後にラベルがカスとして残らない
  • ラベルが多くなるより見通しが良い

デメリット

  • 大量にコメントがあると辛い

ラベル

メリット

  • コメントがスッキリする
  • 計時をラベルで行っているので統一性がある
  • コメントより取得しやすい

デメリット

  • カスラベルが残る
  • ガベージコレクション(?)が必要

コメント数にも限度があるので、コメント方式を採用する。

from label_timer.

tbsmcd avatar tbsmcd commented on August 17, 2024

現在

スクリーンショット 2021-03-02 23 17 47

変更後

スクリーンショット 2021-03-02 23 19 44

  • 文字列から秒数を取得していくのは可能だけど面倒なのであらかじめ秒数換算値を記載しておく。
  • 以前のコメントから以下の条件に合うものを抽出し、正規表現で秒数を取得、合計し新しいコメントとして投稿する
    • GitHub Actions が書いた
    • Label [ラベル名] passed time: で始まる

from label_timer.

tbsmcd avatar tbsmcd commented on August 17, 2024

Q. GraphQL API でコメントの検索ができるかな?
A. できない
→ RESTful API でおとなしく回していく。

from label_timer.

Related Issues (5)

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.