Skip to content

Conversation

ActiveChooN
Copy link
Contributor

πŸ“ Description

Updated deps for UI, fixed tests related to react-spectrum update
#832

✨ Type of Change

Select the type of change your PR introduces:

  • 🐞 Bug fix – Non-breaking change which fixes an issue
  • πŸš€ New feature – Non-breaking change which adds functionality
  • πŸ”¨ Refactor – Non-breaking change which refactors the code base
  • πŸ’₯ Breaking change – Changes that break existing functionality
  • πŸ“š Documentation update
  • πŸ”’ Security update
  • πŸ§ͺ Tests

πŸ§ͺ Testing Scenarios

Describe how the changes were tested and how reviewers can test them too:

  • βœ… Tested manually
  • πŸ€– Run automated end-to-end tests

βœ… Checklist

Before submitting the PR, ensure the following:

  • πŸ” PR title is clear and descriptive
  • πŸ“ For internal contributors: If applicable, include the JIRA ticket number (e.g., ITEP-123456) in the PR title. Do not include full URLs
  • πŸ’¬ I have commented my code, especially in hard-to-understand areas
  • πŸ“„ I have made corresponding changes to the documentation
  • βœ… I have added tests that prove my fix is effective or my feature works

@Copilot Copilot AI review requested due to automatic review settings July 21, 2025 07:42
@github-actions github-actions bot added the UI label Jul 21, 2025

fireEvent.click(screen.getByRole('button', { name: /Choose annotation dataset/ }));
const picker = screen.getByRole('button', { name: /Choose annotation dataset/ });
const selectTester = testUtilUser.createTester('Select', { root: picker });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

According to the documentation, this is the recommended way to interact with the picker https://react-spectrum.adobe.com/react-spectrum/Picker.html#testing

@@ -1 +1 @@
22.12.0
22.17.0 No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: why this change?

const testUtilUser = new User();

beforeAll(() => {
simulateDesktop();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This function sets the view's height and width. It is required due to the picker's virtualization.

@jpggvilaca
Copy link
Contributor

jpggvilaca commented Jul 21, 2025

Can we divide this into:

  1. Geti main app packages
  2. Geti main app linters
  3. Geti subpackages packages

(1 PR each)

And for now maybe let's leave react-spectrum out. If we need to update our code then this is not so safe as updating minor versions.

Copy link
Contributor

@Copilot 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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants