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

fix: colspan build #7780

Merged
merged 4 commits into from
Feb 18, 2025
Merged

fix: colspan build #7780

merged 4 commits into from
Feb 18, 2025

Conversation

snowystinger
Copy link
Member

Closes

noticed that our verdaccio build on main was failing

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

@@ -5041,11 +5040,3 @@ export let tableTests = () => {
};

describe('TableView', tableTests);

describe('TableView with expandable rows flag on', function () {
Copy link
Member Author

Choose a reason for hiding this comment

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

I've just moved these to another file so that the tests run faster

@@ -79,20 +79,6 @@ export class GridCollection<T> implements IGridCollection<T> {

if (last) {
last.nextKey = null;

if (rowHasCellWithColSpan && node.type === 'item') {
Copy link
Member Author

@snowystinger snowystinger Feb 18, 2025

Choose a reason for hiding this comment

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

moved this check back to Table's domain, it's old collections, so not too worried about colSpan on anything other than Tables in v3
it was counting something about expandable rows as an extra column in the dynamic rendering, though I'm not entirely sure why

@rspbot
Copy link

rspbot commented Feb 18, 2025

@snowystinger snowystinger added this pull request to the merge queue Feb 18, 2025
Merged via the queue into main with commit cbc368d Feb 18, 2025
30 checks passed
@snowystinger snowystinger deleted the fix-colspan-build branch February 18, 2025 23:23
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.

4 participants