mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-04-27 05:01:15 -05:00
[FE]: Docs-in-app, Part I (#2183)
* feat: initial commit bringing back side panel * feat: extend generation to generate docs index in app * refactor: minor gen cleanup * feat: side panel first pass * fix: dragging behavior * fix: overflow * fix: replace more uses of `<Sheet` * fix: slide out animation, back and forward buttons * fix: drag lag * feat: docs button, fix header * fix: lag on drag in iframe * fix: generation of paths * feat: first doc button! * fix: lint * fix: start fixing builds * fix: apk * fix: fe dockerfile * chore: lint * fix: gen snips in ci * fix: copy the python stuff more places * feat: first empty state * fix: provider * fix: reset history on close * feat: event side panel * feat: improve styling * fix: overflow state * fix: rm selected event, useEffect * fix: lint * fix: spacing * fix: scrollbar for toolbar filters on overflow * feat: improve scrollbar styling * fix: scroll metric badges on overflow * fix: copy improvements * chore: lint * fix: sidebar toggle * fix: empty states, docs button * fix: docs button variant / size * feat: theme from param
This commit is contained in:
@@ -45,6 +45,12 @@ jobs:
|
||||
- name: Install dependencies
|
||||
working-directory: frontend/app
|
||||
run: pnpm install --frozen-lockfile
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Generate docs snippets and examples
|
||||
working-directory: frontend/snippets
|
||||
run: python3 generate.py
|
||||
- name: Build
|
||||
working-directory: frontend/app
|
||||
run: npm run build
|
||||
|
||||
@@ -13,6 +13,12 @@ jobs:
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v5
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Generate docs snippets and examples
|
||||
working-directory: frontend/snippets
|
||||
run: python3 generate.py
|
||||
- name: Build frontend
|
||||
run: docker build -f ./build/package/frontend.dockerfile .
|
||||
|
||||
@@ -85,6 +91,12 @@ jobs:
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v5
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Generate docs snippets and examples
|
||||
working-directory: frontend/snippets
|
||||
run: python3 generate.py
|
||||
- name: Build lite
|
||||
run: |
|
||||
DOCKER_BUILDKIT=1 docker build -f ./build/package/servers.dockerfile \
|
||||
@@ -119,6 +131,12 @@ jobs:
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v5
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Generate docs snippets and examples
|
||||
working-directory: frontend/snippets
|
||||
run: python3 generate.py
|
||||
- name: Build lite
|
||||
run: |
|
||||
DOCKER_BUILDKIT=1 docker build -f ./build/package/servers.dockerfile \
|
||||
@@ -153,6 +171,12 @@ jobs:
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v5
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Generate docs snippets and examples
|
||||
working-directory: frontend/snippets
|
||||
run: python3 generate.py
|
||||
- name: Build dashboard
|
||||
run: |
|
||||
DOCKER_BUILDKIT=1 docker build -f ./build/package/servers.dockerfile \
|
||||
@@ -171,6 +195,12 @@ jobs:
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v5
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Generate docs snippets and examples
|
||||
working-directory: frontend/snippets
|
||||
run: python3 generate.py
|
||||
- name: Build dashboard
|
||||
run: |
|
||||
DOCKER_BUILDKIT=1 docker build -f ./build/package/servers.dockerfile \
|
||||
|
||||
Reference in New Issue
Block a user