From 1500cf6084ce029a2cf0739d2fdda39b4336776d Mon Sep 17 00:00:00 2001 From: chenshenhai Date: Mon, 16 Aug 2021 12:45:19 +0800 Subject: [PATCH] Revert "docs: update docs" This reverts commit fe2856eb2a282877d642d0a70b9bd3bf357ee216. --- docs/README.md | 10 ------- docs/todo/board.md | 4 +++ docs/todo/core.md | 66 ++++++++++++++++++++++++++++++++++++++++++++ docs/todo/idraw.md | 13 +++++++++ docs/usage/README.md | 3 ++ 5 files changed, 86 insertions(+), 10 deletions(-) delete mode 100644 docs/README.md create mode 100644 docs/todo/board.md create mode 100644 docs/todo/core.md create mode 100644 docs/todo/idraw.md create mode 100644 docs/usage/README.md diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index 7c90cca..0000000 --- a/docs/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Documents - -## Usage - -- Site: https://idrawjs.github.io/ -- Repos: https://github.com/idrawjs/docs - -## TODO List - -- https://github.com/idrawjs/idraw/issues/53 \ No newline at end of file diff --git a/docs/todo/board.md b/docs/todo/board.md new file mode 100644 index 0000000..6b08cd5 --- /dev/null +++ b/docs/todo/board.md @@ -0,0 +1,4 @@ +# @idraw/board + +* [x] Calculate screen position to context position +* [x] Reset board's size \ No newline at end of file diff --git a/docs/todo/core.md b/docs/todo/core.md new file mode 100644 index 0000000..a19a96d --- /dev/null +++ b/docs/todo/core.md @@ -0,0 +1,66 @@ +# @idraw/core + +* [] add type of TypeElemDesc-key +* [x] BUG: Type error about keyof TypeElemDesc +* [x] BUG: Type error about TypeElement'uuid +* [] Element default data +* [] Support gradient color +* [] Listen keyboard action +* [] Keep all num two decimals +* [x] Config usage in all code +* [x] is/check add circle and html +* [x] make idraw.draw() private +* [x] remove idraw.initData() +* Support Element's render + * Circle + * [x] Render content + * Text + * [x] Desc backgroundColor + * HTML + * [x] Render content +* [x] Change idraw.selectElementByUUID to idraw.selectElementByIndex +* [x] Change idraw.selectElement use uuid arg +* [x] License text in JS result +* [x] Options default data +* [x] BUG: Select area calculate elements error +* [x] Move elements that in selected-area +* [x] Area select +* [x] Lock Element +* [x] FireFox's Compatibility Question (And Safair Browser) +* [x] Hover element style +* [x] Cursor style +* [x] Can't controll element at scroll-area +* [x] Disable controll element +* [x] static check/is type declare +* [x] Force update image/svg image when element change +* [x] Reset board's size +* [x] Limit element's angle between -360~360 deg +* [x] Check if the element and elements' attribute of desc is supported +* [x] Suport elements'desc and attribute check method +* [x] Scale canvas +* [x] Scroll canvas +* [x] Render by requestAnimateFrame +* [x] Image load queue +* [x] Input data by `any` type `core.initData/core.setData` +* Render data's elements + * Basic box + * [x] Border + * [x] Radius + * [] Gradient Color + * [x] Text + * [x] Text content + * [x] Font size + * [x] Font family + * [x] Font color + * Rect + * [x] Rect content + * Image + * [x] Image content + * [x] SVG + * [x] SVG content +* [x] Drag elements +* [x] Move elements' index +* [x] Rotate elements +* [x] Transform elements's size +* [X] Loader update image/svg resource + diff --git a/docs/todo/idraw.md b/docs/todo/idraw.md new file mode 100644 index 0000000..6c339e2 --- /dev/null +++ b/docs/todo/idraw.md @@ -0,0 +1,13 @@ +# idraw + +* [] BUG: iDraw.js can't render image on Mobile browser +* [x] BUG: Undo/Redo need trigger "changeData" event +* Export + * [] Export image + * [] Source file +* Undo action record + * [x] Action records's stack + * [x] Return recors's count +* Redo action record + * [x] Action records's stack + * [x] Return recors's count \ No newline at end of file diff --git a/docs/usage/README.md b/docs/usage/README.md new file mode 100644 index 0000000..39a1c33 --- /dev/null +++ b/docs/usage/README.md @@ -0,0 +1,3 @@ +# idraw + +// TODO \ No newline at end of file