Skip to content

Conversation

@panchi64
Copy link
Member

No description provided.

panchi64 and others added 12 commits June 26, 2025 14:38
…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)
@panchi64 panchi64 self-assigned this Jul 21, 2025
@cloudflare-workers-and-pages
Copy link

Deploying daemon-os-ui-testnet with  Cloudflare Pages  Cloudflare Pages

Latest commit: d80c1a0
Status: ✅  Deploy successful!
Preview URL: https://2eeacace.daemon-os-ui-testnet.pages.dev

View logs

@panchi64 panchi64 requested review from FloppyDisck and Copilot July 21, 2025 15:02
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 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) {

@panchi64 panchi64 merged commit 7158fec into mainnet Jul 22, 2025
3 checks passed
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.

3 participants