Skip to content

Conversation

@mutsinziisaac
Copy link
Contributor

@mutsinziisaac mutsinziisaac commented Sep 12, 2024

PR Description
This PR refactors the user model to save the country code alongside the phone number and updates the relevant files accordingly.

Description of tasks that were expected to be completed

  • Refactor the user model to combine country code and phone number.
  • Update files affected by this change (especially those involving user communication).

Previously, the country code and phone number were stored separately in MongoDB, which created a poor user experience for managers and admins when communicating or retrieving a trainee's phone number.

How has this been tested?

  1. Clone the repo.
  2. Checkout the branch fix-tel.
  3. Set up the environment variables as indicated in .env.example.
  4. Run npm install followed by npm run dev to ensure the app runs successfully.

Deployed Link:

N/A

Track PR (Issue number & link):
N/A

Screenshots (If appropriate):
N/A

@vercel
Copy link

vercel bot commented Sep 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
atlp-devpulse-fn ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 26, 2024 6:25am

Copy link
Contributor

@Mugisha146 Mugisha146 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job

@ncutixavier
Copy link
Contributor

@mutsinziisaac You have many unnecessary changes

Copy link
Contributor

@ncutixavier ncutixavier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please disable your formatter to avoid unnecessary changes

Comment on lines 350 to 358
<Button
type="submit"
label="Signup"
className="my-1 mb-4 sm:w-full w-5/6 "
/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary formatting

@Salim-54
Copy link
Contributor

I can't merge this
image

You should make sure that if I select a country I am going to get a suggestion of the relevant country code
and drop down of the country code suggests the country as the country dropdown which is very incorrect.

@mugishaj092 mugishaj092 added Ready For Merge and removed Ready For Review Extra attention is needed labels Sep 25, 2024
@SaddockAime SaddockAime self-requested a review September 25, 2024 14:39
@SaddockAime SaddockAime added Ready For Review Extra attention is needed and removed Ready For Merge labels Sep 25, 2024
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit c0f7cda and detected 0 issues on this pull request.

View more on Code Climate.

@mugishaj092 mugishaj092 added Ready For Merge and removed Ready For Review Extra attention is needed labels Sep 26, 2024
@Salim-54 Salim-54 merged commit 6568857 into develop Sep 26, 2024
7 checks passed
Ishimwe7 pushed a commit that referenced this pull request Oct 10, 2024
* fix: remove placeholder property

* fix code & tell issue

* rebasing

* fix code issue

---------

Co-authored-by: ceelogre <[email protected]>
Ismaelmurekezi pushed a commit that referenced this pull request Oct 13, 2024
* fix: remove placeholder property

* fix code & tell issue

* rebasing

* fix code issue

---------

Co-authored-by: ceelogre <[email protected]>
Philimuhire pushed a commit that referenced this pull request Oct 22, 2024
* Add Not Found Page

* Add Sign In Profile Picture

Ft-send-bulky-email (#61)

* new

* added a send email model

* email

* email

Co-authored-by: UmuhireJessie <[email protected]>

TO be removed

fix: run the app

ft-superadmin-roles&permissions(superadmin can view members)

feat(ft-user-register): user should be able to create account

superAdmin register user

fix(routes): Add routes directory

add login page and add name field on user registration by superadmin

create program

bg: Added Loader

ft(): programs page

role & permission

implementation of delete role and permissions

ft():delete program

implementation of delete role and permissions

feature:Application form using Google Form

implementation of delete role and permissions

ft(): edit program

new changes

ft():Applicant Dashboard

add grading system form

feat(admin list applications):view applications

ft admin view applications

admin update status of candidate application

Feature github actions (#119)

* fix: remove placeholder property

* Have github actions setup with necessary jobs

* Have code climate errors removed

* Corrected codeclimate issues

* --ammend

* --ammend

---------

Co-authored-by: ceelogre <[email protected]>
Co-authored-by: Ndahimana Bonheur <[email protected]>

* fix: remove placeholder property

* #103 Navigation fixed

---------

Co-authored-by: ceelogre <[email protected]>
Co-authored-by: Ndahimana Bonheur <[email protected]>

Fix number can't be shared (#130)

Co-authored-by: Mugisha <[email protected]>

* fix: remove placeholder property

* fix duplicate links

---------

Co-authored-by: ceelogre <[email protected]>

Ft minimize dashboard menu #110 (#140)

* fix: remove placeholder property

* ft minimize dashboard menu

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard scrollbar

* fix minimize dashboard scrollbar

* fix minimize dashboard scrollbar

* Fix layout spacing between sidebar and main content in AdminLayout

* new

* Fix layout spacing between sidebar and main content in AdminLayout

* fix layout

---------

Co-authored-by: ceelogre <[email protected]>
Co-authored-by: Prince-Kid <[email protected]>
Co-authored-by: Mucyo Prince <[email protected]>
Co-authored-by: Aime-Patrick <[email protected]>

* fix: remove placeholder property

* The built-in superadmin account cannot create a program

---------

Co-authored-by: ceelogre <[email protected]>

Ft shareable job post (#139)

* fix: remove placeholder property

* Ft():shareable job post page

* Feature: Adding shareable job post buttons

* Feature: Adding shareable job post buttons

* Feature: Adding shareable job post buttons

* fix codeclimate issue

* add gmail and fix telegram link

* add gmail sharing

* fix url sharing

* fix url

* fix url

* fix codeclimate

* applicant share application

---------

Co-authored-by: ceelogre <[email protected]>
Co-authored-by: dean-daryl <[email protected]>
Co-authored-by: Bahati <[email protected]>
Co-authored-by: uwituzeb <[email protected]>

Ft add favicon (#124)

* fix: remove placeholder property

* add favicon svg

* added favicon

* removed unneccessary added port number

* resolved conflicts

* resolved conflicts

* resolved conflicts

* add favicon svg

* resolved conflicts

* removed unneccessary added port number

* resolved conflicts

* resolved conflicts

* added favicon

* removed unneccessary added port number

* resolved conflicts

* resolved conflicts

* resolved conflicts

* added favicon

* removed unneccessary added port number

* resolved conflicts

* resolved conflicts

* resolved conflicts

* resolved conflicts

* resolved conflicts

* resolved conflicts

* resolved conflicts

---------

Co-authored-by: ceelogre <[email protected]>

Fix tel (#123)

* fix: remove placeholder property

* fix code & tell issue

* rebasing

* fix code issue

---------

Co-authored-by: ceelogre <[email protected]>

Fix/update trainee info (#137)

* add validations and work on edit

* ensure birthdate is correctly set in formData

* ensure all formData are populated correctly

* fix codeclimate issue

* update traineUpdate

* update traineUpdate

* update traineUpdate

* update traineUpdate

* update traineUpdate

* update traineUpdate

* fix traineUpdate

* add loader

* add sidebar link for trainee applicants

* add redirection after updating

* feature: improve trainee details page

* handling missing application info, also adding download functionality

* fixing error related to download and refactoring

* Update TrainneeDetails.tsx

* handling issues related to deployment

* Fix number can't be shared (#130)

Co-authored-by: Mugisha <[email protected]>

* #102 sidebar links review (#128)

* fix: remove placeholder property

* fix duplicate links

---------

Co-authored-by: ceelogre <[email protected]>

* Ft minimize dashboard menu #110 (#140)

* fix: remove placeholder property

* ft minimize dashboard menu

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard scrollbar

* fix minimize dashboard scrollbar

* fix minimize dashboard scrollbar

* Fix layout spacing between sidebar and main content in AdminLayout

* new

* Fix layout spacing between sidebar and main content in AdminLayout

* fix layout

---------

Co-authored-by: ceelogre <[email protected]>
Co-authored-by: Prince-Kid <[email protected]>
Co-authored-by: Mucyo Prince <[email protected]>
Co-authored-by: Aime-Patrick <[email protected]>

* #118 fx: builtinSuperAdminCreateProgram (#126)

* fix: remove placeholder property

* The built-in superadmin account cannot create a program

---------

Co-authored-by: ceelogre <[email protected]>

* feature: improve trainee details page

* handling missing application info, also adding download functionality

* Update TrainneeDetails.tsx

* adding way to send email and other adjustments

* refining and fixing some issues

* Update webpack.config.js

* customizing way of sending email

* refactoring code to fix issue related to code climate

* fixing issue for deployment

* fixing issues related to refactoring

---------

Co-authored-by: MUGISHA Emmanuel <[email protected]>
Co-authored-by: Mugisha <[email protected]>
Co-authored-by: ISHIMWE Jean Baptiste <[email protected]>
Co-authored-by: ceelogre <[email protected]>
Co-authored-by: ManziPatrick <[email protected]>
Co-authored-by: Prince-Kid <[email protected]>
Co-authored-by: Mucyo Prince <[email protected]>
Co-authored-by: Aime-Patrick <[email protected]>
Co-authored-by: Niyonshuti Jean De Dieu <[email protected]>

fixes #168 auth and admin login (#169)

* feature: improve trainee details page (#172)

* handling missing application info, also adding download functionality

* fixing error related to download and refactoring

* Update TrainneeDetails.tsx

* handling issues related to deployment

* Fix number can't be shared (#130)

* #102 sidebar links review (#128)

* fix: remove placeholder property

* fix duplicate links

---------

* Ft minimize dashboard menu #110 (#140)

* fix: remove placeholder property

* ft minimize dashboard menu

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard scrollbar

* fix minimize dashboard scrollbar

* fix minimize dashboard scrollbar

* Fix layout spacing between sidebar and main content in AdminLayout

* new

* Fix layout spacing between sidebar and main content in AdminLayout

* fix layout

---------

* #118 fx: builtinSuperAdminCreateProgram (#126)

* fix: remove placeholder property

* The built-in superadmin account cannot create a program

---------

* feature: improve trainee details page

* handling missing application info, also adding download functionality

* Update TrainneeDetails.tsx

* adding way to send email and other adjustments

* refining and fixing some issues

* Update webpack.config.js

* customizing way of sending email

* refactoring code to fix issue related to code climate

* fixing issue for deployment

* fixing issues related to refactoring

---------

Co-authored-by: MUREKEZI Ismael <[email protected]>
Co-authored-by: MUGISHA Emmanuel <[email protected]>
Co-authored-by: Mugisha <[email protected]>
Co-authored-by: ISHIMWE Jean Baptiste <[email protected]>
Co-authored-by: ceelogre <[email protected]>
Co-authored-by: ManziPatrick <[email protected]>
Co-authored-by: Prince-Kid <[email protected]>
Co-authored-by: Mucyo Prince <[email protected]>
Co-authored-by: Aime-Patrick <[email protected]>

Ft search job post (#187)

* ft(Add search): Add entry search

* Will add user seach Job Functionalities --squashed commits

* single page to view and search Jobs

* will make jobs and search be on same page

* updating functionality

* Real time searching

---------

Co-authored-by: Jmukakalisa <[email protected]>

154 crud application form (#167)

* Will add create application feature

* Will add update application form feature

* Will add view application form feature

* Will add dark mode card

* Will add create application feature

* Will add update application form feature

* Will add view application form feature

* Will add dark mode card

Add Verify Email (#179)

Co-authored-by: vegetason <[email protected]>

ft(Add search): Add entry search (#136)

Co-authored-by: Jmukakalisa <[email protected]>

Forget password   #147 (#178)

* fogetpassword

* ft-forget password

* reset and forget password

* reset and forget password

* reset and forget password

* reset and forget password

* reset password

* reset update background

* reset update background

* reset update background

* reset password

* reset password

* reset password

* reset password

* yarn.lock

* Ft search job post (#187)

* ft(Add search): Add entry search

* Will add user seach Job Functionalities --squashed commits

* single page to view and search Jobs

* will make jobs and search be on same page

* updating functionality

* Real time searching

---------

Co-authored-by: Jmukakalisa <[email protected]>

* 154 crud application form (#167)

* Will add create application feature

* Will add update application form feature

* Will add view application form feature

* Will add dark mode card

* Will add create application feature

* Will add update application form feature

* Will add view application form feature

* Will add dark mode card

* Add Verify Email (#179)

Co-authored-by: vegetason <[email protected]>

* resolve comflit

* resolve comflit

* resolve comflit

* resolve comflit

---------

Co-authored-by: Aime Brues <[email protected]>
Co-authored-by: Jmukakalisa <[email protected]>
Co-authored-by: MUGISHA Joseph <[email protected]>
Co-authored-by: Irakoze Paulin <[email protected]>
Co-authored-by: vegetason <[email protected]>

Ft edit, publish and unpublish jobs (#189)

* fix: remove placeholder property

* fix code & tell issue

* will add ft for editing jobs

---------

Co-authored-by: ceelogre <[email protected]>

Fix fault alerts (#182)

* correct error messages

* work on resolving fault alerts

remove a bug (#190)

Co-authored-by: vegetason <[email protected]>

Admin dashboard (#181)

General search and filtration admin (#184)

* general-search-admin

* Will add results tab

general search updates

resolved conflicts

admin general search updates

fixing code climate issues

* resolving conflicts

---------

Co-authored-by: MUGISHA Joseph <[email protected]>

* add applicant dashboard page

* add dashboard cards

* integrate with backend

* fetch all data from their respective queries

* remove console logs

* update cohort types and query

* fix routes

* fix code climate

* add graph

* fix chart

* delete yarn

* fix graph and login

* fix

* trigger

* revert

---------

Co-authored-by: uwituzeb <[email protected]>

Fix job Search (#199)

Co-authored-by: vegetason <[email protected]>

* feature: improve trainee details page (#172)

* handling missing application info, also adding download functionality

* fixing error related to download and refactoring

* Update TrainneeDetails.tsx

* handling issues related to deployment

* Fix number can't be shared (#130)

* #102 sidebar links review (#128)

* fix: remove placeholder property

* fix duplicate links

---------

* Ft minimize dashboard menu #110 (#140)

* fix: remove placeholder property

* ft minimize dashboard menu

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard by icon and categorize into section

* fix minimize dashboard scrollbar

* fix minimize dashboard scrollbar

* fix minimize dashboard scrollbar

* Fix layout spacing between sidebar and main content in AdminLayout

* new

* Fix layout spacing between sidebar and main content in AdminLayout

* fix layout

---------

* #118 fx: builtinSuperAdminCreateProgram (#126)

* fix: remove placeholder property

* The built-in superadmin account cannot create a program

---------

* feature: improve trainee details page

* handling missing application info, also adding download functionality

* Update TrainneeDetails.tsx

* adding way to send email and other adjustments

* refining and fixing some issues

* Update webpack.config.js

* customizing way of sending email

* refactoring code to fix issue related to code climate

* fixing issue for deployment

* fixing issues related to refactoring

---------

Co-authored-by: MUREKEZI Ismael <[email protected]>
Co-authored-by: MUGISHA Emmanuel <[email protected]>
Co-authored-by: Mugisha <[email protected]>
Co-authored-by: ISHIMWE Jean Baptiste <[email protected]>
Co-authored-by: ceelogre <[email protected]>
Co-authored-by: ManziPatrick <[email protected]>
Co-authored-by: Prince-Kid <[email protected]>
Co-authored-by: Mucyo Prince <[email protected]>
Co-authored-by: Aime-Patrick <[email protected]>

revert changes from develop (#205)

fix:dev conflict issues (#207)

added preferences page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants