cycle 78 - #1257
Conversation
PageTitle: fix page title button dropdown
…ataTable - Add OcExpandingType.vue — reusable flat-grid with show-more/show-less toggle and optional CustomerCard, extracted from hitpay ExpandingTransactionDetails - Add expanding variant to OcAdditionalContent.vue with expandingItems, expandingInitialCount, expandingColumns props - Restructure stories with Playground + per-story description/highlights/code pattern matching DataTable - Add examples/ folder with Default, Dynamic, Balance, Expanding example files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add MobileExpandingType with slide-from-right details panel - Auto-expand last item to fill incomplete grid row, respecting manual colSpan - Add ExpandingCustomerInfo story example - Fix show more button mobile clickability with z-10 and mb-8 spacing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Feature/hit 17564
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
3 issues found across 16 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="packages/core/src/Elements/PageTitle/OcPageTitleRight.vue">
<violation number="1" location="packages/core/src/Elements/PageTitle/OcPageTitleRight.vue:21">
P2: Forward the click event to `secondaryButtonProps.onAdditionClick`. The Button emits `addition-click` with the event payload, so calling the handler with no args breaks handlers that rely on the event object.</violation>
</file>
<file name="packages/core/src/Elements/AdditionalContent/ExpandingType/OcExpandingType.vue">
<violation number="1" location="packages/core/src/Elements/AdditionalContent/ExpandingType/OcExpandingType.vue:84">
P2: `grid-cols-${columns}` is built dynamically, so Tailwind won’t generate the class and the grid column styling can be missing in production. Map columns to static class names or use inline `gridTemplateColumns` instead.</violation>
</file>
<file name="packages/core/src/Elements/AdditionalContent/ExpandingType/MobileExpandingType.vue">
<violation number="1" location="packages/core/src/Elements/AdditionalContent/ExpandingType/MobileExpandingType.vue:58">
P2: Avoid interpolating Tailwind utility class names; `grid-cols-${columns}` can be omitted from the built CSS and break the layout.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.
|
Reviewed 1. (Important) Same Tailwind dynamic-class bug, but on desktop — not fixedPR #1258 fixes <div :class="[`grid grid-cols-${columns}`, hasMore ? 'md:mb-0' : '']">Tailwind JIT can't see interpolated classes → purged from build → desktop grid won't render columns correctly either. This needs the same fix as #1258 (object map with 2.
|
|
thanks @mykhailo-diakovych can you help review https://github.com/hit-pay/orchid/pull/1258/changes |
[Feature-fix] Fix table data status & tab same value
Summary by cubic
Adds an expanding variant to
AdditionalContentwith a desktop show-more grid and a mobile slide-in details panel. Also fixes thePageTitlesecondary button dropdown and resolves aDataTabletab/filter sync issue.New Features
@orchidui/coreAdditionalContent: newexpandingvariant withexpandingItems,expandingInitialCount, andexpandingColumns; optionalCustomerCard; auto colSpan fill for the last cell; desktop show more/less; mobile drawer.OcExpandingType.vueandMobileExpandingType.vue, wired viaOcAdditionalContent.vue; Storybook moved to a Playground with focused examples (Default,Dynamic,Balance,Expanding,ExpandingCustomerInfo) and code snippets.Bug Fixes
PageTitlesecondary button: dropdown opens only from the additional-area icon; main button still callsonClick;OcButton.vuenow emitsaddition-clickwith the event payload..has-errorstyles by flattening nested selectors insnow.css.DataTable: synced tabs with form filters when they represent the same value (e.g.,tabs.filter_name = 'statuses'); improvedclearAllFiltersto respect the active tab; Storybook adds astatusesSelect filter example.Written for commit 7fa3439. Summary will update on new commits. Review in cubic