Generic way to rotate and flip shapes

オープン
#655 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript
領域
design, frontend

調査の方向性

まず、既存の transformer と基本図形の扱い方を確認します。コンテキストメニューとプロパティパネルを可能なエントリーポイントとして比較し、そのうえで、図形ごとの実装なしに回転と反転をサポートできる汎用ラッパーの方法を検討します。選択した基本図形についてアプローチが合意され、安定していれば完了です。

索引モデルが issue の本文から書いたものです。

説明

challenge

It would be nice to provide an option to rotate a given shape or flip it.

Right now this could be accomplished using the transformer, but we had to disabled it since the rotate functionallity was buggy (not stable in our shapes).

So we need here first some brainstorming, my two cents:

  • We could add an option in the context menu.
  • We could add them on the properties panel (like the z-index thingie)

Another challenge we have to find a way that makes this generic (no need to be implemented on every shape, maybe let's start only with the basic shapes (the rest are not that important, and have an additional challenge resizing limitations and inline edition).

Maybe we could add a generic control that just adds a wrapper and applies a rotate transform on the shape?

主要言語
TypeScript
スター
70
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Lemoncode/quickmock のほかの issue

Lemoncode/quickmock の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。