Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#537 Improving table loading state PR #548

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

Ndevu12
Copy link
Contributor

@Ndevu12 Ndevu12 commented Oct 4, 2024

PR Description

I refactored the Invitation Table and added skeleton Table components to improve loading by using full loading simulation and error state handling.

Description of tasks that were expected to be completed

The task was only one which was to improve the table loading state.

How has this been tested?

1. Manual Testing:

Clone this repo, cd into it ,checkout the branch improve-table-on-loading-state then run :

  • npm install : to install dependences
  • npm run dev to start the server

or use te deployed link https://metron-devpulse-git-improve-table-on-loading-state-metron.vercel.app/ and login as admin using the following email: [email protected] and password:Test@12345.

  • Verified "Loading..." message inside the table.
  • Verified toast notification for network errors.
  • Verified correct data display after loading.

2. Steps to Reproduce:

  • Trigger data fetch to see the "Loading..." message.
  • Simulate network error to see toast notification.
  • Verify data display after loading completes.

Number of Commits

1

Screenshots (If appropriate)

Screenshot 2024-10-08 at 14 06 32 Screenshot 2024-10-08 at 14 03 54

Not applicable

Please check this Checklist before you submit your PR:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My code generate no warnings
  • My test coverage meet the set test coverage threshold
  • There are no vulnerabilities
  • There are no conflicts with the base branch

Copy link

vercel bot commented Oct 4, 2024

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

Name Status Preview Comments Updated (UTC)
metron-devpulse ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 5:50pm

@Ndevu12 Ndevu12 changed the title #504 fixing teams cards (#545) #537 Improving table loading state PR Oct 4, 2024
@Ndevu12 Ndevu12 self-assigned this Oct 4, 2024
@Ndevu12 Ndevu12 added enhancement New feature or request Need Reviews Fighters Team Fighters labels Oct 4, 2024
@Ndevu12 Ndevu12 linked an issue Oct 4, 2024 that may be closed by this pull request
@Ndevu12 Ndevu12 force-pushed the improve-table-on-loading-state branch from 9687725 to a90a27e Compare October 6, 2024 05:11
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
@ncutixavier ncutixavier merged commit 7b4a633 into develop Oct 8, 2024
6 checks passed
@ncutixavier ncutixavier deleted the improve-table-on-loading-state branch October 8, 2024 12:10
GSinseswa721 pushed a commit that referenced this pull request Oct 9, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 9, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 9, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>
GSinseswa721 pushed a commit that referenced this pull request Oct 10, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>

fixing all issues introduced in tickets CRUD (#533)

fix(implement fix on action button): (#569)

- restrict extra white space to display when the action Modal opens

Update Invite Form for email and role validation (#567)

Disable filter button when no role or status selected and update only invitations with a pending status (#565)
niyobertin pushed a commit that referenced this pull request Oct 11, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>

fixing all issues introduced in tickets CRUD (#533)

fix(implement fix on action button): (#569)

- restrict extra white space to display when the action Modal opens

Update Invite Form for email and role validation (#567)

Disable filter button when no role or status selected and update only invitations with a pending status (#565)
niyobertin pushed a commit that referenced this pull request Oct 11, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>

fixing all issues introduced in tickets CRUD (#533)

fix(implement fix on action button): (#569)

- restrict extra white space to display when the action Modal opens

Update Invite Form for email and role validation (#567)

Disable filter button when no role or status selected and update only invitations with a pending status (#565)
ncutixavier pushed a commit that referenced this pull request Oct 11, 2024
* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>

fixing all issues introduced in tickets CRUD (#533)

fix(implement fix on action button): (#569)

- restrict extra white space to display when the action Modal opens

Update Invite Form for email and role validation (#567)

Disable filter button when no role or status selected and update only invitations with a pending status (#565)

Co-authored-by: Jean Paul Elisa NIYOKWIZERWA <[email protected]>
JacquelineTuyisenge added a commit that referenced this pull request Oct 11, 2024
new

advancing calender functionality (#480)

adding undrop trainee feature (#532)

* fixing teams cards

* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>

fix unresponsive footer (#544)

implement attendance (#497)

Co-authored-by: “kebean” <“[email protected]”>

fix layout crashing while scrolling in teams on dashboard (#552)

advancing calender functionality (#480) (#531)

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

resolve blank page (#535)

* fixing teams cards (#548)

* fixing teams cards

---------

Co-authored-by: Igor IHIMBAZWE <[email protected]>
Co-authored-by: Igor IHIMBAZWE <[email protected]>

fixing all issues introduced in tickets CRUD (#533)

fix(implement fix on action button): (#569)

- restrict extra white space to display when the action Modal opens

Update Invite Form for email and role validation (#567)

Disable filter button when no role or status selected and update only invitations with a pending status (#565)

fix(attendance): fixes recording attendance bug (#550)

fix updated ratings page (#568)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Fighters Team Fighters Need Reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve loading data when filtering invitations
8 participants