Skip to content

v4.0.26

Choose a tag to compare

@github-actions github-actions released this 27 May 21:08
· 16 commits to main since this release

feat(admin,layout): visual feedback and reduced delay when closing a tab

Closing a tab via the X had ~100ms of dead air with no visual signal — users
felt the UI was frozen.

  • ArchbaseAdvancedTabs: new closing?: boolean on the tab item / props.
    When true, the close button renders a Mantine Loader (size 12) with
    cursor: wait instead of the X glyph, signalling the close is in progress.
  • ArchbaseAdminTabContainer: derives closingTabKey from
    state.isClosing + state.userCloseLinkRequest and marks the matching tab as
    closing in buildAdvancedTabs. Also calls startProgress() immediately on
    the X click (was only called after the listener responded) so the top
    progress bar appears instantly.
  • ArchbaseNavigation.context: fallback timeout to auto-close when no
    navigation listener responds dropped from 100ms to 0ms. setTimeout(0)
    still lets synchronous listener useEffects win the race (they run during
    the React commit phase, before the macrotask), so behavior is preserved
    for listening views while non-listening views close without perceptible
    delay.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Packages

  • @archbase/core
  • @archbase/data
  • @archbase/components
  • @archbase/layout
  • @archbase/admin
  • @archbase/advanced
  • @archbase/security
  • @archbase/security-ui
  • @archbase/template
  • @archbase/tools
  • @archbase/feature-flags
  • @archbase/ssr

Installation

npm install @archbase/core@4.0.26

Documentation

Visit https://react.archbase.dev for full documentation.