krushiraj / krushiraj/krushiraj.github.io

Refactor code

Open Beginner friendly
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

https://github.com/krushiraj/krushiraj.github.io/blob/67e78fe76423c3cebbfeec6f507569bac08bfa6e/terminal-app/src/components/TerminalContainer.vue#L358

Change this to switch instead of having an ugly chain of if-else-s.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open terminal-app/src/components/TerminalContainer.vue at line 358 and inspect the existing if-else chain. Replace that chain with a switch while preserving its current behavior, then run the terminal app and verify the affected command paths still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.