Skip to content

Conversation

@elasticdotventures
Copy link
Member

  • Upgrade vue-web-terminal from 3.2.2 to 3.4.1
  • Install licensed PATRON font files locally

b and others added 2 commits January 25, 2026 13:07
Changes:
- Update package.json to vue-web-terminal 3.4.1
- Update TheXTerm.vue imports (use default import for Terminal)
- Remove CSS theme import, add theme="dark" prop (v3.3.1 breaking change)
- Manually installed vue-web-terminal 3.4.1 from npm registry

Breaking changes handled:
- v3.3.1: Theme configuration moved from CSS imports to component props
- v3.4.0: Plugin no longer requires global registration via createTerminal()

All existing functionality preserved:
- Custom commands (hello, meet)
- WebSocket integration
- Idle timer auto-execution
- TerminalApi methods

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add PATRON.ttf, PATRON.woff, PATRON.woff2 to public/fonts/
- Add PATRON fonts to src/assets/fonts/ for @import usage
- Update PromptExecutionLogo.vue to use local fonts instead of onlinewebfonts.com
- Removes font loading errors from browser console

Font files from: PATRON Multimedia License.zip

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings January 25, 2026 02:28
- Regenerated lockfile after manual package installations
- Fixes Cloudflare build error: 'lockfile had changes, but lockfile is frozen'

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 25, 2026

Deploying promptexecutionwebsite with  Cloudflare Pages  Cloudflare Pages

Latest commit: 66402ab
Status: ✅  Deploy successful!
Preview URL: https://e59de912.promptexecutionwebsite.pages.dev
Branch Preview URL: https://feature-upgrade-vue-web-term.promptexecutionwebsite.pages.dev

View logs

@elasticdotventures elasticdotventures merged commit 8d1358c into main Jan 25, 2026
2 checks passed
@elasticdotventures elasticdotventures deleted the feature/upgrade-vue-web-terminal-3.4.1 branch January 25, 2026 02:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the vue-web-terminal dependency and wires it up as a plugin, while also switching the PromptExecution branding fonts from a remote CDN to locally hosted licensed font files.

Changes:

  • Bump vue-web-terminal from 3.2.2 to 3.4.1 and register its plugin (createTerminal) on the Vue app so TerminalApi works correctly.
  • Update TheXTerm.vue to use the component theme="dark" prop instead of importing the dark theme CSS directly, and adjust imports for TerminalApi/Command.
  • Replace external Patron font loading with local PATRON font files (TTF/WOFF/WOFF2) under public/fonts and corresponding @font-face rules in PromptExecutionLogo.vue.

Reviewed changes

Copilot reviewed 4 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Upgrades vue-web-terminal to 3.4.1, enabling the newer API and theme-prop behavior.
src/main.ts Imports createTerminal from vue-web-terminal and installs it as a plugin so TerminalApi calls in components function as intended.
src/components/TheXTerm.vue Points the Terminal component at the new plugin setup, sets theme="dark", and refines imports/types for TerminalApi and Command.
src/components/PromptExecutionLogo.vue Switches logo typography to use locally hosted Patron/Exodar fonts via @font-face with /fonts/... URLs.
public/fonts/PATRON.woff2 / public/fonts/PATRON.woff / public/fonts/PATRON.ttf Provide the Patron font in multiple web formats for use by the logo styles via /fonts/PATRON.* URLs.
src/assets/fonts/PATRON.woff2 / src/assets/fonts/PATRON.woff Add additional copies of the Patron font under src/assets/fonts, which currently are not referenced by any CSS.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +10 to +11
// @ts-ignore - TypeScript can't resolve the export but it exists at runtime
import { createTerminal } from 'vue-web-terminal';
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using // @ts-ignore here hides all TypeScript checking for this import and diverges from the way other untyped dependencies are handled (for example src/vue-native-websocket-vue3.d.ts declares a module instead). To keep type safety and stay consistent with the rest of the codebase, consider adding or extending a .d.ts declaration for vue-web-terminal (including createTerminal) instead of suppressing the error at the usage site.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants