Thanks for your interest in contributing to buridan/ui.
Please take a moment to review this document before submitting your first pull request. We also strongly recommend that you check for open issues and pull requests to see if someone else is working on something similar.
Path | Description |
---|---|
buridan_ui/routes |
The dir where all the routes are held. |
buridan_ui/pantry |
The main dir where all compoenents are stored. |
buridan_ui/pages/pantry_items/items.py |
The main export file for all pages related to pantry. |
You can fork this repo by clicking the fork button in the top right corner of this page.
git clone https://github.com/your-username/buridan-ui.git
cd buridan-ui
git checkout -b my-new-branch
Make sure to install or have installed Reflex
pip install reflex
The following steps should be taken to facilitate adding a new component:
- Create the pre-built design inside one of the main sections (pantry, charts, or interactive apps).
- Add the
route
,name
, anddir
inside theroutes/route.py
file, under the correct section. - If it's a new category of
pantry
item, find the relative SVG image for it. - Add and normalize the dir name for the thumbnails.
- Add the necessary config details.