Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

JSON-LD schema import UI #711

Merged
merged 25 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2d29cf0
Update tails server branch in local scenario docker-compose
schlagtim Jan 13, 2022
00e0dc5
Add indy/json-ld tabs to import schema
schlagtim Jan 17, 2022
155615c
Move tabs into own component
schlagtim Jan 17, 2022
8f2627e
Refactor and rename to SchemaAdd
schlagtim Jan 17, 2022
0bedbf2
Add basic text input field to json-ld import
schlagtim Jan 17, 2022
80233bf
Validate JSON with error messages
schlagtim Jan 17, 2022
4ce317a
Refactor json error message
schlagtim Jan 19, 2022
4a06b62
Merge remote-tracking branch 'origin/master' into feature/json-ld-ui
schlagtim Jan 19, 2022
3c3b2a2
Updated license header years with npm script + npm script refactoring
schlagtim Jan 19, 2022
e563e3c
Merge remote-tracking branch 'origin/master' into feature/json-ld-ui
schlagtim Jan 25, 2022
1d24448
Get json-ld via URL and display attributes in table
schlagtim Jan 28, 2022
3c388fc
Use jsonld-context-parser to get schema keys
schlagtim Jan 31, 2022
4ff0eeb
Move indy schema import into own component
schlagtim Jan 31, 2022
917deeb
Move json-ld schema import into own component + refactor
schlagtim Jan 31, 2022
b765cb9
Add credentialType to payload + search field
schlagtim Feb 1, 2022
ffd9d6e
Polish import
schlagtim Feb 2, 2022
581d537
Enable jsdom testing with used Vue plugins and webpack polyfills
schlagtim Feb 2, 2022
3d3626c
Reduced to 1 docker-compose file in local scenario
schlagtim Feb 4, 2022
e608d1c
Improved test wrapper and add tests for indy import
schlagtim Feb 4, 2022
54e8ec7
Cleanup
schlagtim Feb 4, 2022
158f7d2
Fix require.context polyfill issue which broke i18n
schlagtim Feb 4, 2022
4a2f490
Add typing + refactor
schlagtim Feb 7, 2022
dc22847
Merge remote-tracking branch 'upstream/main' into feature/json-ld-ui
schlagtim Feb 7, 2022
0ec8a63
Use proper event handling and remove attribute keys in request
schlagtim Feb 7, 2022
4802c0f
Align locales
schlagtim Feb 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ scripts/**/*.txn
scripts/local-network/von-network/
scripts/scenarios/local-network/von-network/
scripts/scenarios/local-network/tails-server/
scripts/scenarios/local-network/resolver/*.txn
scripts/scenarios/local-network/resolver/
scripts/dev-*
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
FROM node:16-alpine as VUE
WORKDIR /frontend
COPY frontend .
RUN npm install && npm run license && npm run build
RUN npm install && npm run build

# Micronaut build
FROM maven:3-eclipse-temurin-17-alpine as MAVEN
Expand Down
2 changes: 1 addition & 1 deletion frontend/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2021 - for information on the respective copyright owner
# Copyright (c) 2020-2022 - for information on the respective copyright owner
# see the NOTICE file and/or the repository at
# https://github.com/hyperledger-labs/business-partner-agent
#
Expand Down
2 changes: 1 addition & 1 deletion frontend/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2021 - for information on the respective copyright owner
# Copyright (c) 2020-2022 - for information on the respective copyright owner
# see the NOTICE file and/or the repository at
# https://github.com/hyperledger-labs/business-partner-agent
#
Expand Down
2 changes: 1 addition & 1 deletion frontend/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2021 - for information on the respective copyright owner
# Copyright (c) 2020-2022 - for information on the respective copyright owner
# see the NOTICE file and/or the repository at
# https://github.com/hyperledger-labs/business-partner-agent
#
Expand Down
2 changes: 1 addition & 1 deletion frontend/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2021 - for information on the respective copyright owner
* Copyright (c) 2020-2022 - for information on the respective copyright owner
* see the NOTICE file and/or the repository at
* https://github.com/hyperledger-labs/business-partner-agent
*
Expand Down
2 changes: 1 addition & 1 deletion frontend/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# Copyright (c) 2020-2021 - for information on the respective copyright owner
# Copyright (c) 2020-2022 - for information on the respective copyright owner
# see the NOTICE file and/or the repository at
# https://github.com/hyperledger-labs/business-partner-agent
#
Expand Down
4 changes: 2 additions & 2 deletions frontend/.lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"**/*.{js,vue,html,xml,ts,css,scss,env,dockerignore,sh}": [
"license-check-and-add add -f license-header/config.json -r 2021",
"npm run license-file-headers-add",
"prettier --write",
"vue-cli-service lint"
"npm run lint"
],
"**/*.json": ["prettier --write"]
}
2 changes: 1 addition & 1 deletion frontend/.npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2021 - for information on the respective copyright owner
# Copyright (c) 2020-2022 - for information on the respective copyright owner
# see the NOTICE file and/or the repository at
# https://github.com/hyperledger-labs/business-partner-agent
#
Expand Down
4 changes: 3 additions & 1 deletion frontend/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2021 - for information on the respective copyright owner
# Copyright (c) 2020-2022 - for information on the respective copyright owner
# see the NOTICE file and/or the repository at
# https://github.com/hyperledger-labs/business-partner-agent
#
Expand All @@ -7,3 +7,5 @@ dist
node_modules
coverage
setup-runtime.sh
.env
.dockerignore
7 changes: 6 additions & 1 deletion frontend/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
/*
* Copyright (c) 2020-2021 - for information on the respective copyright owner
* Copyright (c) 2020-2022 - for information on the respective copyright owner
* see the NOTICE file and/or the repository at
* https://github.com/hyperledger-labs/business-partner-agent
*
* SPDX-License-Identifier: Apache-2.0
*/
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
env: {
test: {
plugins: ["transform-require-context"],
},
},
};
6 changes: 5 additions & 1 deletion frontend/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2021 - for information on the respective copyright owner
* Copyright (c) 2020-2022 - for information on the respective copyright owner
* see the NOTICE file and/or the repository at
* https://github.com/hyperledger-labs/business-partner-agent
*
Expand All @@ -20,6 +20,10 @@ module.exports = {
"!**/node_modules/**",
"!**/dist/**",
],
transformIgnorePatterns: [
"/node_modules/(?!vuetify|vue-markdown-render|vue-advanced-chat|vue-json-pretty|qrcode.vue)",
],
testEnvironment: "jest-environment-jsdom-sixteen",
testMatch: ["**/*.spec.{ts,js}", "!**/node_modules/**"],
setupFiles: ["<rootDir>/test-config/setup-jest.ts"],
};
99 changes: 99 additions & 0 deletions frontend/licenses/licenseInfos.json

Large diffs are not rendered by default.

Loading