Skip to content

Fix : Fetch organizations dynamically from collection #177

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

Merged
merged 2 commits into from
Feb 14, 2025

Conversation

akshayw1
Copy link
Contributor

Description

This PR replaces the hardcoded organizations on the profile page with dynamically fetched data from the organization collection. A new function and reducer have been added to handle this process.

Related Issue

Closes **Issue #176 ** – Organizations were previously hardcoded, but now they are dynamically fetched from the backend.

Motivation and Context

  • Ensures that users see up-to-date organization data.
  • Improves maintainability by removing static data.
  • Enhances the user experience by reflecting real-time data updates.

How Has This Been Tested?

  • Verified API calls successfully retrieve organization data.
  • Tested UI updates upon receiving new data.
  • Ensured no breaking changes in other components.
  • Manual testing on multiple devices and browsers.

Screenshots or GIF (In case of UI changes)

image

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)

Checklist

  • My code follows the code style of this project.
  • My change does not introduce breaking changes.
  • I have updated the documentation accordingly (if needed).
  • I have added tests to verify my changes.
  • All new and existing tests passed.

Let me know if you'd like any modifications! 🚀

akshayw1 and others added 2 commits February 14, 2025 02:42
Added function and reducer to fetch all organizations on the profile page.
Replaced hardcoded organizations with dynamic data from the organization collection.
@rajutkarsh07 rajutkarsh07 merged commit f187a1b into c2siorg:master Feb 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants