fix(ui): adapt console interactions for touch
RE
1d ago+1708+1708+0123456789012345678901234567890123456789-829-829-012345678901234567890123456789
Summary
Issue: Original work in #3257 and #3258
This is the second PR of the revised mobile Console split from #3257 and #3258. It is stacked on https://github.com/Qovery/console/pull/3261; retarget it to staging after the responsive PR is merged.
- Open eligible tooltips on tap, avoid raising the virtual keyboard when opening a popover or mounting an autofocus field, and request a URL keyboard for URL fields.
- Add a collapsible mobile settings sidebar and keep the current breadcrumb and active tab reachable when horizontal space runs out.
- Add overflow cues to scrollable tables and navigation, with unit coverage for the shared utilities and controls.
Review touch interactions, keyboard navigation, and overflow handling.
Screenshots / Recordings
The responsive layout and the source preview are linked in the first PR.
Testing
60 targeted Jest tests passed. ESLint reported zero errors on the changed files.
- Changes tested locally in the relevant Console's pages and Storybooks
-
yarn testoryarn test -u(if you need to regenerate snapshots) - Formatting checked with Yarn and Prettier
-
yarn lint
PR Checklist
- I followed naming, styling, and TypeScript rules (see
.cursor/rules) - I performed a self-review (diff inspected, dead code removed)
- I titled the PR using Conventional Commits with a scope when possible (e.g.
feat(service): add new Terraform service) - required for semantic-release - I only kept necessary comments, written in English (watch for useless AI comments)
- I involved a designer to validate UI changes if I am not a designer
- I covered new business logic with tests (unit)
- I confirmed CI is green (Codecov red can be accepted)
- I reviewed and executed locally any AI-assisted code

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Adapts console interactions for touch screens: tooltips open on tap, virtual keyboards stay closed until needed, and scrollable areas keep their active item and overflow visible.
- Skips autofocus on touch screens for inputs and popovers, so the keyboard does not cover the screen when a form or menu opens.
- Opens tooltips on tap when the trigger is not interactive, and requests a URL keyboard on URL fields.
- Collapses the settings sidebar behind a button below
mdthat shows the current section, while keeping arrow-key navigation between the actual links. - Adds edge fades and keeps the active item visible on horizontal scroll in breadcrumbs, navbar, and tables.
- Adds shared utilities (
isTouchScreen,scrollIntoViewHorizontally,useHorizontalOverflowFade) with unit coverage.