Refactor code for consistency and readability

- Standardized string quotes to double quotes across multiple files.
- Improved formatting and indentation for better readability.
- Added a function to format multiline text in tools rendering.
- Enhanced dropdown and action button handlers for better event management.
- Updated the theme application logic to initialize on page load.
- Refactored utility functions for consistency and clarity.
- Improved error handling and user feedback in download and share functionalities.
This commit is contained in:
Aaron Powell
2026-02-02 16:42:22 +11:00
parent cdb056e44f
commit a1da290d10
12 changed files with 1225 additions and 651 deletions

View File

@@ -8,14 +8,15 @@ on:
push:
branches: ["main"]
paths:
- 'website/**'
- 'agents/**'
- 'prompts/**'
- 'instructions/**'
- 'skills/**'
- 'collections/**'
- 'eng/generate-website-data.mjs'
- '.github/workflows/deploy-website.yml'
- "website/**"
- "agents/**"
- "prompts/**"
- "instructions/**"
- "skills/**"
- "collections/**"
- "cookbook/**"
- "eng/generate-website-data.mjs"
- ".github/workflows/deploy-website.yml"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@@ -43,8 +44,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
node-version: "20"
cache: "npm"
- name: Install root dependencies
run: npm ci
@@ -66,7 +67,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './website/dist'
path: "./website/dist"
# Deployment job
deploy: