Skip to content

Conversation

@Oba-One
Copy link
Member

@Oba-One Oba-One commented Nov 23, 2025

No description provided.

Oba-One and others added 30 commits November 18, 2025 20:51
- Removed direct pinata utility functions and migrated to a new data module for better organization.
- Updated references across the codebase to use the new pinata module structure.
- Enhanced documentation and tests to reflect changes in pinata integration.
- Improved performance by reducing stale time for job queries and work approvals.
- Added new utility functions for transaction polling and translation diagnostics.
…, and add new documentation

- Updated the .env.example file to include the Envio API token.
- Modified bun.lock to reflect updated package dependencies.
- Added new documentation for gardener accounts architecture.
- Cleaned up unused hooks and components in the client package.
- Removed obsolete files and tests to streamline the codebase.
- Introduced new utility functions and improved existing ones for better performance.
- Modified foundry.toml to adjust fuzzing parameters.
- Updated various JSON files in the deployments and output directories to reflect the latest contract changes.
- Cleaned up obsolete build-info files to streamline the project structure.
- Enhanced deployment scripts for better integration with the updated contract architecture.
….json

- Upgraded the envio dependency from version 2.31.1 to 2.32.2 in both bun.lock and package.json files to ensure compatibility with the latest features and fixes.
- Removed direct pinata utility functions and migrated to a new data
module for better organization.
- Updated references across the codebase to use the new pinata module
structure.
- Enhanced documentation and tests to reflect changes in pinata
integration.
- Improved performance by reducing stale time for job queries and work
approvals.
- Added new utility functions for transaction polling and translation
diagnostics.
- Added a default landing route to the router configuration for improved navigation.
- Updated the Hero component to streamline the app installation prompt, allowing for direct installation without a modal when applicable.
- Improved user experience by refining the installation instructions for both iOS and Android platforms.
- Changed the start_block value for network ID 42161 from 200000000 to 0 in the indexer configuration file to reset the block tracking for this network.
- Deleted the GardenAccount entry from the network configuration in the indexer to streamline the contract list and improve clarity.
- Simplified the GardenMinted event to only include essential parameters.
- Added new LocationUpdated and BannerImageUpdated events to the GardenAccount configuration.
- Updated event handlers to create a minimal Garden entity and handle updates for location and banner image dynamically.
- Adjusted the indexer configuration to improve clarity and streamline the contract list.
- Removed obsolete build-info files and updated various JSON files in the deployments and output directories to reflect the latest contract changes.
- Enhanced deployment scripts for better integration with the updated contract architecture.
- Changed the default lazy-loaded component in the router from Landing to PlatformRouter for better structure.
- Updated the redirect path in the router to point to the root instead of the landing page.
- Removed unused imports and simplified the Landing component by eliminating the redirect logic based on installation status.
- Enhanced the AppProvider to prevent unnecessary install checks during initialization, improving performance and user experience.
- Updated PlatformRouter to streamline routing based on device type and installation status.
- Removed unnecessary authentication checks and loading states, delegating authentication handling to the RequireAuth guard.
- Enhanced comments for clarity on routing flow and user experience.
- Updated the project ID assignment in both admin and client main files to exclusively use VITE_WALLETCONNECT_PROJECT_ID.
- Changed error logging in AppKitProvider to a warning for improved clarity on missing project ID configuration.
…Boundary

- Removed conditional rendering for development environment in error details display to streamline error handling.
- Enhanced clarity by ensuring error details are always shown when an error occurs, regardless of the environment.
…ider

- Introduced a new helper function to determine the browser's locale from available languages, enhancing locale management.
- Simplified the AppProvider's locale initialization by using the new helper instead of the browserLang package, improving clarity and maintainability.
- Modified the globPatterns in the Vite configuration to include JavaScript files, enhancing the caching strategy for static assets.
- Improved the overall asset management by ensuring all relevant file types are considered for caching.
- Added options to cleanup outdated caches, claim clients, and skip waiting in the Workbox configuration for improved service worker behavior.
- Updated the URL pattern for caching JavaScript files to only include same-origin requests, enhancing security and performance.
- Replaced isInstalled with isStandalone in RequireInstalled and PlatformRouter components to improve clarity on app installation status.
- Enhanced AppProvider to include isStandalone state, determining if the app is running in standalone mode.
- Updated related logic to ensure proper redirection and functionality for mobile users based on the new standalone detection.
…t entries

- Removed the outdated ENSRegistrar contract entry from the indexer configuration to streamline the contract list.
- Enhanced clarity in the configuration by focusing on relevant and active contracts.
…s in preparation for future deployment

- Commented out the ENSRegistrar and Gardener contract entries in the configuration and their respective event handlers in EventHandlers.ts, indicating they are not yet deployed.
- Added notes to clarify that these handlers are ready but inactive until the contracts are deployed, improving code maintainability and clarity.
…mmented handlers

- Changed the start_block for the network configuration from 200000000 to 0 to reflect the current deployment state.
- Removed commented-out entries for the ENSRegistrar and Gardener contracts, streamlining the configuration and improving clarity.
- Eliminated the start_block entry from the network configuration in indexer, reflecting the current deployment state and improving clarity in the configuration file.
- Introduced start_block entry with a value of 402713932 in the indexer network configuration to reflect the current deployment state and enhance clarity in the configuration file.
- Replaced PasskeyAuthProvider with ClientAuthProvider in main.tsx to streamline authentication handling.
- Enhanced Hero component to conditionally render installation prompts based on app installation status.
- Refactored Login and Recovery views to utilize useClientAuth for improved authentication management.
- Updated ProfileAccount to simplify sign-out logic.
- Introduced wasInstalled state in AppProvider to track app installation history.
- Cleaned up unused imports and improved overall code clarity.
- Replaced useAppKit with direct appKit import in Login and WalletAuthProvider components for improved clarity and consistency.
- Updated Login component to utilize appKit.open() for wallet login functionality.
- Refactored AppKitProvider to use ensureAppKit for configuration, enhancing initialization logic and reducing redundancy.
- Cleaned up unused imports and improved overall code organization.
- Updated deployment scripts to load gardens and actions configurations from JSON files, improving flexibility and maintainability.
- Refactored garden deployment logic to handle dynamic garden creation based on configuration data.
- Enhanced IPFS upload process with better error handling and cache management for action uploads.
- Cleaned up console logging for clarity during contract deployment and configuration loading.
- Adjusted start_block values in indexer configuration to reflect the latest deployment state.
- Modified gardens.json to include additional garden entries with updated addresses.
- Updated latest.json with new contract addresses and improved schema identifiers for better clarity.
- Enhanced Deploy.s.sol to improve JSON parsing logic, ensuring robust handling of potential errors and non-JSON prefixes.
- Incremented deployment salt in DeployHelper.sol for fresh deployments.
- Adjusted start_block in indexer configuration to reflect the latest deployment state.
- Updated Splash component to use a primary button variant for improved visibility.
- Enhanced RequireAuth to display a loading spinner while waiting for authentication readiness, preventing a flash of the login screen.
- Refactored Login component to provide clearer loading messages and user-friendly error handling during passkey authentication.
- Adjusted ProfileAccount to ensure a clean login flow by always redirecting to the login page after sign-out.
- Updated localization files to include new loading and authentication messages for better user feedback.
- Updated ProfileHelp component to apply consistent styling to headings for better visual hierarchy.
- Refactored useAutoJoinRootGarden hook to support both smart account and wallet users, improving membership checks and error handling during garden joining.
- Introduced simulation for join transactions to catch errors before user incurs gas fees, enhancing user experience.
@vercel
Copy link

vercel bot commented Nov 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
green-goods Ready Ready Preview Nov 23, 2025 10:51pm
green-goods-admin Ready Ready Preview Nov 23, 2025 10:51pm

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…Manager

- Refactored useAutoJoinRootGarden hook to replace tokenAddress with id for improved clarity and consistency in garden joining logic.
- Enhanced ServiceWorkerManager to handle controller changes, ensuring the page reloads when a new service worker takes control, improving user experience during updates.
@Oba-One Oba-One merged commit c235d40 into develop Nov 23, 2025
6 of 8 checks passed
@Oba-One Oba-One deleted the main branch November 23, 2025 23:21
@github-project-automation github-project-automation bot moved this from Backlog to Done in Green Goods Nov 23, 2025
@Oba-One Oba-One restored the main branch November 23, 2025 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants