Skip to content

[C4GT] REFACTORING #104

@geeky-abhishek

Description

@geeky-abhishek

Project Details

UCI is created with a vision to make the conversation flow creation configurable to a level, that it can be done by program owners, without the intervention of any engineers at all. At the same time, it also envisions reducing the redundant coding required for enabling the same business logic for different channels.

UCI aims to democratize the use of different communication channels such as WhatsApp, Telegram, SMS, email and more across all governance use cases.

UCI is being used to create 2 ways communication channels via chatbots between lakhs of teachers in Uttar Pradesh & the state. These chatbots are configured from an admin panel and trigger notifications to the teachers. Teachers then click on the notifications on their Android phones and talk to the chatbot. This is making day to day communication realtime & very effective between teachers and the state.

UCI-WEB-CHANNEL is a frontend application which uses UCI backend for communication.

Features to be implemented

Refactor Each Page/Component inside the path apps/uci/web/src/components & apps/uci/web/app based on the acceptance criteria of a component/page

Learning Path

Complexity

Medium

Skills Required

Javascript, Typescript, React, NextJS, React testing library, JEST

Name of Mentors:

@geeky-abhishek

Project size

8 Weeks

Product Set Up

Acceptance Criteria

  • Lines of code in a file <= 250

  • Unit Test Cases using Jest for backend and React Testing Library for frontend

  • e2e Test Caes using Playwright

  • All linting rules should be passed

  • Proper Types should be added

  • All strings used should be translated

  • Functions and variables used should be memoized

  • Have separate css file for each page/component

  • Proper naming conventions should be followed

  • Proper test case

  • Should not have inline style

C4GT

This issue is nominated for Code for GovTech (C4GT) 2023 edition.
C4GT is India's first annual coding program to create a community that can build and contribute to global Digital Public Goods. If you want to use Open Source GovTech to create impact, then this is the opportunity for you! More about C4GT here: https://codeforgovtech.in/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions