SDG AI Lab in partnership with UNDP DRT and CBi has developed an online tool – a Frontier Technology Radar for Disaster Risk Reduction (FTR4DRR), which allows for the systematic tracking and understanding of frontier technologies as they are developed. This would categorize technological solutions according to their technology type, disaster/crisis type and maturity level. Moreover, it is expected that the tool developed would encourage knowledge and experience-sharing among development stakeholders on the use of frontier technologies in disaster and conflict contexts. The Frontier Technology Radar for Disaster Risk Reduction (FTR4DRR) aims to highlight the potential of technological solutions in disaster contexts to those working in the fields of risk reduction, response and recovery. It supports development stakeholders to navigate the variety of existing and emerging technologies and their possible use cases.
11
stars
4
forks
source link
Code refactors to implement best practices and clean code concepts #255
Redundant code removed. Console log statements, unused imports and commented out code that were not needed or non consequential were removed without affecting UI or functionality
Style changes:
In-line styles were removed from elements and added to existing or new css files.
Styles in CSS classes were sorted alphabetically.
Where possible, the !Important flags were removed from styles and replaced by improving the respective style specificity.
Absolute imports were introduced to replace relative imports where more than one directory level was involved.
Standard TypeScript code style rules were introduced and a pre-push git hook used to enforce adherence before new changes are pushed to the repo.
The title section of the radar page was refactored to compose all needed components for easier maintainability.
A radarState context was set up to introduce a global state which can then accessed by other components.
Hi @OzgeOzkaya a reminder for you to have a look at this PR and test. I have other PRs that depend on this one which I'd like to get into the develop branch. Thank you
Summary of changes made:
!Important
flags were removed from styles and replaced by improving the respective style specificity.radarState
context was set up to introduce a global state which can then accessed by other components.For more details of the changes made look at https://github.com/orgs/SDG-AI-Lab/projects/14 which contains individual issues for these changes and their related pull requests.