-
Notifications
You must be signed in to change notification settings - Fork 0
Dynamic CI/CD UI Linking #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tion Added branch merging protection + Linting rules
* Created the linting rules for the project * Added path aliasing * Added the merge protection github action. * Addressed the multiline syntax Copilot highlighted
* Removed unnecessary label and emoji * Added protection for the main branch
Added main branch protection
* Removed unnecessary label and emoji * Added protection for the main branch * Implemented dynamic branch based import logic. * Ran lint fix * Fixed most of the linting errors. ESLint implementation errors remain * Fixed `createWasmCanvas.ts` ESLint implementation errors * Fixed `ProgramWindow.tsx` ESLint implementation errors * Fixed `WGPUNotificationWindow.tsx` ESLint implementation errors * Fixed `WalletContext.tsx` ESLint implementation errors * Fixed the `DrivesAndPrograms.tsx` ESLint implementation errors. Fixed aliased imports * Fixed the program window content not rendering and some ESLint implementation issues. * WASM rendering now works with remote files. * Added ignoring to the event that triggers the drive view. Fixed ESLint implementation error * Simplified the implementation of the assetLoader We now just use the headers available to the R2 bucket and get a speed boost! * Fixed copilot nitpicks * Made error name better
Dynamic Link Deployment Test - Dev Site (#7)
Dynamic CI/CD UI linking
Deploying daemon-os-ui-testnet with
|
| Latest commit: |
d80c1a0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2eeacace.daemon-os-ui-testnet.pages.dev |
There was a problem hiding this 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 implements dynamic CI/CD UI linking by refactoring URL constants from hardcoded values to dynamic environment-based configurations. The changes enable flexible deployment across different environments while improving code quality through modernization of TypeScript patterns and component structures.
Key Changes
- Centralized WASM asset URLs into environment-configurable constants
- Modernized TypeScript patterns and component syntax throughout the codebase
- Enhanced asset preloading system with unified validation and error handling
Reviewed Changes
Copilot reviewed 44 out of 52 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/utils/assetPreloader.ts | Replaced hardcoded URLs with dynamic constants and simplified asset validation logic |
| src/components/ProgramEventDemo.tsx | Updated to use centralized WASM URL constants instead of hardcoded paths |
| src/components/ProgramDatabase.tsx | Migrated from hardcoded WASM URLs to dynamic configuration system |
| src/components/WasmIframeWrapper.tsx | Modernized component syntax and improved type safety |
| src/components/hooks/createWasmCanvas.ts | Enhanced TypeScript patterns and code formatting |
Comments suppressed due to low confidence (1)
src/components/Wallet/WalletApp.tsx:21
- The variable name '_e' is not descriptive. Consider using 'error' or 'parseError' for clarity.
} catch (_e) {
No description provided.