8000 Added hotjar only on production by chozzz · Pull Request #25 · ingra-ai/ingra · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added hotjar only on production #25

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

Merged
merged 8 commits into from
Jun 25, 2024
Merged

Added hotjar only on production #25

merged 8 commits into from
Jun 25, 2024

Conversation

chozzz
Copy link
Member
@chozzz chozzz commented Jun 25, 2024

No description provided.

chozzz added 8 commits June 23, 2024 00:03
…n and consolidate the functionality into the executeFunction

function. The executeFunction function now takes an additional parameter isMarketplace to determine whether to fetch the function from
the user's functions or from the marketplace. The runCodeSandbox function now calls executeFunction with the isMarketplace parameter.
The executeFunctionMarketplace function is deleted as it is no longer needed. Some logging statements are also modified for consistency.
This commit refactors the error handling in the CodeSandboxForm component and the run function. In CodeSandboxForm, the error message
displayed when code execution fails has been updated to "Failed to execute function" instead of "Failed to update function". In the run
function, a try-catch block has been added around the code execution in the sandbox. If an error occurs, it is caught and added to the
analytics outputs with the type 'error'. The outputs and result are then returned. This improves the error handling and provides more
detailed error messages when executing code.
…ed the "border-b border-white/5" class from the header element,

resulting in a cleaner design. This change does not affect the functionality of the component but improves the visual appearance.
Copy link
vercel bot commented Jun 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
ingra-hubs ⬜️ Ignored (Inspect) Jun 25, 2024 5:08am

@chozzz chozzz merged commit 3dc4cfb into main Jun 25, 2024
2 checks passed
chozzz added a commit that referenced this pull request Nov 24, 2024
* Refactor code to remove the unused executeFunctionMarketplace function and consolidate the functionality into the executeFunction
function. The executeFunction function now takes an additional parameter isMarketplace to determine whether to fetch the function from
the user's functions or from the marketplace. The runCodeSandbox function now calls executeFunction with the isMarketplace parameter.
The executeFunctionMarketplace function is deleted as it is no longer needed. Some logging statements are also modified for consistency.

* Refactor loggers and fix issue with function metrics logging

* Refactor error handling in CodeSandboxForm and run function

This commit refactors the error handling in the CodeSandboxForm component and the run function. In CodeSandboxForm, the error message
displayed when code execution fails has been updated to "Failed to execute function" instead of "Failed to update function". In the run
function, a try-catch block has been added around the code execution in the sandbox. If an error occurs, it is caught and added to the
analytics outputs with the type 'error'. The outputs and result are then returned. This improves the error handling and provides more
detailed error messages when executing code.

* Added back assistant route disabled swagger comment

* Fix env var section state between edit and new

* Move out integrations to a new page

* Refactored the header section in the settings layout component. Removed the "border-b border-white/5" class from the header element,
resulting in a cleaner design. This change does not affect the functionality of the component but improves the visual appearance.

* Added hotjar only on production
chozzz added a commit that referenced this pull request Nov 25, 2024
* Refactor code to remove the unused executeFunctionMarketplace function and consolidate the functionality into the executeFunction
function. The executeFunction function now takes an additional parameter isMarketplace to determine whether to fetch the function from
the user's functions or from the marketplace. The runCodeSandbox function now calls executeFunction with the isMarketplace parameter.
The executeFunctionMarketplace function is deleted as it is no longer needed. Some logging statements are also modified for consistency.

* Refactor loggers and fix issue with function metrics logging

* Refactor error handling in CodeSandboxForm and run function

This commit refactors the error handling in the CodeSandboxForm component and the run function. In CodeSandboxForm, the error message
displayed when code execution fails has been updated to "Failed to execute function" instead of "Failed to update function". In the run
function, a try-catch block has been added around the code execution in the sandbox. If an error occurs, it is caught and added to the
analytics outputs with the type 'error'. The outputs and result are then returned. This improves the error handling and provides more
detailed error messages when executing code.

* Added back assistant route disabled swagger comment

* Fix env var section state between edit and new

* Move out integrations to a new page

* Refactored the header section in the settings layout component. Removed the "border-b border-white/5" class from the header element,
resulting in a cleaner design. This change does not affect the functionality of the component but improves the visual appearance.

* Added hotjar only on production
chozzz added a commit that referenced this pull request Dec 9, 2024
* Refactor code to remove the unused executeFunctionMarketplace function and consolidate the functionality into the executeFunction
function. The executeFunction function now takes an additional parameter isMarketplace to determine whether to fetch the function from
the user's functions or from the marketplace. The runCodeSandbox function now calls executeFunction with the isMarketplace parameter.
The executeFunctionMarketplace function is deleted as it is no longer needed. Some logging statements are also modified for consistency.

* Refactor loggers and fix issue with function metrics logging

* Refactor error handling in CodeSandboxForm and run function

This commit refactors the error handling in the CodeSandboxForm component and the run function. In CodeSandboxForm, the error message
displayed when code execution fails has been updated to "Failed to execute function" instead of "Failed to update function". In the run
function, a try-catch block has been added around the code execution in the sandbox. If an error occurs, it is caught and added to the
analytics outputs with the type 'error'. The outputs and result are then returned. This improves the error handling and provides more
detailed error messages when executing code.

* Added back assistant route disabled swagger comment

* Fix env var section state between edit and new

* Move out integrations to a new page

* Refactored the header section in the settings layout component. Removed the "border-b border-white/5" class from the header element,
resulting in a cleaner design. This change does not affect the functionality of the component but improves the visual appearance.

* Added hotjar only on production
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.

1 participant
0