FOSSologyUI icon indicating copy to clipboard operation
FOSSologyUI copied to clipboard

Fix Footer Component to Display Version Information with Fallbacks

Open sammy0318 opened this issue 8 months ago • 1 comments

Issue Description:- Problem: The Footer component currently displays empty or undefined version information when the version data is not available. This results in placeholders being shown in the UI: Version: [], Branch: [], Commit: [#undefined] built @

This occurs because:

There are no fallback values when version properties are undefined or null Error handling in the fetchVersion function doesn't provide user feedback when the API call fails The useEffect dependency array is incomplete, which could cause rendering issues

Expected behavior: The Footer should display meaningful fallback values (like "N/A") when version information is unavailable, and it should provide user feedback when version data cannot be fetched.

Impact: This issue impacts users' ability to identify which version of FOSSologyUI they're working with. Fixing it will improve the user experience and system transparency.

Screenshots:

Image

Image

@GMishx , @shaheemazmalmmd
Sir please assign this issue , so that i can work on it .

sammy0318 avatar Apr 22 '25 19:04 sammy0318

ook i will do this

Aditya30ag avatar Jun 15 '25 17:06 Aditya30ag

As the project is currently under development and also handiled the case mentioned.

shaheemazmalmmd avatar Nov 13 '25 05:11 shaheemazmalmmd