Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic(23777) : bi-directional-frontend #542

Open
wants to merge 71 commits into
base: master
Choose a base branch
from

Conversation

@cla-bot cla-bot bot added the cla-signed label Aug 29, 2024
@vanch3d vanch3d force-pushed the epic/23777/bi-directional-frontend branch 3 times, most recently from 7ef1fa9 to d7026fe Compare September 10, 2024 11:10
@vanch3d vanch3d force-pushed the epic/23777/bi-directional-frontend branch from 2d7158f to 17cfaed Compare September 11, 2024 15:05
@vanch3d vanch3d self-assigned this Sep 16, 2024
@vanch3d vanch3d force-pushed the epic/23777/bi-directional-frontend branch 2 times, most recently from fa1dd1b to 17ec687 Compare September 27, 2024 13:19
@vanch3d vanch3d added the do not merge Do not merge until this label is removed. label Oct 29, 2024
feat(25160): Add devices and brokers to the workspace

* feat(25160): add mock for bi-directional

* feat(25160): add type for DEVICE node

* feat(25160): add custom node for DEVICE

* refactor(25160): remove the show host option

* refactor(25160): add device-related handle to adapter

* feat(25160): add device node and link to adapter to the workspace

* test(25160): add tests

* test(25160): fix tests

* test(25160): add tests

* test(25160): fix tests and rename the file

* refactor(25160): updated type
fix(24988): Fix the drag-select creation of group

* fix(24988): fix the selection-by-drag for creating groups

* test(24988): add ReactFlow test wrapper

* test(24988): add tests

* test(24988): fix type

* chore(24988): fix names
feat(25282): Add workspace node for subscribed clients

* feat(25282): add react-query key for client

* feat(25282): add react-query hook for listing clients

* feat(25282): add react-query hook for creating clients

* feat(25282): add mocks

* feat(25282): add types for broker client

* feat(25282): add Client node type to the workspace

* refactor(25282): refactor the mocks

* chore(25282): fix export

* feat(25282): add client nodes to the workspace

* refactor(25282): refactor the client node

* fix(25282): fix mocks

* fix(25282): fix type

* fix(25282): fix layout

* fix(25282): fix imports

* test(25282): fix tests

* test(25282): add tests

* test(25282): add tests + mocks

* test(25282): add tests

* refactor(25282): fix property name

* refactor(25282): fix property name

* test(25282): fix name

* feat(25282): add react query hooks for delete and update

* feat(25282): add creation of subscription to client node

* test(25282): fix test

* feat(25282): add client topics to the Edge collection routine

* test(25282): fix tests

* test(25282): fix mocks and tests

* test(25282): fix mocks and tests

* chore(25282): rename abbreviated variables
refactor(25329): Refactor the toolbars in the workspace

* feat(25329): add toolbar components for the workspace nodes

* feat(25329): add toolbar to the main nodes

* refactor(25329): remove deprecated toolbar from the workspace

* refactor(25329): refactor context toolbar

* refactor(25329): add adapter CTAs to toolbar

* refactor(25329): add bridge CTAs to toolbar

* refactor(25329): add edge CTAs to toolbar

* fix(25329): fix translations

* refactor(25329): refactor group toolbar

* chore(25329): remove deprecated code

* test(25329): refactor custom node testing

* test(25329): add tests

* test(25329): fix test

* test(25329): add tests and fix testing wrapper

* refactor(25282): refactor the button group for styling

* feat(25282): add configuration for the zoom factor

* fix(25468): fix bug

* chore(25468): rename abbrevs
feat(25263): Relocate subscriptions to the workspace

* refactor(25263): refactor the inward/outward icons

* feat(25263): add right side panel for devices

* feat(25263): add types for the subscription manager

* feat(25263): add navigate for the adapter toolbar

* feat(25263): add config panel for subscriptions

* feat(25263): add RJSF wrapper

* feat(25263): add management of the subscription properties from the J…

* feat(25263): add expand/collapse button on the panel

* feat(25263): add form

* feat(25263): add mock outward subscription JSONSchema

* refactor(25263): add support for `create` and `multiple` options in t…

* feat(25263): add right side panel for devices

* chore(25263): a bit of cleaning

* feat(25263): add type for the outward subscriptions

* fix(25263): add submit handling

* fix(25263): fix bug with creatable options

* fix(25263): fix type

* fix(25263): fix layout

* feat(25263): add a custom field for deprecated/hidden feature in a RJ…

* fix(25263): fix type

* test(25263): add tests

* test(25263): add tests

* fix(25263): fix type

* chore(25263): rename component

* test(25263): add tests

* refactor(25263): refactor the subscription manager

* test(25263): add tests

* refactor(25263): refactor the expand button

* test(25263): add tests

* refactor(25263): refactor error handling

* fix(25263): fix props

* fix(25263): fix error message

* test(25263): add tests

* chore(25263): a bit of cleaning

* fix(25263): fix condition

* refactor(25263): fix extraction

* test(25263): remove deprecated only

* refactor(25263): improve literals

* chore(25263): a bit of cleaning
feat(25265): Add a schema mapping editor to the subscriptions

* feat(25265): add custom field for the outward subscription editor

* feat(25265): add mocks

* feat(25265): add mocks

* refactor(25265): refactor the json schema browser

* feat(25265): add list component for subscription

* feat(25265): add placeholder for the data model components

* feat(25265): add placeholder for mapping editor

* feat(25265): add placeholder for the mapping item

* feat(25265): add container for the subscription

* feat(25265): add react query hooks for payloads

* refactor(25265): refactor mocks

* fix(25265): fix props

* fix(25265): fix initial size of the side panel

* refactor(25265): add the data models into the source and destination …

* feat(25265): add topic selector

* feat(25265): add handler for changes

* refactor(25265): refactor topic and tag icons

* fix(25265): fix mocks

* feat(25265): add support for PLC Tags

* refactor(25265): add placeholder for transformation editor

* fix(25265): fix loader

* fix(25265): add PLC Tags

* fix(25265): add PLC Tags

* fix(25265): fix layout

* fix(25265): fix types

* fix(25265): fix types

* chore(25265): update dependencies

* fix(25265): remove faker generator

* feat(25265): add drag and drop

* fix(25265): fix layout

* feat(25265): add draggable flag to the property browser

* refactor(25265): add support for mapping validation

* chore(25265): linting

* feat(25265): update translations

* refactor(25265): fix the mocks

* refactor(25265): fix types

* fix(25265): fix extraction of object-based properties

* feat(25265): serialise the mappings

* refactor(25265): fix layout

* chore(25265): eslint

* chore(25265): bit of cleaning

* test(25265): fix test

* test(25265): add test

* chore(25265): a bit of renaming

* refactor(25265): export the custom border style for drop zones

* refactor(25265): refactor main icons

* refactor(25265): refactor tags

* test(25265): add tests

* test(25265): add tests

* test(25265): add tests

* test(25265): add tests

* test(25265): add tests

* test(25265): add tests

* test(25265): add tests

* test(25265): fix tests

* test(25265): fix tests

* refactor(25265): fix button size

* fix(25265): fix bug with finding mapping

* test(25265): add tests

* test(25265): fix coverage

* refactor(25265): refactor component

* refactor(25265): refactor component

* test(25265): add tests

* fix(25265): fix creatable status

* test(25265): add tests

* fix(25265): fix review issues
refactor(25464): Improver visual identity of the workspace

* refactor(25464): export visual mapping for adapter status

* refactor(25464): export zoom selectors

* refactor(25464): add glue to adapter and bridge nodes

* refactor(25464): add style to the minimap

* refactor(25464): change icon

* refactor(25464): refactor nodes to introduce skeleton rendering

* refactor(25464): hide toolbars when nodes are being dragged

* refactor(25464): add devices to the group when adapters are added

* test(25464): fix tests

* fix(25464): change theme to match data hub reactflow

* refactor(25464): refactor the toolbar button group for reuse

* test(25464): add tests

* fix(25464): fix edge markers

* test(25464): fix tests

* fix(25464): fix review issues
feature(25905): Add payload sampling to the mapping editor

* feat(25905): add mqtt client dependency

* feat(25905): add mqtt client hook

* feat(25905): add sampling to the mqtt client hook

* refactor(25905): refactor hook into a context provider

* refactor(25905): add sample as examples on the property renderer

* chore(25905): a bit of cleaning

* feat(25905): add MQTT wildcards

* feat(25905): add provider

* feat(25905): add payload inference for creating schema

* fix(25905): temporarily fix the leading / in the tag wheel

* fix(25905): add error handling

* fix(25905): fix error handling

* feat(25905): add translations

* refactor(25905): add title to the JSONSchema browser

* refactor(25905): fix layout

* refactor(25905): handle error messages

* refactor(25905): handle multiple sources

* fix(25905): fix mocks

* chore(25905): update dependencies

* chore(25905): update dependencies

* fix(25905): fix type

* feat(25905): add examples to the inferred schema

* refactor(25905): refactor the json schema formatting

* fix(25905): fix pattern matching for array

* refactor(25905): add props for showing examples or not

* refactor(25905): improve layout

* refactor(25905): improve usability of the view selector

* test(25905): fix test

* chore(25905): linting

* refactor(26088): refactor the node mappings to handle tags and topics

* test(25905): fix tests

* test(25905): fix tests

* test(25905): fix tests

* chore(25905): a bit of cleaning

* fix(25905): fix accessibility (scrollable region)

* fix(25905): a bit of cleaning and renaming
refactor(26237): Refactor the request infrastructure to the OpenAPI specs

* feat(26237): generate openAPI specs

* refactor(26237): refactor the client types

* refactor(26237): refactor the client props

* fix(26237): fix bug with undefined queries

* refactor(26237): refactor the client hooks to utilise the stubs and p…

* refactor(26237): update mocks

* test(26237): update tests

* fix(26237): fix mocks

* test(26237): fix test

* test(26237): fix test

* refactor(26237): refactor the topic sampler to utilise the stubs

* refactor(26237): refactor the domain tag to utilise the stubs

* fix(26237): fix context for the RJSF form

* refactor(26237): refactor the bidirectional utilities to reflect WRIT…

* fix(26237): add hooks for all the domain tags requests

* fix(26237): fix mocks

* refactor(26237): refactor the domain schemas to utilise the stubs

* refactor(26237): refactor the MSW startup in order to integrate the M…

* chore(26237): linting

* chore(26237): renamed test files

* test(26237): fix tests

* test(26237): add tests

* refactor(26237): refactor the payload to schema converter

* refactor(26237): refactor the schema hooks

* refactor(26237): fix mocks

* refactor(26237): fix react query

* test(26237): fix tests

* test(26237): fix tests

* test(26237): fix tests

* chore(26237): a bit of cleaning
refactor(26088): Refactor frontend to align with new mapping paradigm

* fix(26088): revert change of the custom format for MQTT topic in the …

* refactor(26088): refactor detection of path for topics

* refactor(26088): refactor extraction of topics

* refactor(26088): refactor the adapter mocks

* fix(26088): fix bug with file name

* refactor(26088): refactor types

* refactor(26088): add handling of mapping root property

* fix(26088): fix handling of inward mappings

* test(26088): fix tests

* fix(26088): fix handling of outward mappings

* test(26088): fix tests

* fix(26088): fix handling of subscription export

* test(26088): fix tests

* test(26088): fix tests

* chore(26088): a bit of renaming

* test(26088): fix tests

* chore(26088): a bit of renaming

* test(26088): fix tests

* chore(26088): a bit of renaming

* chore(26088): a bit of renaming

* chore(26088): a bit of renaming

* fix(26088): fix translations

* refactor(26088): refactor types

* test(26088): fix tests

* chore(26088): a bit of cleaning

* fix(26088): fix translations

* refactor(26088): refactor feature flag for split mapping schema

* test(26088): fix tests

* fix(26088): cleaning
refactor(26909): Refactor device toolbar

* refactor(26909): refactor the node toolbar to make right-hand side CT…

* refactor(26909): refactor the device toolbar to move tags on left-han…

* refactor(26909): refactor the translations for consistency

* test(26909): fix tests

* chore(26909): linting
feat(25881): Add Device Tag management to the workspace

* fix(25881): fix toolbar rendering

* feat(25881): add a placeholder for the device metadata

* feat(25881): add a basic renderer for the list of device tags

* feat(25881): add a basic formatter for the data points

* feat(25881): update the device side panel

* feat(25881): add the editor form

* fix(25881): fix translations

* fix(25881): fix translations

* feat(25881): add drawer for the tag editor

* fix(25881): add proper data to the rendering of tags

* feat(25881): generate tag jsonschema based on inward mapping specs

* refactor(25881): refactor creation of tag manager

* refactor(25881): refactor component to support different status

* test(25881): fix tests

* fix(25881): add titles and descriptions

* test(25881): add tests

* fix(25881): add mocks

* refactor(25881): extend react query hook for mocking purpose

* fix(25881): fix type

* chore(25881): disable TS error

* feat(25881): create a standalone tag management hook

* fix(25881): fix status

* fix(25881): fix disabled state

* refactor(25881): add hooks for all tags update

* refactor(25881): replace tag manager

* feat(25881): create a standalone tag management hook

* fix(25881): fix error logs

* fix(25881): fix translations

* refactor(25881): refactor the manager context

* fix(25881): fix update tags mutator

* refactor(25881): refactor the onSubmit handling

* fix(25881): fix translations

* test(25881): add tests

* chore(25881): linting

* test(25881): fix tests

* test(25881): fix tests

* test(25881): fix tests

* fix(25881): fix error management

* test(25881): add tests

* test(25881): fix tests

* test(25881): add tests

* test(25881): add tests

* test(25881): add tests

* test(25881): add tests

* test(25881): fix tests

* fix(25881): fix accessibility with autocomplete

* refactor(25881): rename method and reorganise hook
feat(25908): add mapping validations

* refactor(25908): refactor mapping form for consistency across the oth…

* refactor(25908): refactor onward mapping mock for

* refactor(25908): refactor inward mapping manager

* refactor(25908): fix submission pattern

* refactor(25908): fix submission pattern

* refactor(25908): fix submission pattern

* fix(25908): fix linting

* refactor(25908): refactor types

* refactor(25908): refactor types and component

* refactor(25908): refactor to single selection

* refactor(25908): fix mocks

* refactor(25908): refactor types and component

* refactor(25908): fix form

* refactor(25908): fix types

* fix(25908): fix bug

* fix(25908): fix translations

* fix(25908): fix custom format

* test(25908): update mocks for data types

* refactor(25908): add enabling props to query

* fix(25908): fix types

* fix(25908): fix icon for number

* refactor(25908): add type for array items

* refactor(25908): refactor property item out of its list

* refactor(25908): refactor mapping step component

* refactor(25908): refactor property item

* refactor(25908): refactor editor

* fix(25908): fix props

* fix(25908): fix translations

* fix(25908): fix placeholders for source and destination entities

* fix(25908): fix layout and error handling of the mapping editor

* fix(25908): add utilities for types and properties

* fix(25908): fix filtering of properties and change handler

* refactor(25908): refactor layout and validation of mapping instructions

* refactor(25908): remove deprecated code

* fix(25908): add submit button

* refactor(25908): refactor the UX tu use drawer

* fix(25908): remove internal submit button from rjsf form

* chore(25908): remove deprecated code

* chore(25908): remove deprecated code

* fix(25908): remove internal submit button from rjsf form

* fix(25908): add zero-width space for splitting paths

* fix(25908): fix proper use of key rather tha n title

* fix(25908): linting

* fix(25908): fix layout

* refactor(25908): add mutation

* test(25908): fix tests

* test(25908): fix tests

* test(25908): fix tests

* test(25908): fix tests

* test(25908): fix tests

* fix(25908): remove disabled prop

* test(25908): add tests

* chore(25908): linting

* test(25908): fix texts

* refactor(25908): add a custom mapping context to the form

* refactor(25908): add metadata to the internal mapping structure

* refactor(25908): add custom validation

* test(25908): fix test

* fix(25908): fix review issues
@vanch3d vanch3d force-pushed the epic/23777/bi-directional-frontend branch from 47cefc3 to d42336f Compare October 31, 2024 16:22
@vanch3d vanch3d marked this pull request as ready for review October 31, 2024 18:01
@vanch3d vanch3d requested review from sfrehse and h2xd October 31, 2024 18:02
@vanch3d vanch3d removed the do not merge Do not merge until this label is removed. label Oct 31, 2024
fix(27041): Align backend and frontend on bi-directionality

* fix(27041): fix accessibility issues

* fix(27041): update OpenAPI specs

* fix(27041): disable client retries

* fix(27041): remove deprecated code

* fix(27041): refactor hiding of mappings in config panel

* chore(27041): update dependencies for vulnerabilities

* test(27041): fix tests

* fix(27041): fix mermaid config

* fix(27041): fix bidirectional checks

* test(27041): update mocks and tests

* test(27041): fix bug with tiptap update

* chore(27041): delete deprecated code

* fix(27041): refactor RJSForm across Edge

* fix(27041): fix form validation

* fix(27041): fix types

* fix(27041): refactor the mapping form

* fix(27041): fix type

* test(27041): fix tests

* refactor(27041): refactor the inward and outward mapping managers for…

* fix(27041): a bit of cleaning

* chore(27041): update dependencies

* fix(27041): fix types

* test(27041): fix tests

* fix(27041): fix problem with $schema and validation

* fix(27041): improve readability

* refactor(27041): refactor usage of flag for mapping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant