Export useNarrowContainer from the package index (container-width layouts in consumers)
I maintainer di solito rispondono entro 1 giorno
@Foxhoundn ci sta già lavorando.
Dal 7/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
What the landing page needs
useNarrowContainer (src/hooks/useNarrowContainer.ts) exported from the package index, next to useReqoreProperty:
import { useNarrowContainer } from '@qoretechnologies/reqore';
Today it is only reachable as @qoretechnologies/reqore/dist/hooks/useNarrowContainer.
Why
qorus.cloud's "How it works" diagram (qorus-saas-landing PR #19, redesign package WP6) puts HTML words around an SVG: system tiles on the left, labels beside a node. Under about 680px of its own width the words no longer fit, and the diagram switches to a stacked "strip" of Reqore callouts. That is a container-width decision, not a viewport one: Reqore's isMobile (480px) leaves small tablets and phones in landscape squeezed, and a CSS container query does not work through styled-components 5 (the hook's own comment explains why). useNarrowContainer is exactly the measurement needed.
A deep dist/ import would work, but the site keeps to the package's public entry: in the site's Vitest/Storybook runs a new deep import is discovered after the dependency pre-bundle and re-optimises it mid-run ("Failed to fetch dynamically imported module").
What the site does meanwhile
A ten-line local hook (ResizeObserver on the diagram's wrapper, the screen width as the first guess) in src/components/home/ConvergenceDiagram.tsx, marked TODO(reqore) with this issue; it is swapped for the import once a release exports the hook.
- Lingua principale
- TypeScript
- Stelle
- 4
- Fork
- 0
- Merge medio
- 16h 28m
- PR unite (30g)
- 9
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di qoretechnologies/reqore
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
qoretechnologies/reqore#725 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
qoretechnologies/reqore#711 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
qoretechnologies/reqore#675 ·
I maintainer di solito rispondono entro 1 giorno
-
Checkbox: a long description pushes the control out of its container — the label column cannot shrinkForse già presa @Foxhoundn l’ha presa 49 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
qoretechnologies/reqore#662 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
qoretechnologies/reqore#745 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di qoretechnologies/reqore
Issue simili
-
area: documentation status: in progress type: documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
Oddmash/oddmash-ui#222 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
appium/appium-wincore-driver#169 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
india-ultimate/hub#715 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation Entwickler
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
I maintainer di solito rispondono entro 1 giorno