From 35edda267675a314d5f12c749c2e228420bdbffa Mon Sep 17 00:00:00 2001 From: Konstantina Rigopoulou Date: Tue, 16 Sep 2025 01:05:43 +0200 Subject: [PATCH 1/2] Add portfolio for the course --- portfolio/UserStory-RectangleTool.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 portfolio/UserStory-RectangleTool.md diff --git a/portfolio/UserStory-RectangleTool.md b/portfolio/UserStory-RectangleTool.md new file mode 100644 index 000000000..80b81bb78 --- /dev/null +++ b/portfolio/UserStory-RectangleTool.md @@ -0,0 +1 @@ +# User Story - Rectangle Tool (Draw Feature) From 59d89d54065ff93ac15bea707f41a8069b644f62 Mon Sep 17 00:00:00 2001 From: KonstantinaDimitraRigopoulou Date: Tue, 16 Sep 2025 12:50:20 +0200 Subject: [PATCH 2/2] Update UserStory-RectangleTool.md --- portfolio/UserStory-RectangleTool.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/portfolio/UserStory-RectangleTool.md b/portfolio/UserStory-RectangleTool.md index 80b81bb78..9bc9c6014 100644 --- a/portfolio/UserStory-RectangleTool.md +++ b/portfolio/UserStory-RectangleTool.md @@ -1 +1,12 @@ # User Story - Rectangle Tool (Draw Feature) +As a graphic designer, I want to draw rectangles using the rectangle tool, so I can create shapes for the needed illlustrations or diagrams. + +**Acceptance Criteria:** + +1. User can select the Rectangle tool from the toolbar. +2. Clicking and dragging on the canvas can create the rectangle shape, under 4 secs. +3. Rectangles will remain editable after being drawn. +4. The rectangle has default properties (stroke color, fill color, width) +5. Undo/Redo actions should correctly add or remove the rectangle. +6. If the user presses Esc while drawing, the operation is cancelled and no rectangle is created. +