Skip to content
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

Enhance Actions Hub with environment retrieval and refresh functionality #1111

Open
wants to merge 40 commits into
base: main
Choose a base branch
from

Conversation

amitjoshi438
Copy link
Contributor

@amitjoshi438 amitjoshi438 commented Feb 5, 2025

This pull request introduces several updates to the powerpages extension, focusing on enhancing the Actions Hub functionality, improving error handling, and updating test cases accordingly. The most important changes include adding a refresh command, handling environment expiration errors, and updating the Actions Hub initialization and tests.

Enhancements to Actions Hub functionality:

Error handling improvements:

  • src/client/OrgChangeNotifier.ts: Added a comment to indicate that an event will be fired if the organization/environment is expired or deleted.
  • src/client/extension.ts: Imported showErrorDialog and ENVIRONMENT_EXPIRED to handle environment expiration errors. Registered an error event to show a dialog when the environment is expired. [1] [2] [3]

Updates to test cases:

Additional changes:

These changes collectively improve the functionality and reliability of the Actions Hub within the powerpages extension.

amitjoshi added 27 commits January 24, 2025 14:36
 into users/amitjoshi/fetchCurrEnForActionsHub
@amitjoshi438 amitjoshi438 requested review from a team as code owners February 5, 2025 09:22
package.json Outdated Show resolved Hide resolved
src/client/power-pages/actions-hub/Constants.ts Outdated Show resolved Hide resolved
src/client/extension.ts Show resolved Hide resolved
@amitjoshi438 amitjoshi438 enabled auto-merge (squash) February 6, 2025 06:28
Copy link
Contributor

@priyanshu92 priyanshu92 left a comment

Choose a reason for hiding this comment

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

You'll need to update tests for ActionsHub and ActionsHubTreeDataProvider

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