Fix Footer Component to Display Version Information with Fallbacks
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:
@GMishx , @shaheemazmalmmd
Sir please assign this issue , so that i can work on it .
ook i will do this
As the project is currently under development and also handiled the case mentioned.