From 84c4e69ac0238e6476d03b58183c2e5653e84904 Mon Sep 17 00:00:00 2001
From: Sandeep Kumar Sharma
+
+
+ User interface for an open source distributed tracing & observability platform!
+
+ [![Contributors][contributors-shield]][contributors-url]
+ [![Forks][forks-shield]][forks-url]
+ [![Stargazers][stars-shield]][stars-url]
+ [![Issues][issues-shield]][issues-url]
+
+
-
-[](https://codecov.io/gh/hypertrace/hypertrace-ui)
+
Hypertrace-UI
+
+ More about hypertrace »
+
+
+
|
-| :------------------------------------------------------------------------------------------------: | --- |
-| _Hypertrace UI Architecture_ | d |
+## Code Architecture
-## Building Image locally
+Hypertrace-UI code is divided into many smaller projects which gives the code base a better structure. Here are the following projects.
-Hypertrace UI uses gradle to build a docker image. Gradle wrapper is already part of the source code. To build Hypertrace UI image, run:
+1. `Assest Library` : This consits the assests which are being used in the application. For example images, icons etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/assets-library)
+2. `Common` : This consits the common code/features such as application contants, colors, telemetry, utilities (with common angular pipes) etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/common)
+3. `Components` : Hypertrace-ui has wide variety of custom made angular components. This is the place for generic components (eg. `Input` Component) and directives(eg. `LoadAsync` Directive). Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/components)
+4. `Dashboards` : This consits the common code for dashboards such as base model, properties etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/dashboards)
+5. `Graphql-Client` : Hypertrace-ui uses the [apollo graphql](https://www.apollographql.com/) to fetch the data from backend. This is the place where all the base graphql request related code is present such as graphql arguments, resolvers, builders etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/graphql-client)
+6. `Observability` : This consits all the different pages, components, services related to distributes tracing and observability. This is also the home for charts as well. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/observability)
+7. `Test Utils` : This consits some unit test utilities for dashboards etc.. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/test-utils)
+8. `UI App` : This is not a project but a entry point for hypertrace-ui app. This consists home page, routes, config module etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/src)
+
+`NOTE` : Each project, consists a barrel file named `public-api.ts`. This handles all the exports at single place which improves the importing in the app.
+For example
+
+```ts
+@import { Color } from '@hypertrace/common'
+```
+
+## The Essentials
+
+Let's talk about the essentials for the development in the hypertrace-ui.
+
+### Angular Specifics
+
+Since hypertrace-ui uses `angular` as core framework, all the concepts specific to angular are being used and applied in hypertrace-ui. Such as `components`, `directives`, `pipes`, `dependency injection`, `services`, `modules`, `lazy loading` etc. Check out the angular [docs](https://angular.io/docs) for more info.
+
+`NOTE` : Test file name ends with `.test.ts` instead of `.spec.ts` for better readability.
+
+### Dashboards
+
+Hypertrace-UI uses dashboards to build custom pages. These dashboards are widely used in the application. These dashboards are build using `Hyperdash` and `Hyperdash-Angular` libraries. Check out both here ([Hyperdash](https://github.com/hypertrace/hyperdash/blob/main/README.md) & [Hyperdash angular](https://github.com/hypertrace/hyperdash-angular/blob/main/README.md))
+- [![Contributors][contributors-shield]][contributors-url] - [![Forks][forks-shield]][forks-url] - [![Stargazers][stars-shield]][stars-url] - [![Issues][issues-shield]][issues-url] -
From 494a07593ea0d692fb707fb9d9c4dfd56ac5c786 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:25:26 +0530 Subject: [PATCH 03/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4b73ec40..0d9080f27 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ npm start Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. -To run Unit test cases (execute the unit tests via Jest) +To run unit test cases (execute the unit tests via Jest) ```sh npm run test From 5974b85ea9809d3966cf4ddb184dd362a07c2eea Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:25:33 +0530 Subject: [PATCH 04/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d9080f27..644cc1f78 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Hypertrace-ui uses `angular` as the framework. On top of angular, following tech ## Code Architecture -Hypertrace-UI code is divided into many smaller projects which gives the code base a better structure. Here are the following projects. +Hypertrace-UI code is divided into many smaller projects which gives the code base a better structure. Here are the projects. 1. `Assest Library` : This consits the assests which are being used in the application. For example images, icons etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/assets-library) 2. `Common` : This consits the common code/features such as application contants, colors, telemetry, utilities (with common angular pipes) etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/common) From ee4c3c0b3327f27b4324d08b6dc477ce1f27a6e4 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:25:42 +0530 Subject: [PATCH 05/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 644cc1f78..02f59f070 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Hypertrace-ui uses `angular` as the framework. On top of angular, following tech Hypertrace-UI code is divided into many smaller projects which gives the code base a better structure. Here are the projects. -1. `Assest Library` : This consits the assests which are being used in the application. For example images, icons etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/assets-library) +1. `Assest Library` : This consists of the assets which are being used in the application. For example; images, icons etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/assets-library) 2. `Common` : This consits the common code/features such as application contants, colors, telemetry, utilities (with common angular pipes) etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/common) 3. `Components` : Hypertrace-ui has wide variety of custom made angular components. This is the place for generic components (eg. `Input` Component) and directives(eg. `LoadAsync` Directive). Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/components) 4. `Dashboards` : This consits the common code for dashboards such as base model, properties etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/dashboards) From 2bd4bbc21f666c640874f84d49271ade0aa99de5 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:25:49 +0530 Subject: [PATCH 06/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 02f59f070..3a438ec5c 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Hypertrace-ui uses `angular` as the framework. On top of angular, following tech Hypertrace-UI code is divided into many smaller projects which gives the code base a better structure. Here are the projects. 1. `Assest Library` : This consists of the assets which are being used in the application. For example; images, icons etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/assets-library) -2. `Common` : This consits the common code/features such as application contants, colors, telemetry, utilities (with common angular pipes) etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/common) +2. `Common` : This consists of the common code/features such as application constants, colors, telemetry, utilities (with common angular pipes) etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/common) 3. `Components` : Hypertrace-ui has wide variety of custom made angular components. This is the place for generic components (eg. `Input` Component) and directives(eg. `LoadAsync` Directive). Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/components) 4. `Dashboards` : This consits the common code for dashboards such as base model, properties etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/dashboards) 5. `Graphql-Client` : Hypertrace-ui uses the [apollo graphql](https://www.apollographql.com/) to fetch the data from backend. This is the place where all the base graphql request related code is present such as graphql arguments, resolvers, builders etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/graphql-client) From 3eb614ec5d897f369308268d6d410f738d0eb304 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:25:55 +0530 Subject: [PATCH 07/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a438ec5c..1817891b8 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Hypertrace-UI code is divided into many smaller projects which gives the code ba 1. `Assest Library` : This consists of the assets which are being used in the application. For example; images, icons etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/assets-library) 2. `Common` : This consists of the common code/features such as application constants, colors, telemetry, utilities (with common angular pipes) etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/common) -3. `Components` : Hypertrace-ui has wide variety of custom made angular components. This is the place for generic components (eg. `Input` Component) and directives(eg. `LoadAsync` Directive). Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/components) +3. `Components` : Hypertrace-ui has a wide variety of custom made angular components. This is the place for generic components (eg. `Input` Component) and directives(eg. `LoadAsync` Directive). Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/components) 4. `Dashboards` : This consits the common code for dashboards such as base model, properties etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/dashboards) 5. `Graphql-Client` : Hypertrace-ui uses the [apollo graphql](https://www.apollographql.com/) to fetch the data from backend. This is the place where all the base graphql request related code is present such as graphql arguments, resolvers, builders etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/graphql-client) 6. `Observability` : This consits all the different pages, components, services related to distributes tracing and observability. This is also the home for charts as well. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/observability) From 0ed8388aa4fc1fa4327951f25483a424528c697d Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:26:03 +0530 Subject: [PATCH 08/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1817891b8..25a32aade 100644 --- a/README.md +++ b/README.md @@ -318,7 +318,7 @@ Now let's break this down. - We have used decorator `TableCellRenderer` by which we're registering this cell renderer (on build) for usage. - `type` property is the unique string to define each cell renderer. - `alignment` is used for the cell alignment, could be - left, right and center -- `parser` is used to parse the data, it is also defined in the similar way. Suppose we are getting a data as `['test1', 'test2']` and we want it be used like `{value1: 'test1', value2: 'test2'}` then we can create a custom parser and can handle this use case. For no operation we use `CoreTableCellParserType.NoOp` +- `parser` is used to parse the data. It can also be defined similar to a cell renderer. Suppose we are getting data as `['test1', 'test2']` and we want it to be marshalled into `{value1: 'test1', value2: 'test2'}` then we can create a custom parser and can handle the transformation. For no operation we use `CoreTableCellParserType.NoOp` `Usage` : Now once this is done, we can use this in our table using `display` property. This will be same as the type of the cell renderer. From d6650cf041f4e8e842937f2c8dd115ad4ed67e22 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:26:09 +0530 Subject: [PATCH 09/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25a32aade..6dd3af058 100644 --- a/README.md +++ b/README.md @@ -320,7 +320,7 @@ Now let's break this down. - `alignment` is used for the cell alignment, could be - left, right and center - `parser` is used to parse the data. It can also be defined similar to a cell renderer. Suppose we are getting data as `['test1', 'test2']` and we want it to be marshalled into `{value1: 'test1', value2: 'test2'}` then we can create a custom parser and can handle the transformation. For no operation we use `CoreTableCellParserType.NoOp` -`Usage` : Now once this is done, we can use this in our table using `display` property. This will be same as the type of the cell renderer. +`Usage` : Once this is done, we can use this in our table using `display` property. This will be same as the type of the cell renderer. `Module import` From f5a62a0bdbbf3d16fa2dad9fe212b9ef7f7a2407 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:26:15 +0530 Subject: [PATCH 10/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6dd3af058..9da4353d6 100644 --- a/README.md +++ b/README.md @@ -343,7 +343,7 @@ public readonly columnConfigs: TableColumnConfig[] = [ ]; ``` -`NOTE`: We highly recommend you to check out all the existing example of table and cell renderers to learn about these more. +`NOTE`: We highly recommend you to check out all the existing example of table and cell renderers to learn more. ## GraphQl Handlers From 3fcb7fcc09a1ce4f3a1e03d617180d28b37f6301 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:26:21 +0530 Subject: [PATCH 11/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9da4353d6..125460a0f 100644 --- a/README.md +++ b/README.md @@ -397,7 +397,7 @@ export interface GraphQlHelloResponse { } ``` -Now let's break this down. +Let's break this down. - We have used a unique symbol, as a type for the request. - Two interfaces `GraphQlHelloRequest` and `GraphQlHelloResponse` for request and response. From 48baf1d2cce00befacbd18e33831ea59d5c75495 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:26:28 +0530 Subject: [PATCH 12/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 125460a0f..923f9c3e0 100644 --- a/README.md +++ b/README.md @@ -436,7 +436,7 @@ Testing is an integral part of hypertrace-ui and hypertrace-ui maintains a good ## Contributions -Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. +Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. ## Others From c4edcbcf5471cd02393e47b74a022c4d389071ab Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:26:42 +0530 Subject: [PATCH 13/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 923f9c3e0..5bc5d156c 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Hypertrace-UI code is divided into many smaller projects which gives the code ba 1. `Assest Library` : This consists of the assets which are being used in the application. For example; images, icons etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/assets-library) 2. `Common` : This consists of the common code/features such as application constants, colors, telemetry, utilities (with common angular pipes) etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/common) 3. `Components` : Hypertrace-ui has a wide variety of custom made angular components. This is the place for generic components (eg. `Input` Component) and directives(eg. `LoadAsync` Directive). Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/components) -4. `Dashboards` : This consits the common code for dashboards such as base model, properties etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/dashboards) +4. `Dashboards` : This consists of the common code for dashboards such as base model, properties etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/dashboards) 5. `Graphql-Client` : Hypertrace-ui uses the [apollo graphql](https://www.apollographql.com/) to fetch the data from backend. This is the place where all the base graphql request related code is present such as graphql arguments, resolvers, builders etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/graphql-client) 6. `Observability` : This consits all the different pages, components, services related to distributes tracing and observability. This is also the home for charts as well. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/observability) 7. `Test Utils` : This consits some unit test utilities for dashboards etc.. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/test-utils) From b2eebbb420bdf67ed0206783df9437e17c6fb3ea Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:27:01 +0530 Subject: [PATCH 14/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bc5d156c..6c0b89e49 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Hypertrace-UI code is divided into many smaller projects which gives the code ba 2. `Common` : This consists of the common code/features such as application constants, colors, telemetry, utilities (with common angular pipes) etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/common) 3. `Components` : Hypertrace-ui has a wide variety of custom made angular components. This is the place for generic components (eg. `Input` Component) and directives(eg. `LoadAsync` Directive). Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/components) 4. `Dashboards` : This consists of the common code for dashboards such as base model, properties etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/dashboards) -5. `Graphql-Client` : Hypertrace-ui uses the [apollo graphql](https://www.apollographql.com/) to fetch the data from backend. This is the place where all the base graphql request related code is present such as graphql arguments, resolvers, builders etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/graphql-client) +5. `Graphql-Client` : Hypertrace-ui uses [apollo graphql](https://www.apollographql.com/) for API calls. This is the place where all the base graphql request related code is present such as graphql arguments, resolvers, builders etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/graphql-client) 6. `Observability` : This consits all the different pages, components, services related to distributes tracing and observability. This is also the home for charts as well. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/observability) 7. `Test Utils` : This consits some unit test utilities for dashboards etc.. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/test-utils) 8. `UI App` : This is not a project but a entry point for hypertrace-ui app. This consists home page, routes, config module etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/src) From ed200c8797d2beaec4b1ea968c1a17f06d78cabb Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:27:11 +0530 Subject: [PATCH 15/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c0b89e49..154e4ee40 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Hypertrace-UI code is divided into many smaller projects which gives the code ba 3. `Components` : Hypertrace-ui has a wide variety of custom made angular components. This is the place for generic components (eg. `Input` Component) and directives(eg. `LoadAsync` Directive). Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/components) 4. `Dashboards` : This consists of the common code for dashboards such as base model, properties etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/dashboards) 5. `Graphql-Client` : Hypertrace-ui uses [apollo graphql](https://www.apollographql.com/) for API calls. This is the place where all the base graphql request related code is present such as graphql arguments, resolvers, builders etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/graphql-client) -6. `Observability` : This consits all the different pages, components, services related to distributes tracing and observability. This is also the home for charts as well. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/observability) +6. `Observability` : This consists of all the different pages, components, services related to distributed tracing and observability. This project is the home for charts as well. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/observability) 7. `Test Utils` : This consits some unit test utilities for dashboards etc.. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/test-utils) 8. `UI App` : This is not a project but a entry point for hypertrace-ui app. This consists home page, routes, config module etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/src) From a69762138f503dca9ba40060d76dbe292b786b07 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:27:22 +0530 Subject: [PATCH 16/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 154e4ee40..a422bfb57 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ Hypertrace-UI code is divided into many smaller projects which gives the code ba 4. `Dashboards` : This consists of the common code for dashboards such as base model, properties etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/dashboards) 5. `Graphql-Client` : Hypertrace-ui uses [apollo graphql](https://www.apollographql.com/) for API calls. This is the place where all the base graphql request related code is present such as graphql arguments, resolvers, builders etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/graphql-client) 6. `Observability` : This consists of all the different pages, components, services related to distributed tracing and observability. This project is the home for charts as well. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/observability) -7. `Test Utils` : This consits some unit test utilities for dashboards etc.. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/test-utils) +7. `Test Utils` : This consists of some unit test utilities for dashboards etc.. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/test-utils) 8. `UI App` : This is not a project but a entry point for hypertrace-ui app. This consists home page, routes, config module etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/src) `NOTE` : Each project, consists a barrel file named `public-api.ts`. This handles all the exports at single place which improves the importing in the app. From 730f910a42b660709a1ecd4f9749f40adc463677 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:27:33 +0530 Subject: [PATCH 17/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a422bfb57..acc6950e7 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Hypertrace-UI code is divided into many smaller projects which gives the code ba 5. `Graphql-Client` : Hypertrace-ui uses [apollo graphql](https://www.apollographql.com/) for API calls. This is the place where all the base graphql request related code is present such as graphql arguments, resolvers, builders etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/graphql-client) 6. `Observability` : This consists of all the different pages, components, services related to distributed tracing and observability. This project is the home for charts as well. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/observability) 7. `Test Utils` : This consists of some unit test utilities for dashboards etc.. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/test-utils) -8. `UI App` : This is not a project but a entry point for hypertrace-ui app. This consists home page, routes, config module etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/src) +8. `UI App` : This is not a project but a entry point for hypertrace-ui app. This consists of the home page, routes, config module etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/src) `NOTE` : Each project, consists a barrel file named `public-api.ts`. This handles all the exports at single place which improves the importing in the app. For example From dcc6edd7d45e374c6b33123f9f262cb88ce43b62 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:27:48 +0530 Subject: [PATCH 18/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index acc6950e7..7025dabb8 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Hypertrace-UI code is divided into many smaller projects which gives the code ba 7. `Test Utils` : This consists of some unit test utilities for dashboards etc.. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/projects/test-utils) 8. `UI App` : This is not a project but a entry point for hypertrace-ui app. This consists of the home page, routes, config module etc. Check this out [here](https://github.com/hypertrace/hypertrace-ui/tree/main/src) -`NOTE` : Each project, consists a barrel file named `public-api.ts`. This handles all the exports at single place which improves the importing in the app. +`NOTE` : Each project contains a barrel file named `public-api.ts`. This handles all the exports at a single place which improves the importing in the app. For example ```ts From 0a02d35489cf2acd1ccc4e2760452862ab5b4bb0 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:27:58 +0530 Subject: [PATCH 19/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7025dabb8..78f2258a5 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ For example ## The Essentials -Let's talk about the essentials for the development in the hypertrace-ui. +Let's talk about the essentials for development in hypertrace-ui. ### Angular Specifics From 1d89caeb8f595c8e1282d58fe25aa782f5ad62a5 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:28:13 +0530 Subject: [PATCH 20/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 78f2258a5..6e0524761 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ public readonly defaultJson: ModelJson = { Now let's break this down. -- It will create a dasboard for an unique location. +- It will create a dasboard for a unique location. - Dasboards are designed in a way that, it takes a modal json as input property and renders the corresponding widgets. - There are 3 core concepts - widget , widget renderer and data source. From 731d108f7015474bb62758d4d775c817473b37b2 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:28:28 +0530 Subject: [PATCH 21/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e0524761..621c152d0 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ public readonly defaultJson: ModelJson = { Now let's break this down. - It will create a dasboard for a unique location. -- Dasboards are designed in a way that, it takes a modal json as input property and renders the corresponding widgets. +- Dasboards are designed in a way that it takes a modal json as input property and renders the corresponding widgets. - There are 3 core concepts - widget , widget renderer and data source. Let's talk about these individually. From 2b2cf9b3b1d10240349068ce22fc245d29ef00ec Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Tue, 8 Mar 2022 23:28:38 +0530 Subject: [PATCH 22/32] Update README.md Co-authored-by: Arjunlal B <63222211+arjunlalb@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 621c152d0..b9f1a22fe 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ export class HelloWidgetRendererComponent extends WidgetRenderer