Skip to content

Commit 4bff9e3

Browse files
committed
fix: update tooltip text formatting and improve link handling in dashboard components
- Added space in tooltip text for ImportDesignSection for better readability. - Refactored RecentDesignsCard to use openExternalLink for external links. - Adjusted RecentDesignsTooltipTitle to include space in the text. - Changed display style of tooltip icon to inline and adjusted positioning. Signed-off-by: Yi Nuo <218099172+yi-nuo426@users.noreply.github.com>
1 parent e256793 commit 4bff9e3

File tree

4 files changed

+121
-58
lines changed

4 files changed

+121
-58
lines changed

.github/workflows/multi-platform.yml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Multi-Platform Build and Release
22
on:
3-
release:
4-
types: [published]
3+
# release:
4+
# types: [published]
55
# push:
66
# tags:
77
# - "v*"
@@ -78,17 +78,6 @@ jobs:
7878
GIT_STRIPPED_VERSION="${GIT_VERSION#v}"
7979
echo "GIT_STRIPPED_VERSION=$GIT_STRIPPED_VERSION" >> $GITHUB_ENV
8080
shell: bash
81-
82-
- name: Generate release notes
83-
id: release_notes
84-
run: |
85-
RELEASE_NOTES=$(gh release create ${{ github.ref_name }} --generate-notes --repo ${{ github.repository }} | tail -n +2) # Get generated release notes, excluding the first line
86-
RELEASE_NOTES="$RELEASE_NOTES\nSee https://docs.layer5.io/kanvas/reference/releases/${{env.GIT_VERSION}}"
87-
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
88-
echo "$RELEASE_NOTES" >> $GITHUB_ENV
89-
echo "EOF" >> $GITHUB_ENV
90-
env:
91-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9281

9382
- name: Setup image tags in docker-compose.yaml
9483
run: |
@@ -128,6 +117,7 @@ jobs:
128117
GIT_STRIPPED_VERSION=${{env.GIT_STRIPPED_VERSION}}
129118
GIT_VERSION=${{env.GIT_VERSION}}
130119
RELEASE_CHANNEL=${{env.RELEASE_CHANNEL}}
120+
RELEASE_NOTES="See https://docs.layer5.io/kanvas/reference/releases/${{ env.GIT_VERSION }}"
131121
tags: ${{ steps.meta.outputs.tags }}
132122
platforms: linux/amd64,linux/arm64
133123
- name: Docker Hub Description
@@ -154,7 +144,7 @@ jobs:
154144
run: |
155145
echo "${{ env.EMAIL_BODY }}"
156146
- name: Send Email Notification
157-
if: env.EMAIL_BODY != ''
147+
if: ${{ env.EMAIL_BODY != '' }}
158148
uses: dawidd6/action-send-mail@v6
159149
with:
160150
server_address: smtp.gmail.com
@@ -168,3 +158,19 @@ jobs:
168158
The workflow failed. Here are the details:
169159
${{ env.EMAIL_BODY }}
170160
Workflow run log URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
161+
162+
create-release:
163+
needs: docker-build
164+
runs-on: ubuntu-latest
165+
if: ${{ needs.docker-build.result == 'success' }}
166+
steps:
167+
- name: Create GitHub release
168+
env:
169+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
170+
run: |
171+
cat <<'EOF' > notes.txt
172+
See https://docs.layer5.io/kanvas/reference/releases/${{ env.GIT_VERSION }}"
173+
EOF
174+
gh release create "${{ env.GIT_VERSION }}" \
175+
--title "Kanvas Docker Extension ${{ env.GIT_VERSION }}" \
176+
--notes-file notes.txt

0 commit comments

Comments
 (0)