Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/credebl/studio into fix-…
Browse files Browse the repository at this point in the history
…ecosystem-flow-issues

Signed-off-by: karan <[email protected]>
  • Loading branch information
16-karan committed Oct 13, 2023
2 parents 2b71441 + d6e1b12 commit 080b63a
Show file tree
Hide file tree
Showing 16 changed files with 522 additions and 459 deletions.
2 changes: 1 addition & 1 deletion src/api/ecosystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const getEndorsementList = async (
apiRoutes.Ecosystem.endorsements.list
}?${page ? `pageNumber=${page}` : ''}${search ? `&search=${search}` : ''}${
itemPerPage ? `&pageSize=${itemPerPage}` : ''
}${type ? `&type=${type}` : ''}${status ? `&status=${status}` : ''}`;
}${type ? `&type=${type}` : ''}${status ? `&search=${status}` : ''}`;

const axiosPayload = {
url,
Expand Down
18 changes: 10 additions & 8 deletions src/app/SideBar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { pathRoutes } from '../config/pathRoutes';
]}
>
<div
class="flex-1 px-3 space-y-1 bg-white divide-y divide-gray-200 dark:bg-gray-800 dark:divide-gray-700"
class="px-3 space-y-1 bg-white divide-y divide-gray-200 dark:bg-gray-800 dark:divide-gray-700"
>
<ul class="pb-2 space-y-2">
<li class="hidden">
Expand Down Expand Up @@ -73,7 +73,6 @@ import { pathRoutes } from '../config/pathRoutes';
<span class="ml-3" sidebar-toggle-item>Dashboard</span>
</a>
</li>
<EcosystemSidebarOption client:load />
<li>
<a
href={pathRoutes.organizations.root}
Expand Down Expand Up @@ -278,20 +277,21 @@ import { pathRoutes } from '../config/pathRoutes';
height="20"
fill="none"
viewBox="0 0 25 22"
class="flex-shrink-0 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white"
>
<path
stroke="#6B7280"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.25"
d="M4 4h3.125M4 6.885h3.125M1 1h15.702M4.695 10h.962m1.453 0h.96m1.422 0h.962m1.452 0h.962M17 1v4.952m0 3.715V13H1V1"
></path>
<path
fill="#6B7280"
fill="currentColor"
d="M14 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm-3.816 0a1.316 1.316 0 1 0 2.632 0 1.316 1.316 0 0 0-2.633 0Z"
></path>
<path
stroke="#6B7280"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.25"
Expand All @@ -312,17 +312,18 @@ import { pathRoutes } from '../config/pathRoutes';
height="20"
fill="none"
viewBox="0 0 25 25"
class="flex-shrink-0 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white"
>
<path
fill="#6B7280"
fill="currentColor"
d="M19.322 8.824h-4.427V7.612c0-.515-.375-.93-.84-.93h-1.592v-.76a3.335 3.335 0 0 0 1.156-2.52C13.62 1.527 12.035 0 10.085 0 8.135 0 6.55 1.526 6.55 3.403c0 .97.424 1.881 1.157 2.519v.76H6.114c-.465 0-.84.415-.84.93v1.212H.84c-.465 0-.839.414-.839.93v11.638c0 .515.374.93.84.93h12.78l-.993-1.86 7.534-7.962V9.753c0-.51-.374-.93-.84-.93Zm-10.36-4.2c-.461-.296-.737-.752-.737-1.221 0-.838.848-1.544 1.856-1.544 1.004 0 1.855.706 1.855 1.544 0 .47-.275.93-.736 1.22a.952.952 0 0 0-.42.807v1.248H9.381V5.43a.958.958 0 0 0-.42-.806ZM6.948 8.54h6.267v2.141H6.949v-2.14Zm5.678 11.922H1.68v-9.78h16.804l.065 1.37 1.21.447h.403l-7.534 7.963Z"
></path>
<path
fill="#6B7280"
fill="currentColor"
d="M24.997 17.854c0 3.945-2.889 7.143-6.452 7.143s-6.451-3.198-6.451-7.143 2.888-7.143 6.451-7.143c3.563 0 6.452 3.198 6.452 7.143Zm-11.292 0c0 2.96 2.167 5.358 4.84 5.358s4.84-2.399 4.84-5.358c0-2.96-2.167-5.359-4.84-5.359s-4.84 2.4-4.84 5.359Z"
></path>
<path
stroke="#6B7280"
stroke="currentColor"
stroke-linecap="round"
stroke-width="1.5"
d="m15.328 17.984 2.24 2.55 4.48-4.464"></path></svg
Expand All @@ -332,6 +333,7 @@ import { pathRoutes } from '../config/pathRoutes';
</li>
</ul>
</li>
<EcosystemSidebarOption client:load />
</ul>

<!-- li>
Expand Down
2 changes: 1 addition & 1 deletion src/commonComponents/SchemaCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const SchemaCard = (props: {className?:string, schemaName: string, version: stri
return (
<Card onClick={() => {
props.onClickCallback(props.schemaId, props.attributes, props.issuerDid, props.created)
}} className='transform transition duration-500 hover:scale-105 hover:bg-gray-50 cursor-pointer' style={{ width: '100%', height: '260px', overflow: 'auto' }}>
}} className='transform transition duration-500 hover:scale-105 hover:bg-gray-50 cursor-pointer h-full w-full overflow-auto'>
<div className="flex justify-between items-start">
<div>
<h5 className="text-xl font-bold leading-none text-gray-900 dark:text-white">
Expand Down
2 changes: 1 addition & 1 deletion src/commonComponents/StatusTabletTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const StatusTabletTag = ({ status }: IStatusTabletTag) => {
}
case status === EndorsementStatus.requested:
return {
style: `bg-[#EEE] text-[#7D7D7D]`,
style: `bg-[#1f4ead33] text-[#1F4EAD]`,
title: "Requested"
}
case status === EndorsementStatus.submited:
Expand Down
Loading

0 comments on commit 080b63a

Please sign in to comment.