Kernix13 / Kernix13/vision-grid-express

Analyze code, write pseudo-code, then refactor project

Open
#82 0 comments 0 reactions 1 assignee Claimed by @Kernix13 View on GitHub
refactor ui
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Description

I wanted to see the flow of my functions and event listeners so I added `console.log` statement in every function and listener, and for some I added `console.trace`. That showed me when every function runs based on 19 different user actions on the home page and 27 user actions on the board page.

I found errors and mistakes just by doing that. I am now writing pseudo-code retroactively and it is showing me where I have repetitive code and where I need to refactor.

I am going to write pseudo-code for all user actions then refactor the entire project.

## Type of Issue

- [x] Refactor / cleanup

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.