feat: implement frontend notification feature#426
Open
jalvaro-lks wants to merge 170 commits intoeclipse-tractusx:feat/consumer-dppfrom
Open
feat: implement frontend notification feature#426jalvaro-lks wants to merge 170 commits intoeclipse-tractusx:feat/consumer-dppfrom
jalvaro-lks wants to merge 170 commits intoeclipse-tractusx:feat/consumer-dppfrom
Conversation
…bility and dynamic section handling - Updated SchemaSelector to use a span for button-like behavior, improving accessibility with keyboard navigation. - Modified SubmodelCreator to initialize form data based on section types, allowing for better handling of primitive, array, and object sections. - Implemented dynamic section ordering based on schema properties, enhancing flexibility in form rendering. - Enhanced error parsing to support nested structures and array indices, improving validation feedback. - Added support for custom section display names and explicit section ordering through schema configuration. - Introduced recursive validation for nested arrays and objects, ensuring comprehensive error checking. - Updated schema loading to include properties for dynamic section detection. - Refactored utility functions to accommodate changes in schema structure and validation logic.
…he field blocks. Added the BatteryPass Schema for testing
…ions - Fix error detection in nested array/object fields with parentPath tracking - Display complete field paths with array indices in error viewer (e.g., materialList[0].currency) - Implement special rendering for array sections to eliminate title duplication - Add informational empty state message with prominent "Add Item" button for all arrays - Reposition "Add Item" button: hide from header when empty, show after last item when populated - Add margin to "Add Item" button in section headers for better spacing from expand icon - Convert number/integer fields to store actual numeric types in JSON instead of strings - Add input validation for numeric fields to only allow numbers, decimal points, and minus signs - Preserve spinner controls on number fields while maintaining validation - Support negative values and decimals in number fields with proper type conversion
… detection Refactors schema-based element identification and internal structure to enable more precise error detection and UI highlighting. Note: support for multiple nesting depth levels is still pending.
…in red whrn they have an error. Still not working propperly the error view listing, lot of errors left
…they have an error
…r in read. Cleaner interface.
… objet inside an array item. Added red container style when errors. Nested objets are not zipable anymore
…ure. First implementation
…e precission when showing the field, complex objets (arrays only) get marked when navigation, schema rules now shows item attribute's rules
…the information icon of the field
…e required since no inside field is filled
…he new complex system
…ng the first time
… and the previous imported JSON disappeared
…onsumer-dpp-implementations
…r-dpp-implementations feat: enhance submodel creator with advanced and extended capabilities
…fix-not-been-able-to-consume-dpp fix: fix not been able to consume dpp
…bot/npm_and_yarn/ichub-frontend/jspdf-4.2.0 chore(deps): bump jspdf from 3.0.4 to 4.2.0 in /ichub-frontend
…yarn/ichub-frontend/immutable-5.1.5
…bot/npm_and_yarn/ichub-frontend/immutable-5.1.5 chore(deps): bump immutable from 5.1.3 to 5.1.5 in /ichub-frontend
…/update-main-readme docs: replace stale architecture images with accurate Mermaid diagrams
…adme Feat/readme: updated main readme!
…d disable the moched or API notifications
- Updated backend URL in index.html for local development. - Added trash and restore actions for notifications in NotificationInbox component. - Introduced undo snackbars for archive, trash, unarchive, and restore actions. - Enhanced NotificationContext to manage trashing and restoring notifications. - Updated mock notification service and notification mapper to include isTrashed state. - Modified notification types and stats to account for trashed notifications. - Added translations for new actions in multiple languages.
Contributor
|
@jalvaro-lks please provide an update on this PR. |
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.
WHAT
Adds a frontend notifications feature.
A notification panel has been implemented, accessible from the header icon, where users can view incoming notifications in a mailbox-like interface. Notifications can be sorted and grouped.
From this panel, users can also verify access to shared resources and send feedback to the provider indicating whether the connection was successful.
WHY
This change was necessary to give users a clear and centralized way to receive system messages, manage them easily, and confirm whether access to shared resources works correctly, improving communication between consumer and provider.
FURTHER NOTES
Includes UI components for the notifications panel, interaction logic for sorting and grouping notifications, and integration with the flow for verifying resource access and sending feedback.
Closes #425