mirror of
https://github.com/stablyai/orca.git
synced 2026-09-26 08:02:38 +00:00
Style commit text area to match input tokens and fix disabled state (#6339)
* Style commit text area to match input tokens and fix disabled state - Update borders and shadows to match standard input tokens. - Style the disabled state explicitly to prevent Chromium's user-agent styles from washing out the field outline. - Add dark mode background styling overrides. * Improve timeline items assertions in work-item-details test Extract timelineItems to a local variable and add an explicit null check to prevent TypeScript compilation errors when calling the .at method.
This commit is contained in:
@@ -283,9 +283,13 @@ describe('getWorkItemDetails', () => {
|
||||
call[0].includes('repos/acme/widgets/issues/923/timeline?per_page=100&page=7')
|
||||
)
|
||||
).toBe(false)
|
||||
expect(details?.timelineItems).toHaveLength(300)
|
||||
expect(details?.timelineItems.at(0)).toMatchObject({ assignee: 'assignee-3-0' })
|
||||
expect(details?.timelineItems.at(-1)).toMatchObject({ assignee: 'assignee-6-89' })
|
||||
const timelineItems = details?.timelineItems
|
||||
expect(timelineItems).toHaveLength(300)
|
||||
if (!timelineItems) {
|
||||
throw new Error('Expected timeline items to be present')
|
||||
}
|
||||
expect(timelineItems.at(0)).toMatchObject({ assignee: 'assignee-3-0' })
|
||||
expect(timelineItems.at(-1)).toMatchObject({ assignee: 'assignee-6-89' })
|
||||
})
|
||||
|
||||
it('falls back to REST + GraphQL when the collapsed issue query fails', async () => {
|
||||
|
||||
Reference in New Issue
Block a user