-
Epic
-
Resolution: Unresolved
-
Normal
-
None
-
UI Tech debt
-
False
-
None
-
False
-
Not Selected
-
In Progress
-
57% To Do, 17% In Progress, 26% Done
Background:
MTV UI is a new project with a small codebase. To ensure its growth is easy to maintain, understand, and scale, we need to fix some issues and improve our development process. These changes will make work easier for the team and improve the project’s results.
Identified Issues:
- Project Structure: The current structure doesn’t follow best practices for a React project, which can cause confusion and inefficiencies.
- Common Library: It’s unclear if the common library is needed; we should consider refactoring or removing it.
- Global State Management: There’s no centralized way to manage the global state, making state handling and debugging harder.
- CI Reliability: The CI pipeline fails often. Related to Konflux.
- Linters: There are very few linting rules, which can lead to inconsistent code and missed errors.
- Testing: There’s no automated end-to-end (e2e) testing, increasing the chance of bugs.
- Project Infrastructure: Some scripts don’t work on macOS, which limits cross-platform compatibility.
- Code Quality: Many components don’t follow our best practices guide (link]).
- CI Improvements: The current CI setup does not support label addition and auto-merging where applicable. Adding these capabilities could streamline the workflow.
Why This Is Important:
These problems slow down development, cause more bugs, and take time away from building new features. Fixing them will help us:
- Deliver features faster and more reliably.
- Spend less time on debugging and fixes.
- Ensure the project can grow without becoming hard to manage.
- Improve the experience of working on this project for the team.
Workflow:
- Create Stories:
-
- Create a separate story for each of the issues listed above.
-
- Add tasks under each story to break down the work into smaller, logical pieces.
- Task Implementation:
-
- Each task should result in small pull requests (PRs) to make reviews easier and faster.
- Collaboration & Reviews:
-
- Work together as a team to discuss changes and review code.
-
- Follow updated best practices and standards during implementation.
- Monitoring & Feedback:
-
- Keep track of the impact of changes.
-
- Gather feedback from the team to make further improvements.
Expected Outcomes:
By following this plan and fixing the issues, we will create a stronger, more efficient codebase. This will help us work faster, reduce bugs, and create a better foundation for the MTV UI project to grow.
- relates to
-
MTV-1728 [UI] code cleanups for consistency
-
- Closed
-