Build you resume like lego!
Build you resume like lego!
Doesn’t look like a ton of work, but I did many changes under the hood to correctly implement resize clamping and consistent sizing even when dragging the blocks across the inventory and baseplate.
Next step is to also clamp the positioning of the blocks!
Log in to leave a comment
I added resizing capability!!!
ResizeableBlock, a container to add resizing handles to a block ^595fbd300d77f2485197c2bd7cf69f21477ed6b6
isResizing, resizeDirection, startPos (of cursor), and startSize
handleResizeStart, handleResizeMove, and handleResizeEnd
handleResizeStart initializes the 4 things the resizing keep track of (i.e. setting the cursor position to the appropriate location) and adds event listeners for mousemove and mouseup
handleResizeMove calculates the change the cursor position and determines the new size of the block (if there is significant enough of a change)handleResizeEnd cleans up the variables and listenersNext is reallowing drag and drop from and to the inventory
Log in to leave a comment
I GOT THE GRID DnD TO WORK!!!!
I’m getting closer and closer to having a lego builder!
Log in to leave a comment
In this work block, the main goal was to implement labels that were editable and that rendered properly.
Log in to leave a comment
Tons of work with the drag and drop! I refactored the code so that everything is more modularized.
I also added drag and drop of sections and zones to the inventory.
I also added creation of new sections and zones.
A lot of drag and drop logic!!
Log in to leave a comment
Went for the next step and added drag and drop for sections.. Now you can not only drag and drop zones, but also drag and drop sections into zones!!!!!
Log in to leave a comment
Implemented drag and drop for multiple items at once! This is definitely a learning curve, but After I learn how to do drag and drop, the possibilities are ENDLESS!!!!
Log in to leave a comment
I implemented drag and drop using dnd-kit in react! It was a lot of learning because i had never used this framework before. Nonetheless, I figured it out!
Log in to leave a comment
I created React components to recreate the planned interview in Typescript and React.
Not the prettiest, but at least I got the code down!
Log in to leave a comment
I spent a lot of time brainstorming about how I can go about the resume builder. I created a preliminary design and added types to the project. (A lot of the planning was done in a markdown file in VSCode)
Log in to leave a comment