Git Product home page Git Product logo

knoq-ui's Introduction

knoQ-UI

開発

必要要件

  • node.js
  • yarn

UIの起動

$ yarn
$ yarn dev

knoQサーバーと連携して実際に動作をテストする

  1. knoQサーバーのリポジトリを適当なところにcloneし,開発用サーバーを起動する.knoQサーバーの起動に必要な要件についてはここを参照.
$ git clone https://github.com/traPtitech/knoQ.git
$ cd knoQ
$ docker compose up --build
  1. UIを起動していないなら起動する
  2. ブラウザで http://localhost:6006 を開く
  3. traQのOAuthの許可を求められるので,許可ボタンをおす.
  4. knoQのページに戻ったら,http://localhost:8080 を開く.

knoq-ui's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar fuji8 avatar itt828 avatar mathsuky avatar sapphi-red avatar wasabi315 avatar wtks avatar xsuz avatar you10-f avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

series2

knoq-ui's Issues

進捗部屋をcsvインポートするUI

  • サイドバーのフッターかその周辺にadminのときだけ表示されるボタンを作り、それを押すとモーダルが出てくる
  • モーダルの内容はテキストエリアとボタンで、テキストエリアにcsvをコピペしてから提出という流れ
  • csvの形式が間違っているときに警告する

ユーザーアイコンのURLをResponseUserから取ってくる

やること

ユーザーアイコンを取得するURLを,ハードコードされたものではなくknoQのAPIから得られるものを使うようにする.

背景

ハードコードされた状態だと、UIが暗黙的にtraQに依存している状態になる。またサーバーがtraQ以外のユーザーを扱おうとしたときに困る

複数の日にまたがるイベントの作成

  • 実装する前に、今まで1日のイベントしか作れないように実装されていた(フォームで日と時を分けて、POSTする時に結合している)理由を確認する
  • バックエンドは複数の日にまたがるイベントを受けとれるようになっている

Remove box shadow

グループ詳細ページのv-expansion-panelのshadowを消す

現在はdevelopmentビルドのときはうまく行くがproductionビルドのときは崩れる

group detailの表示順について

Group detailのEventの表示について
古いEventよりの現在のEventのほうを確認したいことが多いと思う.
新しいEventを優先的に表示したほうがよいのではないか
できれば現在の時刻を基準に無限スクロールしたい.

traQリダイレクト条件の変更

Header: X-Knoq-Need-Authorization 1のときに限ってtraQのOAuthをして欲しい
ユーザーがtraPユーザーでない場合や、tokenが不正な場合を考えると、401でtraQのOAuthをするのは不適な場合がある

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.