Skip to content

Commit

Permalink
Merging develop into main for 2.14 release (hashgraph#2359)
Browse files Browse the repository at this point in the history
* fix lint

Signed-off-by: simvalery <[email protected]>

* Fix issue with back button inside the register dialog

Signed-off-by: Iryna Telesheva <[email protected]>

* Fix issue with Next button inside root-config component

Signed-off-by: Iryna Telesheva <[email protected]>

* Show validation error for already existed username on UI

Signed-off-by: Iryna Telesheva <[email protected]>

* Display validation error when entered passwords do not match

Signed-off-by: Iryna Telesheva <[email protected]>

* Add whitespace validation for create account and login forms

Signed-off-by: Iryna Telesheva <[email protected]>

* Add show/hide functionality for Create account/Login forms

Signed-off-by: Iryna Telesheva <[email protected]>

* Remove error from server from UI, fix error message for the existing username

Signed-off-by: Iryna Telesheva <[email protected]>

* Fix confirm password validation, restore data flow

Signed-off-by: Iryna Telesheva <[email protected]>

* Remove console logs

Signed-off-by: Iryna Telesheva <[email protected]>

* Fix control name

Signed-off-by: Iryna Telesheva <[email protected]>

* Add filtering for standard registries and policies lists

Signed-off-by: Iryna Telesheva <[email protected]>

* Add text for the case when there is no standard registries

Signed-off-by: Iryna Telesheva <[email protected]>

* Fix issues, refactor code

Signed-off-by: Iryna Telesheva <[email protected]>

* Fix issue when the user is unable to distinguish the schema policy based on version

Signed-off-by: Iryna Telesheva <[email protected]>

* Disable action buttons when the form is invalid

Signed-off-by: Iryna Telesheva <[email protected]>

* Mark required fields in forms

Signed-off-by: Iryna Telesheva <[email protected]>

* Add disableClose attribute to modal dialogs, cross icon to some of them

Signed-off-by: Iryna Telesheva <[email protected]>

* Update the UX of Registrant Application form

Signed-off-by: Iryna Telesheva <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* swagger

Signed-off-by: simvalery <[email protected]>

* fix PORT in use issue
fix build ussues
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix port generation
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix mongodb issue
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* update

* add swagger package
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* add swagger package
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* GITBOOK-362: Updated Installation guide

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* added policy syntax highlighting

Signed-off-by: artembuslaev <[email protected]>

* added policy suggestion mechanism

Signed-off-by: Artem Buslaev <[email protected]>

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* added policy syntax groups constant

Signed-off-by: Artem Buslaev <[email protected]>

* improving perfomance of suggestion algorithm

Signed-off-by: Artem Buslaev <[email protected]>

* added legend for suggestion configuration

Signed-off-by: Artem Buslaev <[email protected]>

* missing mint block tip

Signed-off-by: Artem Buslaev <[email protected]>

* added swagger docs

Signed-off-by: Artem Buslaev <[email protected]>

* changed suggestion algorithm and response

Signed-off-by: Artem Buslaev <[email protected]>

* added syntax highlighting to json block config

Signed-off-by: Artem Buslaev <[email protected]>

* changed suggestion to suggestions

Signed-off-by: Artem Buslaev <[email protected]>

* fix response codes

Signed-off-by: Artem Buslaev <[email protected]>

* change type to blockType

Signed-off-by: Artem Buslaev <[email protected]>

* fix comments

Signed-off-by: Artem Buslaev <[email protected]>

* added missing message memo

Signed-off-by: Artem Buslaev <[email protected]>

* update

* fix

* fix

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* added auto-generated swagger docs

Signed-off-by: Artem Buslaev <[email protected]>

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* remove api-docs
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* Fix issues found during QA testing

Signed-off-by: Iryna Telesheva <[email protected]>

* fix module editing in json

Signed-off-by: Artem Buslaev <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix perfomance on select block issue

Signed-off-by: Artem Buslaev <[email protected]>

* fix text

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix text

Signed-off-by: Stepan Kiryakov <[email protected]>

* Create readMe.md

* Update readMe.md

* Update readMe.md

* Add files via upload

* Rename Methodology Library/CDM/readme.md to Methodology Library/CDM/CDM AR-ACM0003/readme.md

* Add files via upload

* Delete CDM.policy

* Add files via upload

* policy.ts
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix 2280
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix 2242
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* feat: preview and adjustments

* Fix issue with action button disabling in token dialog

Signed-off-by: Iryna Telesheva <[email protected]>

* Change filtering by username to geography

Signed-off-by: Iryna Telesheva <[email protected]>

* Change the style of Generate button for SR, Registrant users

Signed-off-by: Iryna Telesheva <[email protected]>

* GITBOOK-364: Separated sections from Installation guide

* Add hover state for the generate button

Signed-off-by: Iryna Telesheva <[email protected]>

* enable config view of published modules
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix module "save as"
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* merge develop
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix bugs
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix get accounts
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix status codes
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* added ghgp policy [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* Updates main ICP policy to v.2.6.1.

Signed-off-by: AlexIvanHoward <[email protected]>

* fix accounts
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* GITBOOK-366: Separating Installation methods

* fix status codes
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix permissions
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* GITBOOK-369: Corrected manuaaly process

* GITBOOK-371: Added Auto Suggestion docs

* GITBOOK-372: Added syntax section in themes

* docs generation test
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* docs generation test
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix filter in report blocks

* added NEW status for vc-document

Signed-off-by: Artem Buslaev <[email protected]>

* fix filter in report blocks

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix invalid status codes
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* Solve hashgraph#1695
AWS Env secret
HCP Env secret
AZURE Env secret
Documentation
solve conflicts
api-docs

Signed-off-by: otherNet <[email protected]>

* six send VP

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix lint
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* update cdm policy [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* added cdm ams policy [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-373: added messagesReportBlock

* fix status codes
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix modules
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix profiles
remove unnesessary credentials

Signed-off-by: simvalery <[email protected]>

* fix module states

Signed-off-by: Artem Buslaev <[email protected]>

* fix validation

Signed-off-by: simvalery <[email protected]>

* up hedera sdk version
add network name in logs

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix style

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* Add swagger.yaml

* fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* test fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* test fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* test fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* test fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* test fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* Add swagger.yaml

* test fix swagger.yaml generation

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* save serials

* ignore main brunch

Signed-off-by: simvalery <[email protected]>

* GITBOOK-374: Ux in selecting standards update

* fix error codes

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* add missing keywords for policy syntax

Signed-off-by: Artem Buslaev <[email protected]>

* refactor syntax groups theme storage

Signed-off-by: Artem Buslaev <[email protected]>

* update

* fix preset readonly nested schemas

Signed-off-by: Artem Buslaev <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* auto fill suggestions config

Signed-off-by: Artem Buslaev <[email protected]>

* fix error codes

Signed-off-by: simvalery <[email protected]>

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* fix permissions

Signed-off-by: simvalery <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix errors

Signed-off-by: simvalery <[email protected]>

* fix errors

Signed-off-by: simvalery <[email protected]>

* fix error

Signed-off-by: simvalery <[email protected]>

* fix errors

Signed-off-by: simvalery <[email protected]>

* fix error

Signed-off-by: simvalery <[email protected]>

* fix error

Signed-off-by: simvalery <[email protected]>

* fix error

Signed-off-by: simvalery <[email protected]>

* compare modules

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* disable vault in api-tests

Signed-off-by: simvalery <[email protected]>

* update policies

* compare module

Signed-off-by: Stepan Kiryakov <[email protected]>

* update compare ui

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix search btn

Signed-off-by: Stepan Kiryakov <[email protected]>

* fixes

Signed-off-by: simvalery <[email protected]>

* fix lint

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix permission

Signed-off-by: simvalery <[email protected]>

* fix permission

Signed-off-by: simvalery <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* hashgraph#2064 fix mobile menu

Signed-off-by: Stepan Kiryakov <[email protected]>

* merge main

Signed-off-by: simvalery <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* remove latest tags

Signed-off-by: simvalery <[email protected]>

* update serials column [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* updated Irec timestamps

* fix docker start

Signed-off-by: simvalery <[email protected]>

* updated iREC10 recipient timestamp

* GITBOOK-376: Updated iREC timestamps

* added copy button to new versions

Signed-off-by: Artem Buslaev <[email protected]>

* fix createDate\updateDate in db

* fix navigate

* fix disable btn in request block

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix schema cache

Signed-off-by: Artem Buslaev <[email protected]>

* hotfix/form-scroll-buttons

Signed-off-by: Iryna Telesheva <[email protected]>

* Update the initial isShown array value

Signed-off-by: Iryna Telesheva <[email protected]>

* add swagger descriptions

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix suggestions on deleting policy/module

Signed-off-by: Artem Buslaev <[email protected]>

* use static swagger descriptions if need

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* bump version

Signed-off-by: simvalery <[email protected]>

* bump version

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix lock file

Signed-off-by: simvalery <[email protected]>

* GITBOOK-377: api-architecture-customization

---------

Signed-off-by: simvalery <[email protected]>
Signed-off-by: Iryna Telesheva <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: artembuslaev <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Signed-off-by: AlexIvanHoward <[email protected]>
Signed-off-by: otherNet <[email protected]>
Co-authored-by: Iryna Telesheva <[email protected]>
Co-authored-by: Artem Buslaev <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: prernaa.agarwal <[email protected]>
Co-authored-by: Felipe Neuhauss <[email protected]>
Co-authored-by: AlexIvanHoward <[email protected]>
Co-authored-by: otherNet <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>
Co-authored-by: Vanessa Lopes <[email protected]>
Co-authored-by: E. Santiago <[email protected]>
Co-authored-by: Serg Metelin <[email protected]>
  • Loading branch information
12 people committed Jul 25, 2023
1 parent 1a2930c commit c2484ec
Show file tree
Hide file tree
Showing 7 changed files with 188 additions and 59 deletions.
Binary file removed Methodology Library/CDM/CDM.policy
Binary file not shown.
23 changes: 0 additions & 23 deletions Methodology Library/CDM/readme.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Empty file removed api-docs/.env (1)
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
---
description: >-
For this section we will describe the user journey for the GHG policy
workflow, including the users that are involved within the import of the GHG
policy.
---

# GHG Policy User Journey UI Demo Guide

**Here are the users that will be involved within this GHG policy demo UI:**&#x20;

1. Standard Registry&#x20;
2. Employer
3. Employee

You will need to run the installation commands, open a tab on your browser and navigate to [http://localhost:3000/](http://localhost:3000/).&#x20;

### GHG policy for the Standard Registry&#x20;

Here in this demo for the Standard Registry, we will show the Standard Registry creating an account and importing the policy.

**GHG Policy IPFS timestamp 1674823890.277292460**&#x20;

**Step 1**

The first step is that you will need to either login in to your account that you have previously created or create a new account.&#x20;

\
Here we will create a new account. You will need to click on **“Create new”** which will then lead you to the page to add the necessary information.

<figure><img src="../../../.gitbook/assets/image (148).png" alt=""><figcaption></figcaption></figure>

**Step 2**

You will need to follow the step below to Configure your account if you have selected **“Create new”**. And select account type, in this case you will want to select **‘Standard Registry’** and create a new account.

<figure><img src="../../../.gitbook/assets/image (151).png" alt=""><figcaption></figcaption></figure>

You will then need to add your User name, Password and Confirm Password, then you will click on **“Create”**.&#x20;

<figure><img src="../../../.gitbook/assets/image (174).png" alt=""><figcaption></figcaption></figure>

**Step 3**

Once you have added the correct details to configure your account, you will need to either use your own Hedera credentials or, if you do not have them, press the **“Generate”** button to generate a Hedera Operator ID and an Operator Key. This will create your Hedera Consensus Service Topic, show your hBar balance, DID document and a Verifiable Credential etc. Then click on **“Next”**

You will need to configure your account. You will need to enter the details shown in the image below.

<figure><img src="../../../.gitbook/assets/image (187).png" alt=""><figcaption></figcaption></figure>

**Step 4**

Once you have completed the previous steps you can then select **“Policies”** on the navigation menu. After you have selected “Policies” you will have the two options to either **“Create Policy”** or **“Import”** a policy.

\
&#x20;Here we will want to click on **“Import”** policy.

<figure><img src="../../../.gitbook/assets/image (69).png" alt=""><figcaption></figcaption></figure>

**Step 5**

Now we will want to import the GHG policy file and the **IPFS timestamp 1674823890.277292460** and click on **“Ok”**.

<figure><img src="../../../.gitbook/assets/image (185).png" alt=""><figcaption></figcaption></figure>

Once you have clicked on **“Ok”** you can then preview the GHG policy and then click on **“Import”**. If you intend to import this policy as a new version of another that you have already been using, just select which policy you wish to refer to under the **“Version of”**.

<figure><img src="../../../.gitbook/assets/image (193).png" alt=""><figcaption></figcaption></figure>

Here we can see the policy being imported.

<figure><img src="../../../.gitbook/assets/image (6).png" alt=""><figcaption></figcaption></figure>

**Step 6**

You will then see the GHG Policy with the Status of Draft.&#x20;

<figure><img src="../../../.gitbook/assets/image (7).png" alt=""><figcaption></figcaption></figure>

We will just add this policy as the 1st version and then click on **“Publish”**.

<figure><img src="../../../.gitbook/assets/image (140).png" alt=""><figcaption></figcaption></figure>

Now we can see the GHG policy as Published.

<figure><img src="../../../.gitbook/assets/image (142).png" alt=""><figcaption></figcaption></figure>

### GHG policy for the Employer

Here in this demo for the Employer, we will show the Employer creating an account, choosing their role, inviting the employee and viewing the employee’s survey.

**Step 1**

The first step we will need to do is create a new account for the Employer, by clicking on **“Create New”**.

<figure><img src="../../../.gitbook/assets/image (71).png" alt=""><figcaption></figcaption></figure>

We will then add the username, password and confirm the password for the new account for the employer. Then we will click on **“Create”**.

<figure><img src="../../../.gitbook/assets/image (132).png" alt=""><figcaption></figcaption></figure>

**Step 2**

You will want to set up your Employer role and select the standard registry from the dropdown. You will also need to either use your own Hedera credentials or, if you do not have them, press the **“Generate”** button to generate a Hedera Operator ID and an Operator Key. This will create your Hedera Consensus Service Topic, show your hBar balance, DID document and a Verifiable Credential etc, after that you will want to click on **“Submit”**.

<figure><img src="../../../.gitbook/assets/image (159).png" alt=""><figcaption></figcaption></figure>

**Step 3**

You will then want to go on to the **“Policies”** tab, where you will be able to see the GHG policy which was imported by the Standard Registry, where now you will want to click on the **“Go”** button on the GHG policy.

<figure><img src="../../../.gitbook/assets/image (169).png" alt=""><figcaption></figcaption></figure>

**Step 4**&#x20;

Once we have clicked on the **“Go”** button we have the option to create a group or accept an invite. For now we can click on **“create a new group”** and select **‘Organization’** from the dropdown and create a **‘Group Label’** which in this case will be **‘Organization\_Group’**. Once that is done click on the **“Ok”** button.

<figure><img src="../../../.gitbook/assets/image (65).png" alt=""><figcaption></figcaption></figure>

You will then see the label and Group name that you have just created under the **“Employee”** tab of the GHG policy and then click on **“Get invite”**.

<figure><img src="../../../.gitbook/assets/image (196).png" alt=""><figcaption></figcaption></figure>

**Step 5**

You will then want to send out an invite to the Employee and then click on **“Generate invite”**.&#x20;

<figure><img src="../../../.gitbook/assets/image (70).png" alt=""><figcaption></figcaption></figure>

**Step 6 ( To continue only when the employee has completed the Employee Survey )**

Once the employee has completed the survey, you will be able to see the details of the survey when you have selected the GHG policy and then the **“Employee Survey”**.

<figure><img src="../../../.gitbook/assets/image (150).png" alt=""><figcaption></figcaption></figure>

Also, including the report of the survey as well which you can see by clicking on the **“Report”** tab. Here you will be able to see the working hours.

<figure><img src="../../../.gitbook/assets/image (101).png" alt=""><figcaption></figcaption></figure>

### GHG policy for the Employee

Here in this demo for the Employee, we will show the Employee creating an account, accepting an invitation of the Employer and completing an Employee survey.&#x20;

**Step 1**&#x20;

The first step you will need to do is create a new account for the Employee, by clicking on **“Create New”**.

<figure><img src="../../../.gitbook/assets/image (55).png" alt=""><figcaption></figcaption></figure>

We will then add the username, password and confirm the password for the new account for the employee. Then we will click on **“Create”.**

<figure><img src="../../../.gitbook/assets/image (173).png" alt=""><figcaption></figcaption></figure>

**Step 2**&#x20;

You will want to set up your Employer role and select the standard registry from the dropdown. You will need also to either use your own Hedera credentials or, if you do not have them, press the **“Generate”** button to generate a Hedera Operator ID and an Operator Key. This will create your Hedera Consensus Service Topic, show your hBar balance, DID document and a Verifiable Credential etc, after that you will want to click on **“Submit”**.

<figure><img src="../../../.gitbook/assets/image (182).png" alt=""><figcaption></figcaption></figure>

**Step 3**

You will then want to go on to the **“Policies”** tab, where you will be able to see the GHG policy which was imported by the Standard Registry, where now you will want to click on the **“Go”** button on the GHG policy.

<figure><img src="../../../.gitbook/assets/image (113).png" alt=""><figcaption></figcaption></figure>

**Step 4**

Here you will want to select **“Accept Invitation”** and paste the invite given by the Employer and then click on **“Ok”**.

<figure><img src="../../../.gitbook/assets/image (116).png" alt=""><figcaption></figcaption></figure>

**Step 5**&#x20;

You will then need to fill out the Employee survey with the required information and then click on **“Ok”**

<figure><img src="../../../.gitbook/assets/image (120).png" alt=""><figcaption></figcaption></figure>

<figure><img src="../../../.gitbook/assets/image (152).png" alt=""><figcaption></figcaption></figure>

**Step 6**&#x20;

Once you have completed the employee survey, you will then click on the GHG policy which you will then be on the **“Time tracking”** tab and click on **“Create New Time tracking”**.

<figure><img src="../../../.gitbook/assets/image (181).png" alt=""><figcaption></figcaption></figure>

Once completed you will see the document that you have created with the following information that you have provided.

<figure><img src="../../../.gitbook/assets/image (191).png" alt=""><figcaption></figcaption></figure>
36 changes: 0 additions & 36 deletions docs/monitoring-tools.md

This file was deleted.

0 comments on commit c2484ec

Please sign in to comment.