Week 14 - Updating DrawPanel architecture

ganimtron_10
Published: 09/26/2022

What did you do this week?


This week I continued updating the DrawShape and DrawPanel. 

So as we can see below, whenever we create, translate, or rotate the shapes on the panel, it sometimes overlaps the mode_panel or mode_text which are used to select and show the current mode respectively.

To resolve this, I created a PR #678 which moves the mode_panel and the mode_text to be on the borders of the panel.

Along this, there were some similar functionalities in the Grouping Shapes PR and the DrawShape due to which some lines of code were repeating. To remove this duplicacy I created a PR #679 to move these functions to the helper.py file.

Then I tried different ways of highlighting the shapes,

1. To create a copy of the shape and scale it in the background so that it looks like a border or highlighted edges.

2. Add yellow color to the shape so that it looks brighter.

Did you get stuck anywhere?


No, I didn't get stuck this week.

What is coming up next?


Working on these new PRs to get them merged. Implement a highlighting feature.

DJDT

Versions

Time

Settings from gsoc.settings

Headers

Request

SQL queries from 1 connection

Static files (2312 found, 3 used)

Templates (11 rendered)

Cache calls from 1 backend

Signals

Log messages