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

Fix/qa page breaking issue #775

Closed
wants to merge 102 commits into from
Closed
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
e3eb7b4
[Deno Deploy] Update .github/workflows/deploy.yml
deno-deploy[bot] Jun 7, 2024
95aeaa6
feat: support no ledger (#689)
bhavanakarwade Jun 7, 2024
a41d5aa
fixed CSS and avatar issues (#696)
pranalidhanavade Jun 9, 2024
eb793d8
feat: support no ledger (#697)
bhavanakarwade Jun 10, 2024
252b504
refactor: responsiveness of the component (#699)
bhavanakarwade Jun 14, 2024
c318707
feat: manage keycloak client
bhavanakarwade Jun 17, 2024
d40b608
refactor: updated env sample file
bhavanakarwade Jun 17, 2024
2d8875c
fix: error messages issue from create organization and create ecosyst…
pranalidhanavade Jun 17, 2024
03147ee
Merge pull request #702 from credebl/feat/manage-keycloak-client
shitrerohit Jun 18, 2024
40c3b7e
fix: css issues (#704)
bhavanakarwade Jun 19, 2024
7300fc6
feat: add passkey warning message for unsupported devices (#706)
pranalidhanavade Jun 19, 2024
5698893
Feat/passkey warning messages (#707)
pranalidhanavade Jun 19, 2024
0dc76d1
feat: dedicated agent workflow (#693)
pranalidhanavade Jun 20, 2024
7d5a77d
fix: formik validations for dedicated agent workflow (#708)
pranalidhanavade Jun 21, 2024
a297a2a
fix: create did button restrictions (#710)
bhavanakarwade Jun 21, 2024
7616a5f
feat: changed schema payload (#711)
tipusinghaw Jun 23, 2024
a97bdfd
feat/delete wallet and organization (#712)
pranalidhanavade Jun 25, 2024
d3fce1a
fix: custom-avatar-css-issues (#714)
pranalidhanavade Jun 26, 2024
42bd813
feat: delete wallet and organization (#715)
pranalidhanavade Jun 26, 2024
c888199
refactor: added query parameter in get all schemas API (#713)
bhavanakarwade Jun 26, 2024
1f4d3bc
refactor: request schema payload (#717)
bhavanakarwade Jul 8, 2024
d0c5625
fix:client id and secret encryption (#724)
pranalidhanavade Jul 25, 2024
759305e
Client id client secret encryption (#726)
pranalidhanavade Jul 25, 2024
744a19c
feat: create schema flow for w3c (#718)
pranalidhanavade Jul 30, 2024
f24a574
wip: verification with email (#722)
bhavanakarwade Jul 30, 2024
62b2d7e
feat: Implement w3c issuance with connection,email and bulk. (#721)
pranalidhanavade Jul 31, 2024
2603675
feat: W3C verifcation with connections. (#729)
pranalidhanavade Aug 13, 2024
874fcd0
fiz: removed unwanted code from astro components
pranalidhanavade Aug 16, 2024
d43a09a
feat: oob verification using email (#732)
bhavanakarwade Aug 22, 2024
d74f17f
fix: W3C issuance schemaName not displayed correctly on ADEYA. (#733)
pranalidhanavade Aug 23, 2024
801cade
refactor: predicates number vaidations (#734)
bhavanakarwade Aug 23, 2024
08ccf3e
Fix verification dashboard changes (#735)
pranalidhanavade Aug 23, 2024
579d269
fix: email input box issue (#736)
bhavanakarwade Aug 23, 2024
a22ec34
fix: create wallet UI for shared and dedicated agents. (#738)
pranalidhanavade Aug 26, 2024
48b580b
fix: routes changes for verifcation with email flow (#739)
bhavanakarwade Aug 26, 2024
b51c2e4
fix: OOB issuance with other organizations schema (#741)
pranalidhanavade Aug 28, 2024
a27d698
fix: radio button state issue on shared and dedicated wallet creation…
pranalidhanavade Aug 28, 2024
58a7fec
fix: bugs (#744)
bhavanakarwade Aug 28, 2024
644bb63
fix: bugs (#745)
bhavanakarwade Aug 28, 2024
4a3576c
fix: schema card click issue (#749)
bhavanakarwade Aug 29, 2024
0f6e71a
fix: schema name is not visible in credentials list (#750)
bhavanakarwade Aug 29, 2024
7c2865e
fix: Schemas Page Pagination Issue (#751)
pranalidhanavade Aug 29, 2024
2a9c6da
fix: replaced deploy.yml file (#755)
pranalidhanavade Aug 30, 2024
664e1fb
fix: Unable to store credentials during connection issuance when usin…
pranalidhanavade Sep 3, 2024
8c0f50f
fix: connection issuance payload changes for w3c (#759)
pranalidhanavade Sep 3, 2024
c5708d4
feat: support search functionality in issuance dropdown (#760)
bhavanakarwade Sep 5, 2024
9310af4
refactor: decouple ecosystem from existing code-base (#763)
pranalidhanavade Sep 30, 2024
82bc906
[Deno Deploy] Update .github/workflows/deploy.yml
deno-deploy[bot] Oct 1, 2024
ffe52e4
refactor: decouple ecosystem from existing code base (#764)
pranalidhanavade Oct 3, 2024
2805db0
[Deno Deploy] Update .github/workflows/deploy.yml
deno-deploy[bot] Oct 7, 2024
34fa11a
feat: changes in workflow file (#767)
pranalidhanavade Oct 7, 2024
e71a4dc
fix: changes in deploy yml file (#769)
pranalidhanavade Oct 7, 2024
7d2cacd
fix: typeerrors in display user profile
pranalidhanavade Oct 8, 2024
566f226
fix: warning on input fields
pranalidhanavade Oct 8, 2024
21bdf72
Merge branch 'qa' of https://github.com/credebl/studio into merge/dev…
pranalidhanavade Oct 8, 2024
eca2abe
fix: react minified issue
pranalidhanavade Oct 8, 2024
fecc920
Merge branch 'qa' of https://github.com/credebl/studio into fix/qa-pa…
pranalidhanavade Oct 8, 2024
8373099
fix: qa page breaking react error
pranalidhanavade Oct 8, 2024
abcbf25
[Deno Deploy] Update .github/workflows/deploy.yml
deno-deploy[bot] Oct 8, 2024
ded532b
fix:react minified
pranalidhanavade Oct 8, 2024
d9304bd
fix: title element issue on span component
pranalidhanavade Oct 8, 2024
7bdcd3e
fix: react minified error for null values
pranalidhanavade Oct 8, 2024
2305b10
fix: datetooltip code commented
pranalidhanavade Oct 8, 2024
75f23db
fix: datetooltip fixes
pranalidhanavade Oct 8, 2024
60ff461
fix: dashboard fixes
pranalidhanavade Oct 8, 2024
6076a3e
fix: dashboard issues
pranalidhanavade Oct 8, 2024
247a0ee
fix: dashboard issue
pranalidhanavade Oct 8, 2024
3707361
fix: JSX fragment issue
pranalidhanavade Oct 8, 2024
9b6ab75
fix: jsx component issue
pranalidhanavade Oct 8, 2024
7320733
refactor: alertcomponent
pranalidhanavade Oct 8, 2024
bcfbf27
fix: jsx rendering issue
pranalidhanavade Oct 8, 2024
eb2ed2f
fix: alertcomponent issue
pranalidhanavade Oct 8, 2024
2f6812f
fix: alertcomponent type error
pranalidhanavade Oct 8, 2024
e296d38
fix: alert component condition issue
pranalidhanavade Oct 9, 2024
f11b564
fix: alertcomponent issue
pranalidhanavade Oct 9, 2024
de1e01d
fixed issue on alert component
pranalidhanavade Oct 9, 2024
383eea1
user dashboard alert component fixes
pranalidhanavade Oct 9, 2024
ce5f0d8
error and message fixes in alertcomponent
pranalidhanavade Oct 9, 2024
3a2e6ab
convert error object to string
pranalidhanavade Oct 9, 2024
573925f
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
ca524dc
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
f4cd15c
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
46b10c7
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
cb60e16
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
ff09824
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
0fd2c49
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
5ae23c2
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
72138b0
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
485f7e8
[Deno Deploy] Update .github/workflows/deploy.yml
deno-deploy[bot] Oct 9, 2024
04f9d52
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
6e3eb80
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
4825f67
Merge branch 'fix/qa-page-breaking-issue' of https://github.com/crede…
pranalidhanavade Oct 9, 2024
b67396a
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
3b55ce8
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
f1f606b
used utility function for handle alert component issue
pranalidhanavade Oct 9, 2024
0290674
fix: userdashboard react minified error solved (#776)
pranalidhanavade Oct 9, 2024
9f274f7
fix: type errors in display user profile (#771)
pranalidhanavade Oct 9, 2024
f1aed87
fix: react minified error on schema dashboard
pranalidhanavade Oct 11, 2024
69de478
fix: react minified issue on schema list
pranalidhanavade Oct 11, 2024
f4756f7
fix: react minified issue on schema list
pranalidhanavade Oct 11, 2024
3e66bbc
fix: react minified issue on schema list
pranalidhanavade Oct 11, 2024
cae474c
fix: react minified issue on schema list
pranalidhanavade Oct 11, 2024
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
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy
on:
push:
branches: main
branches: fix/qa-page-breaking-issue
pull_request:
branches: main
branches: fix/qa-page-breaking-issue

jobs:
deploy:
@@ -37,6 +37,6 @@ jobs:
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "credebl-studio"
entrypoint: "server/entry.mjs" # 📝 Update the entrypoint if necessary
root: "dist" # 📝 Update the root if necessary
project: "test-qa-studio"
entrypoint: "server/entry.mjs"
root: "dist"
139 changes: 139 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/commonComponents/Dashboard.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Card } from 'flowbite-react';
import BackButton from '../commonComponents/backbutton';
import BreadCrumbs from '../components/BreadCrumbs'
import { Card } from 'flowbite-react';
import React from 'react';

const Dashboard = ({ title, options, backButtonPath }) => {
return (
145 changes: 76 additions & 69 deletions src/components/AlertComponent/index.tsx
Original file line number Diff line number Diff line change
@@ -1,74 +1,81 @@
import React from 'react';
import type { IAlertComponent } from './interface';
import React from 'react';

const getAlertClass = (type:string) => {
switch (type) {
case 'warning':
return 'text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800';
case 'failure':
return 'text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800';
case 'success':
return 'text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800';
default:

return 'text-gray-700 bg-gray-100 border-gray-500 dark:bg-gray-200 dark:text-gray-800';
}
};
export const AlertComponent = ({
message,
type,
viewButton,
onAlertClose,
path = '',
message,
type,
viewButton,
onAlertClose,
path = '',
}: IAlertComponent) => {
const getAlertClass = () => {
switch (type) {
case 'warning':
return 'text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800';
case 'failure':
return 'text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800';
case 'success':
return 'text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800';
default:
return 'text-gray-700 bg-gray-100 border-gray-500 dark:bg-gray-200 dark:text-gray-800';
}
};

return (
message !== null && (
<div className="w-full">
<div
className={`flex flex-col gap-2 p-4 text-sm rounded-lg mb-4 ${getAlertClass()}`}
role="alert"
>
<div
className="flex items-center w-full"
data-testid="flowbite-alert-wrapper"
>
<div className="w-full">
<div className="flex flex-wrap justify-between items-center w-full">
<div>{message}</div>
{viewButton && (
<div className="md:w-32 lg:w-48 text-base text-primary-700 text-right flex justify-end mr-2">
<a href={path}>View more... </a>
</div>
)}
</div>
</div>
<button
aria-label="Dismiss"
className={`-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg p-1.5 ${getAlertClass()}`}
type="button"
onClick={onAlertClose}
>
<svg
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
viewBox="0 0 20 20"
aria-hidden="true"
className={`w-5 h-5 ${getAlertClass()}`}
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fillRule="evenodd"
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
clipRule="evenodd"
></path>
</svg>
</button>
</div>
</div>
</div>
)
);
return (
(message === null || '') ? (<>
</>):
(
(
<div className="w-full">
<div
className={`flex flex-col gap-2 p-4 text-sm rounded-lg mb-4 ${getAlertClass(type)}`}
role="alert"
>
<div
className="flex items-center w-full"
data-testid="flowbite-alert-wrapper"
>
<div className="w-full">
<div className="flex flex-wrap justify-between items-center w-full">
<div>{message}</div>
{viewButton && (
<div className="md:w-32 lg:w-48 text-base text-primary-700 text-right flex justify-end mr-2">
<a href={path}>View more... </a>
</div>
)}
</div>
</div>
<button
aria-label="Dismiss"
className={`-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg p-1.5 ${getAlertClass(type)}`}
type="button"
onClick={onAlertClose}
>
<svg
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
viewBox="0 0 20 20"
aria-hidden="true"
className={`w-5 h-5 ${getAlertClass(type)}`}
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fillRule="evenodd"
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
clipRule="evenodd"
></path>
</svg>
</button>
</div>
</div>
</div>

)
)


);
};
6 changes: 3 additions & 3 deletions src/components/Resources/Schema/SchemasList.tsx
Original file line number Diff line number Diff line change
@@ -283,7 +283,7 @@ const SchemaList = (props: {
? { title: 'Schema Endorsement', svg: <SchemaEndorsement/> }
: { title: 'Create Schema', svg: <Create/> };


console.log("schemaListErr",typeof schemaListErr) // this is string
return (
<div className="px-4 pt-2">
<div className="mb-4 col-span-full xl:mb-2">
@@ -341,9 +341,9 @@ const SchemaList = (props: {
</div>
</div>
{schemaListErr && (
<Alert color="failure" onDismiss={() => setSchemaListErr(null)}>
<Alert color="failure" onDismiss={() => setSchemaListErr('')}>
<span>
<p>{schemaListErr}</p>
<p>{typeof schemaListErr === 'string' ? schemaListErr : JSON.stringify(schemaListErr)}</p>
</span>
</Alert>
)}
11 changes: 9 additions & 2 deletions src/components/Tooltip/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { useEffect, useState } from 'react';

import { Tooltip } from 'flowbite-react';
import moment from 'moment';

@@ -8,9 +10,14 @@ interface DateProps {
}

const DateTooltip = ({date, children}: DateProps) => {
const [formattedDate,setFormattedDate]= useState("")

const updatedDate = new Date(date);
const formattedDate = date ? moment(updatedDate).format("MMM DD, YYYY, h:mm A z") : '';

useEffect(() => {
const updatedDate = new Date(date);
const formatdDate = date ? moment(updatedDate).format("MMM DD, YYYY, h:mm A z") : '';
setFormattedDate(formatdDate)
}, [])

return (
<Tooltip
Loading