Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample für Tabellen mit horizontalem Scrollen #6718

Closed
5 tasks
laske185 opened this issue Aug 9, 2024 · 1 comment · Fixed by #6723
Closed
5 tasks

Sample für Tabellen mit horizontalem Scrollen #6718

laske185 opened this issue Aug 9, 2024 · 1 comment · Fixed by #6723
Assignees
Labels
cop Community of Practices created-by: kolibri-team Created by KoliBri-Team good first issue Good for newcomers sample Relates to a sample in the sample-react project. v2

Comments

@laske185
Copy link
Contributor

laske185 commented Aug 9, 2024

Wir benötigen ein weiteres Sample in der react-sample App, welches den typischen Aufbau einer Anwendung demonstriert.

Die Anwendung soll eine große Tabelle mit vielen Spalten beinhalten. Dafür wird das horizontale Scrollen der Tabelle demonstriert. Dabei soll die Tabelle immer die komplette Breite des äußeren Containers einnehmen und intern horizontal scrollen, damit man alle Spalten sehen kann.

Die Tabelle sollte genug Spalten besitzen, damit sie horizontal scrollen kann. Bei jeder Spalte kann in der Header-Definition die Breite der Spalte angegeben werden, z. B. mit 10em. Dies soll in der Sampel gesetzt werden. An der Tabelle selbst muss die _minWidth gesetzt werden, beispielsweise mit 150em.

Die Tabelle soll innerhalb eines Tab-Controls (ein Tab genügt) platziert werden. Dieses wiederum soll sich die Seite mit einer Navigation teilen. Das Breitenverhältnis ist 1:2.

Image

Akzeptanzkriterien

  • Das Sample ist angelegt
  • Platzierung im Projekt react-samples unterhalb der Szenarios
  • Die Navigation nimmt die linke Seite der View ein
  • Die Tabelle nimmt die komplette Breite des Tab-Panels ein und scrollt horizontal (bei HD-Auflösung)
  • Das Tab-Panel rechts neben der Navigation den verfügbaren Platz in der View komplett ein
@laske185 laske185 converted this from a draft issue Aug 9, 2024
@laske185 laske185 added good first issue Good for newcomers cop Community of Practices created-by: kolibri-team Created by KoliBri-Team sample Relates to a sample in the sample-react project. v2 labels Aug 9, 2024
@laske185 laske185 changed the title Komplexes Sample für Tabellen mit horizontalem Scrollen Sample für Tabellen mit horizontalem Scrollen Aug 9, 2024
Makko74 added a commit that referenced this issue Aug 12, 2024
Makko74 added a commit that referenced this issue Aug 12, 2024
@laske185 laske185 linked a pull request Aug 13, 2024 that will close this issue
Makko74 added a commit that referenced this issue Aug 13, 2024
Makko74 added a commit that referenced this issue Aug 13, 2024
Makko74 added a commit that referenced this issue Aug 13, 2024
Refs: #6718
@Makko74
Copy link
Contributor

Makko74 commented Aug 13, 2024

Um das Sample zu verbessern wird folgende Dinge noch benötigt:

Ein Event in der KolNav um auf Collapsed Änderung reagieren zu können ( css var die das css grid steuert)

Das KolTab hat eine display grid und steht auf 1fr, was die dynamische Breitenerkennung etwas behindert, im gegensatz zu flex und block. Des Wegen ist momentan die Table nicht direkt im Tab drin

@Makko74 Makko74 moved this from 🏗 In progress to 🔍 Review in KoliBri Board Aug 14, 2024
Makko74 added a commit that referenced this issue Aug 14, 2024
@github-project-automation github-project-automation bot moved this from 🔍 Review to ✅ Done in KoliBri Board Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cop Community of Practices created-by: kolibri-team Created by KoliBri-Team good first issue Good for newcomers sample Relates to a sample in the sample-react project. v2
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants