Skip to content

feat : Edit Issue content during sync-projectItemStaged - #136

Merged
rulasg merged 27 commits into
mainfrom
rulasg/issue122
Sep 14, 2025
Merged

feat : Edit Issue content during sync-projectItemStaged #136
rulasg merged 27 commits into
mainfrom
rulasg/issue122

Conversation

@rulasg

@rulasg rulasg commented Sep 14, 2025

Copy link
Copy Markdown
Owner

Introduce new functions for searching and updating project items, improve query readability, and standardize parameter handling across project functions. Refactor integration tests for clarity and enhance error handling in database synchronization processes.

Fixes #122

rulasg added 22 commits July 4, 2025 18:01
…on and remove unused Get-DefaultDisplayFields
… functions to Add-ProjectItemDirect and Remove-ProjectItemDirect
- Improved the Sync-Project function to streamline the processing of staged items and fields.
- Introduced a new Remove-ItemStaged function to handle the removal of staged fields more efficiently.
- Created project_database_call.ps1 to define command aliases for GitHub updates and item field updates.
- Enhanced the Update-ProjectItem function to support both synchronous and asynchronous operations.
- Added new GraphQL mutations for updating draft issues and pull requests.
- Updated the Get-ProjectItem function to retrieve items directly if not found in the cache.
- Refactored the Convert-ItemsFromResponse and Convert-FieldsFromResponse functions for better clarity and maintainability.
- Implemented caching logic in Get-OwnerAndProjectNumber to optimize owner and project retrieval.
- Added new GraphQL queries to fetch detailed project item information, including fields and values.
- Improved error handling and logging throughout the project item management functions.
- Enhanced Get-ProjectFromDatabase function to copy fields, items, and staged data using Copy-MyHashTable.
- Streamlined Sync-ProjectDatabaseAsync by removing redundant checks and simplifying staged item processing.
- Introduced Set-ItemValue function for updating item values in the database.
- Improved error handling in Sync-ProjectDatabase and Sync-Project functions to provide clearer feedback on staged values.
- Added Test-UpdateProjectItemAsyncCall and Test-UpdateProjectItemCall functions for better validation of async update calls.
- Updated Get-ProjectItem to cache items in the project database for improved performance.
- Modified Sync-ProjectItemStagedAsync to return a boolean indicating success or failure.

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

PSScriptAnalyzer found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@rulasg
rulasg merged commit 4d6aabe into main Sep 14, 2025
3 checks passed
@rulasg
rulasg deleted the rulasg/issue122 branch September 14, 2025 18:43
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.

Edit Issue content during sync-projectItemStaged

3 participants