Refactor code structure for improved readability and maintainability#352
Open
danielmarv wants to merge 1 commit into
Open
Refactor code structure for improved readability and maintainability#352danielmarv wants to merge 1 commit into
danielmarv wants to merge 1 commit into
Conversation
✅ Deploy Preview for open-elements ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: Ntege Daniel <danientege785@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
This pull request refactors the updates/changelog UI and translations to support a new "Monthly Updates" format, improves the structure and display of update items, and streamlines the code for maintainability. The main changes include updating translation files, redesigning the
UpdatesClientcomponent, and introducing a more flexible data model for update items.UI/UX and Data Model Refactor:
UpdatesClient.tsxcomponent to use a new data model (MonthlyUpdate,UpdateCategory,ItemType) with clearer separation of update categories and item types, enabling more granular display (e.g., Features, Bug Fixes, Improvements). Category sections now display item type badges and icons, and contributors are shown with avatars. [1] [2] [3]Internationalization (i18n) Updates:
en.json) and German (de.json) translation files to reflect the new "Monthly Updates" terminology, revised section titles and descriptions, and removed unused keys related to the old changelog format. [1] [2]Component and Code Simplification:
CollapsibleSection,TruncatedSection) and replaced them with new, streamlined implementations that better fit the new data structure and UX. [1] [2]Visual and Thematic Improvements:
Contributor Display Enhancements:
These changes modernize the updates page, making it more user-friendly and maintainable, and set the foundation for future enhancements.
Type of Change
Related Issue(s)
Closes #ISSUE_NUMBER
Changes Made
How to Test
Checklist