diff --git a/.gitea/workflows/build-and-push.yml b/.gitea/workflows/build-and-push.yml index a94ad1c..1f7ae08 100644 --- a/.gitea/workflows/build-and-push.yml +++ b/.gitea/workflows/build-and-push.yml @@ -10,7 +10,7 @@ env: # The URL of your Gitea instance (without http:// or https://) GITEA_INSTANCE_URL: git.deowl.ru # The full name of your package (e.g., 'myusername/myproject') - PACKAGE_NAME: vkrb/quantum_frontend + PACKAGE_NAME: vkrb/molecular_frontend # Node.js version to use NODE_VERSION: "24" @@ -82,29 +82,25 @@ jobs: VERSION="${{ gitea.sha }}" # Upload the tarball - curl --fail-with-body \ - --netrc \ - --upload-file package.tar.gz \ + curl --user ${{ gitea.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} \ + --upload-file package.tar.gz \ "https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/${VERSION}/package.tar.gz" # Upload the checksum file - curl --fail-with-body \ - --netrc \ - --upload-file package.tar.gz.sha256 \ + curl --user ${{ gitea.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} \ + --upload-file package.tar.gz.sha256 \ "https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/${VERSION}/package.tar.gz.sha256" # 9. (Optional) Create a latest version for convenience - name: Update latest version run: | # Upload as 'latest' version - curl --fail-with-body \ - --netrc \ - --upload-file package.tar.gz \ + curl --user ${{ gitea.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} \ + --upload-file package.tar.gz \ "https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/latest/package.tar.gz" - curl --fail-with-body \ - --netrc \ - --upload-file package.tar.gz.sha256 \ + curl --user ${{ gitea.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} \ + --upload-file package.tar.gz.sha256 \ "https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/latest/package.tar.gz.sha256" # 10. Clean up diff --git a/src/Components/Layout/Sidebar/Sidebar.tsx b/src/Components/Layout/Sidebar/Sidebar.tsx index 765029c..d9d916e 100755 --- a/src/Components/Layout/Sidebar/Sidebar.tsx +++ b/src/Components/Layout/Sidebar/Sidebar.tsx @@ -16,6 +16,7 @@ import { IconLogout, IconSettings2, IconUsers, + type Icon, type IconProps, } from "@tabler/icons-react"; import { @@ -32,9 +33,7 @@ import CustomButton from "Components/CustomButton/CustomButton"; interface SubtleLinkButtonProps { link: string; - Icon: ForwardRefExoticComponent< - IconProps & React.RefAttributes - >; + Icon: ForwardRefExoticComponent>; text: string; color: string; selected?: boolean; diff --git a/src/Components/ListCard/TaskListCard/TaskListCard.tsx b/src/Components/ListCard/TaskListCard/TaskListCard.tsx index 8901cb9..2325653 100644 --- a/src/Components/ListCard/TaskListCard/TaskListCard.tsx +++ b/src/Components/ListCard/TaskListCard/TaskListCard.tsx @@ -51,8 +51,7 @@ function InstancesListCard(props: { instance: InstanceData; plugin: string }) { { - console.log("A"); + onClick={(ev: Event) => { ev.stopPropagation(); navigate(props.instance.instance_id.toString()); }} diff --git a/src/Components/ListCard/TeamListCard/TeamMemberCard/TeamMemberCard.tsx b/src/Components/ListCard/TeamListCard/TeamMemberCard/TeamMemberCard.tsx index 798cdb2..92ed44a 100644 --- a/src/Components/ListCard/TeamListCard/TeamMemberCard/TeamMemberCard.tsx +++ b/src/Components/ListCard/TeamListCard/TeamMemberCard/TeamMemberCard.tsx @@ -192,7 +192,7 @@ function TeamMemberCard(props: { cur_team: Team; member: TeamMember }) { }} > { + onClick={(e: Event) => { e.stopPropagation(); deleteMember({ team_id: props.cur_team.id,