Repository navigation
feat: scaffold KI Hypothesen Test React/Vite app - #14
Merged
Merged
Conversation
Add an independent React + Vite + TypeScript SPA in the ki-hypothesen-test/ subfolder (unrelated to the C++ Kodi addon). Components: - Sidebar: collapsible, searchable topics sidebar (categories + topics) - LessonsTab: knowledge base with category cards, popular & recent lessons - TopicModal: accessible modal for topic details + related lessons Data/types/hooks: - types/hypothesis.ts: Hypothesis type incl. field + status enums - types/topics.ts: Category / Topic / Lesson types - data/topics.json: static categories, topics, lessons - hooks/useTopics.ts: custom hook with derived popular/recent views App.tsx wires tabs (Hypotheses / Knowledge Base), sidebar, modal, hypothesis form with topic dropdown, and filterable hypothesis table. Uses for all type-only imports (verbatimModuleSyntax). Build verified: tsc -b + vite build pass. Co-authored-by: MarcelRaschke <MarcelRaschke@users.noreply.github.com>
MarcelRaschke
marked this pull request as ready for review
August 18, 2026 05:53
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
MarcelRaschke
added a commit
that referenced
this pull request
Aug 26, 2026
Static build of the React/Vite app for GitHub Pages deployment. Serves at: https://MarcelRaschke.github.io/visualization.matrix/ki-hypothesen-test/ Closes #14 Co-authored-by: MarcelRaschke <MarcelRaschke@users.noreply.github.com>
MarcelRaschke
added a commit
that referenced
this pull request
Aug 30, 2026
…sistence (#16) * feat: expand topics, customize Tailwind styling, add localStorage persistence - Add 3 new categories (Modellarchitekturen, Datenverarbeitung, Zukunft & Forschung) - Add 12 new topics with 28 lessons (total: 6 categories, 22 topics, 36 lessons) - Customize Tailwind with primary/secondary color palettes, Inter font, animations - Add useLocalStorage hook for hypothesis persistence across sessions - Add delete functionality with confirmation - Update all components to use custom Tailwind classes Closes #14 Co-authored-by: MarcelRaschke <MarcelRaschke@users.noreply.github.com> * docs: add built KI Hypothesen Test app to docs/ki-hypothesen-test/ Static build of the React/Vite app for GitHub Pages deployment. Serves at: https://MarcelRaschke.github.io/visualization.matrix/ki-hypothesen-test/ Closes #14 Co-authored-by: MarcelRaschke <MarcelRaschke@users.noreply.github.com> --------- Co-authored-by: Vibe Nuage Agent <vibe@mistral.ai> Co-authored-by: MarcelRaschke <MarcelRaschke@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scaffolds a new React + Vite + TypeScript SPA ("KI Hypothesen Test") in the
ki-hypothesen-test/subfolder. This app is independent of the existing C++ Kodi visualization addon and sits alongside it — it does not touch any C++ build files, shaders, or addon resources.This was built from a narrative spec; none of the described React work existed in the repo before (the repo is a C++ Kodi addon). The app is now scaffolded from scratch as requested.
What's included
Sidebar.tsx— collapsible, searchable sidebar listing categories and their topics; selecting a topic opens the modal.LessonsTab.tsx— Knowledge Base tab with category cards, popular lessons (by popularity), and recent lessons (by date), rendered as responsive grids.TopicModal.tsx— accessible modal showing a topic's description and its related lessons (closes on Escape / backdrop click).types/hypothesis.ts—Hypothesistype with atopicfield plusHypothesisStatusenum and German labels.types/topics.ts—Category/Topic/Lessontypes.data/topics.json— static seed data (3 categories, 5 topics, 8 lessons).hooks/useTopics.ts— custom hook exposing topic data plus derivedpopularLessons/recentLessonsviews and lookups.App.tsx— tab switching (Hypotheses / Knowledge Base), collapsible sidebar, topic modal, hypothesis form with a topic dropdown, and a filterable hypothesis table (filter by topic, inline status change).Notes
import type(strictverbatimModuleSyntaxenabled) — addressing the type-only import concern from the spec.http://localhost:5173/..gitignoreexcludesnode_modules/,dist/, and*.tsbuildinfo.Verification
Run from
ki-hypothesen-test/:npm run build: pass — 37 modules transformed, outputdist/assets/index-*.js(158.62 kB) andindex-*.css(12.41 kB).npm run dev: server boots cleanly onhttp://localhost:5173/.tsc -b(strict,noUnusedLocals,noUnusedParameters,verbatimModuleSyntax): no errors.The parent C++ addon build (
CMakeLists.txt,src/*.cpp, shaders) is unchanged.How to use
cd ki-hypothesen-test && npm install && npm run devhttp://localhost:5173/.