Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
334 commits
Select commit Hold shift + click to select a range
a00a266
Change accountsettings actions to modals
p-yigit Dec 1, 2025
f9820f8
Fix typecheck, run prettier
p-yigit Dec 1, 2025
2278f9e
Token refresh issues fixed
p-yigit Dec 1, 2025
03927cb
Fixed electron
p-yigit Dec 4, 2025
1705513
Backport stuff from purrmd
p-yigit Dec 4, 2025
cf339e4
File upload and table improved
p-yigit Dec 4, 2025
3fd36f3
images and file attachments
p-yigit Dec 4, 2025
e4c4cea
Bugfixing
p-yigit Dec 4, 2025
9ae6be0
feat(ui): migrate design system to Tailwind v4
3xp0rt Dec 5, 2025
44d5cdc
Fix accountsettings
p-yigit Dec 8, 2025
702b345
Add register notifications
p-yigit Dec 8, 2025
64b7a41
feat(ui): update prosemark theme styling
p-yigit Dec 11, 2025
8b5f477
Set base dir
p-yigit Dec 11, 2025
93a1b7d
refactor: ui enhancements
3xp0rt Dec 15, 2025
9f93bc8
Merge branch 'feat/cosmograph' into feat/ui_refactor
p-yigit Dec 15, 2025
45b20a1
Fix account settings again
p-yigit Dec 15, 2025
7e49dc1
minor fixes
p-yigit Dec 15, 2025
59f4519
Refactor accountsettings to use modular forms
p-yigit Dec 15, 2025
3dfd8b8
Refactor admin forms
p-yigit Dec 15, 2025
0cbd7a1
Admin panel left panel styling
p-yigit Dec 15, 2025
bb2cfbd
Refactor more admin forms
p-yigit Dec 15, 2025
a40f56d
Fixing user permission pages
p-yigit Dec 15, 2025
2e5d2cb
feat(auth): simplify password reset to email-only
3xp0rt Dec 15, 2025
eb38c74
Refactoring permissions
p-yigit Dec 15, 2025
e961d51
Merge branch 'feat/ui_refactor' of github.com:prodaft/cradle into fea…
p-yigit Dec 15, 2025
7fc6325
Fix asymmetric form
p-yigit Dec 15, 2025
77c327d
Enrichment Settings Form Refactored
p-yigit Dec 15, 2025
2638e20
fix(ui): use correct CSS classes for settings separator
3xp0rt Dec 15, 2025
b00daea
Fix type mappings editor and activitylist
p-yigit Dec 15, 2025
d4c4a6a
Merge branch 'feat/ui_refactor' of github.com:prodaft/cradle into fea…
p-yigit Dec 15, 2025
d41912d
feat(ui): add page size selector to pagination component
3xp0rt Dec 15, 2025
dc731d5
Remove tailwindcss-datepicker
p-yigit Dec 15, 2025
aae045c
Merge branch 'feat/ui_refactor' of https://github.com/prodaft/cradle …
3xp0rt Dec 15, 2025
270ebd2
restore markdown syntax highlighting in editor
p-yigit Dec 15, 2025
4fb82ff
Merge branch 'feat/ui_refactor' of github.com:prodaft/cradle into fea…
p-yigit Dec 15, 2025
0d51318
fixing some stuff
p-yigit Dec 15, 2025
efa8a31
Made editor styling work again
p-yigit Dec 15, 2025
87b50a1
Improved note outline
p-yigit Dec 15, 2025
6a8072c
Enrichment support directly from notes
p-yigit Dec 15, 2025
03b57ea
feat(ui): refine modal layouts and button styles
3xp0rt Dec 15, 2025
4377302
Merge branch 'feat/ui_refactor' of github.com:prodaft/cradle into fea…
p-yigit Dec 15, 2025
3839e00
Fixing up the modals
p-yigit Dec 15, 2025
42a0ec8
Fix api spec
p-yigit Dec 15, 2025
17a3f90
Fixing dashboards
p-yigit Dec 15, 2025
d3669fe
Add notifications
p-yigit Dec 15, 2025
45a0cc1
Fix user simulation error
p-yigit Dec 18, 2025
408e1c9
Fixing pagination buttons
p-yigit Dec 18, 2025
0caef13
Source mode editor
p-yigit Dec 18, 2025
e83d025
Yaml frontmatter support added back
p-yigit Dec 18, 2025
5064b32
Remove unnecessary dependencies
p-yigit Dec 18, 2025
10de5e3
Minor fixes
p-yigit Dec 18, 2025
ffb6ae8
filter by note status
p-yigit Dec 18, 2025
a6b442b
note status dropdown
p-yigit Dec 18, 2025
eaa2607
Improved file processing
p-yigit Dec 18, 2025
c07b5fd
Editor upload file via Ctrl+V
p-yigit Dec 18, 2025
491c737
Bringing back some functionality
p-yigit Dec 18, 2025
e24b180
Fixing more bugs
p-yigit Dec 18, 2025
4c46921
Improve report downloading flow
p-yigit Dec 18, 2025
8758d00
Fixing action bar stuff
p-yigit Dec 18, 2025
f8c2ff8
Better enrichment status tracking
p-yigit Dec 19, 2025
c9f58b6
Improved action bar and date picker
p-yigit Dec 19, 2025
8d854ee
Fixing datepicker
p-yigit Dec 19, 2025
659d576
Fix type issues
p-yigit Dec 19, 2025
f404f8e
Reorder panel items
p-yigit Dec 19, 2025
6c06c9f
final commit of the day
p-yigit Dec 19, 2025
e680fe9
refactor(graph): improve graph
3xp0rt Dec 22, 2025
46b4afa
Add note based enrichment
p-yigit Dec 22, 2025
8d739da
Merge branch 'feat/ui_refactor' of github.com:prodaft/cradle into fea…
p-yigit Dec 22, 2025
45bdae7
fix(graph): improve graph rendering and cleanup lifecycle management
3xp0rt Dec 22, 2025
3c922b7
Merge branch 'feat/ui_refactor' of github.com:prodaft/cradle into fea…
p-yigit Dec 22, 2025
8b65aaa
Digesting data works
p-yigit Dec 22, 2025
755abf1
refactor(ui): refactor components and add session management feature
3xp0rt Jan 5, 2026
e89e927
feat(ui): setup shadcn/ui with path aliases, cn utility, and custom t…
3xp0rt Jan 6, 2026
d6e0101
better s3 integration
p-yigit Jan 6, 2026
e01c19b
Abstract and centralized file upload flow
p-yigit Jan 6, 2026
0a65cd2
Standardized and better file storage backend
p-yigit Jan 6, 2026
e34c0cd
Merge branch 'feat/ui_refactor' of github.com:prodaft/cradle into fea…
p-yigit Jan 6, 2026
8dc5376
Fixing type issues
p-yigit Jan 6, 2026
a6a01ee
Fixing tests
p-yigit Jan 6, 2026
dc781ca
Ruff check
p-yigit Jan 6, 2026
c4a9b5e
Prettier
p-yigit Jan 6, 2026
5b7b2cf
Migrations for enrichers
p-yigit Jan 6, 2026
35409f1
refactor(ui): migrate components to shadcn
3xp0rt Jan 8, 2026
99d507f
Fix type issues
p-yigit Jan 8, 2026
c5098a9
refactor(ui): partially migrate colors to shadcn design system
3xp0rt Jan 8, 2026
2f18098
Added collab app
p-yigit Jan 8, 2026
5051cc1
collab editor
p-yigit Jan 8, 2026
65bb669
Merge branch 'feat/ui_refactor' of github.com:prodaft/cradle into fea…
p-yigit Jan 8, 2026
6be7d6e
Change package.json
p-yigit Jan 8, 2026
d5fccc8
Oops, fix again
p-yigit Jan 8, 2026
1fc245b
Fix minor issues
p-yigit Jan 8, 2026
ac19dbd
refactor(ui): restructure components and migrate form system
3xp0rt Jan 12, 2026
2384072
Remove collab editor
p-yigit Jan 12, 2026
e29adbb
Reverting collab
p-yigit Jan 12, 2026
62c9e4d
Fixed white screen loading
p-yigit Jan 12, 2026
7b3eda5
Bring back non-collab editor
p-yigit Jan 12, 2026
fbf4998
Working on docs
p-yigit Jan 12, 2026
efbcb5c
Fixed migration
p-yigit Jan 12, 2026
df99a1f
Fix minor bugs
p-yigit Jan 12, 2026
1bc1739
Removed in progress pages
p-yigit Jan 12, 2026
d389c40
Description search in user permissions
p-yigit Jan 12, 2026
c8a370e
Description search in user permissions
p-yigit Jan 12, 2026
4d19654
More docs
p-yigit Jan 12, 2026
4d9292c
Merge branch 'feat/3.0' of github.com:prodaft/cradle into feat/3.0
p-yigit Jan 12, 2026
f46a566
refactor(ui): standardize badges with shadcn Badge and add entry clas…
3xp0rt Jan 12, 2026
ef9e799
fix(ui): add DialogTitle and DialogDescription to all dialogs
3xp0rt Jan 12, 2026
e93a4b6
feat(ui): refactor pagination system and update admin tables
3xp0rt Jan 12, 2026
4524e80
refactor(ui): remove electron support, migrate to web-only, and clean…
3xp0rt Jan 13, 2026
a9930d5
refactor(ui,backend): migrate to ruff and refactor API handling acros…
3xp0rt Jan 15, 2026
29c1331
Fix permission problem and pagination
p-yigit Jan 15, 2026
292b2e1
Merge branch 'feat/3.0' of github.com:prodaft/cradle into feat/3.0
p-yigit Jan 15, 2026
a8519b9
fix(ui): fix context menu for data-table bulk operations
3xp0rt Jan 15, 2026
9003131
fix(ui): context menu table issue
3xp0rt Jan 15, 2026
66a180d
docs
p-yigit Jan 15, 2026
87f02e8
fix(build): remove 'use client' directives and fix FindReplace imports
3xp0rt Jan 15, 2026
b59917f
Add react icons
p-yigit Jan 15, 2026
4c2261d
fix(ui): revert FindReplace
3xp0rt Jan 15, 2026
3022e32
Change backend requirement
p-yigit Jan 15, 2026
8af7f01
Merge branch 'feat/3.0' into feat/ui_refactor
p-yigit Jan 15, 2026
9fde93a
Improved docs
p-yigit Jan 15, 2026
426ee0a
Fix ui and backend doc
p-yigit Jan 15, 2026
29431c7
Carousel for docs page
p-yigit Jan 15, 2026
c3a7575
Fix dashboard
p-yigit Jan 15, 2026
4ca2823
Better screenshots
p-yigit Jan 15, 2026
2e9546c
Updated docs
p-yigit Jan 15, 2026
d7bfd3e
Fix minor doc issue
p-yigit Jan 15, 2026
4f3955c
refactor(ui): remove legacy form components
3xp0rt Jan 16, 2026
831a38b
refactor(ui): migrate from Electron renderer structure
3xp0rt Jan 16, 2026
85cb428
refactor(ui): reorganize component exports and update structure
3xp0rt Jan 19, 2026
ac7ccb6
refactor(ui): reorganize component exports and update structure
3xp0rt Jan 19, 2026
26970e7
refactor(ui): reorganize component exports and update structure
3xp0rt Jan 19, 2026
38d5c9a
Regenerate api
p-yigit Jan 19, 2026
5f98707
Adjust sidebar, fix admin pages padding
p-yigit Jan 19, 2026
aff197e
Remove dashboard
p-yigit Jan 19, 2026
f04879a
Fix tooltips
p-yigit Jan 19, 2026
c965c93
Add globe
p-yigit Jan 19, 2026
00d4670
Fix minor issue with Note Editor
p-yigit Jan 19, 2026
abe17bb
Improved globe
p-yigit Jan 19, 2026
20436b4
Fix PTI Links in headings
p-yigit Jan 19, 2026
c6ae932
Align status selector properly
p-yigit Jan 19, 2026
cb09e09
Custom themes support
p-yigit Jan 19, 2026
05d3db3
Bring back the cradle theme
p-yigit Jan 19, 2026
6d0832b
Change default theme to cradle dark
p-yigit Jan 19, 2026
eddee89
Make editor theme align with rest of UI
p-yigit Jan 19, 2026
ae6c51e
Fix a chunk of the type issues
p-yigit Jan 19, 2026
e12e046
Fix caret color in editor
p-yigit Jan 19, 2026
b51c53a
Fix dashboards
p-yigit Jan 19, 2026
06845db
Fix dashboard and Activity Log
p-yigit Jan 19, 2026
2e4e522
Maintain note viewer state
p-yigit Jan 19, 2026
56aa13e
Maintain dashboard state
p-yigit Jan 19, 2026
27a53cb
Activity logs for entities and entry types
p-yigit Jan 19, 2026
0395612
Better color picker
p-yigit Jan 19, 2026
8dd5559
Add data grid, fix type issues
p-yigit Jan 19, 2026
2671e24
Improve activity log
p-yigit Jan 19, 2026
eb9b0a3
Prevent theme flashing during reload
p-yigit Jan 19, 2026
20ff1c5
Improve Rich Editor's file table
p-yigit Jan 19, 2026
40f7ab9
Adjust FilesList
p-yigit Jan 19, 2026
0385f39
Data-table integration to the main tables
p-yigit Jan 20, 2026
9a85240
Fix RouteTree
p-yigit Jan 20, 2026
4219cc3
Fix noteslist
p-yigit Jan 20, 2026
c3d5473
Improve all tables
p-yigit Jan 20, 2026
e4fa742
Fix entry types bug
p-yigit Jan 20, 2026
08b8865
Improve notifications
p-yigit Jan 20, 2026
e42d245
More themes, fix type issues
p-yigit Jan 20, 2026
03bdc8c
Merge branch 'feat/ui_refactor' into feat/3.0
p-yigit Jan 20, 2026
ace12ae
Attempt to fix issues in staging
p-yigit Jan 20, 2026
d0e20b1
More consistent icons
p-yigit Jan 20, 2026
61a31bb
Fix small issues in build
p-yigit Jan 20, 2026
9d9d701
feat(ui): add entity permissions form
3xp0rt Jan 20, 2026
2cfd9b3
feat(ui): add breadcrumb navigation and refactor component styles
3xp0rt Jan 22, 2026
f068428
Add warning rendering for missing timestamps
p-yigit Jan 22, 2026
02a4431
Better tooltip styling
p-yigit Jan 22, 2026
f2e9b9e
Improve fileslist
p-yigit Jan 22, 2026
c7b5215
refactor(ui): redesign enrichment results with table layout
3xp0rt Jan 22, 2026
ba12c04
refactor(ui): redesign enrichment results with grouped table layout
3xp0rt Jan 22, 2026
9118062
Merge branch 'feat/3.0' of github.com:prodaft/cradle into feat/3.0
p-yigit Jan 22, 2026
cc97a79
Enable table rendering
p-yigit Jan 22, 2026
54b8df7
Improving enrichment results display
p-yigit Jan 22, 2026
d703e96
Fix enrichment response grouping
p-yigit Jan 22, 2026
aac4490
Fix dashboard loading bug
p-yigit Jan 22, 2026
5a01648
feat(ui): add multi-select checkboxes to enrichment artifacts
3xp0rt Jan 22, 2026
753fe0a
Improve json theme, add enrichment tab
p-yigit Jan 22, 2026
8c4ec63
Change enrichment pk to uuid
p-yigit Jan 22, 2026
ad53f80
Merge branch 'feat/3.0' of github.com:prodaft/cradle into feat/3.0
p-yigit Jan 22, 2026
82e2afb
style(ui): align form controls with self-center class
3xp0rt Jan 22, 2026
037562b
Add enrichment requests panel to dashboards
p-yigit Jan 22, 2026
ef98c05
Merge branch 'feat/3.0' of github.com:prodaft/cradle into feat/3.0
p-yigit Jan 22, 2026
47ad3a5
Fix dashboard navigation from links
p-yigit Jan 22, 2026
add1996
Fix another dashboard bug
p-yigit Jan 22, 2026
9313288
Static rendering for preview mode
p-yigit Jan 22, 2026
6e58be3
Improve static styling
p-yigit Jan 22, 2026
ed0b52b
Working on static render
p-yigit Jan 22, 2026
1aa42c7
Fix images in static render
p-yigit Jan 22, 2026
6a331dc
Static rendering works
p-yigit Jan 22, 2026
2956e74
Switch to spinners
p-yigit Jan 22, 2026
eb9816a
Working on pathfinding
p-yigit Jan 22, 2026
7df7d24
Improved pathfinding view in relations list
p-yigit Jan 22, 2026
53d2643
Fix issue in static render link navigatin
p-yigit Jan 22, 2026
43c72b9
Fix cosmograph
p-yigit Jan 22, 2026
7042f03
Fix graph background
p-yigit Jan 22, 2026
e303a6a
Fix cosmograph issue by maintaining our own duckdb instance
p-yigit Jan 22, 2026
4c4916c
Ensure catalog exists
p-yigit Jan 22, 2026
cf03e27
Fixing demo and types
p-yigit Jan 26, 2026
831815b
optimize docker for backend
p-yigit Jan 26, 2026
147b04b
Fixing type issues and docker
p-yigit Jan 26, 2026
335d601
Adjust file reference migration
p-yigit Jan 26, 2026
548d063
Fixing reference migration
p-yigit Jan 26, 2026
f34043e
Fix file reference migration for good this time
p-yigit Jan 26, 2026
feaee7b
Fix seed_entries
p-yigit Jan 26, 2026
0e22a29
Add files to queue to demo docker compose
p-yigit Jan 26, 2026
2de9d7d
refactor(ui): remove card tables and other improvements
3xp0rt Jan 26, 2026
dc2c7ab
refactor(ui): migrate modals to dialogs
3xp0rt Jan 26, 2026
a5a01cc
refactor(ui): update dialogs, domain components, and forms
3xp0rt Jan 29, 2026
0f2f277
refactor(ui): migrate to sigmajs
3xp0rt Jan 30, 2026
e9527d8
refactor(ui): migrate to tanstack start
3xp0rt Jan 31, 2026
e100a02
refactor(ui): align component patterns across app
3xp0rt Feb 2, 2026
5d3d834
fix(ui): TanStack Start SPA build and nginx deployment
3xp0rt Feb 2, 2026
47326df
feat(ui): update admin, notes viewer and account settings
3xp0rt Feb 3, 2026
3eada7d
fix(backend): respect page_size query param on query list pagination
3xp0rt Feb 3, 2026
f126036
feat(ui,backend): add server-side search and simplify knowledge graph…
3xp0rt Feb 4, 2026
85ea4ed
feat(ui): improve list actions and entity name generation
3xp0rt Feb 5, 2026
ac7dbce
fix(ui): remove debug console.log statements and fix hardcoded URL
3xp0rt Feb 5, 2026
76f68e4
refactor(ui): consolidate data-table components and fix RichEditor
3xp0rt Feb 9, 2026
87f26ba
refactor(ui,backend): improve error handling and remove bundled assets
3xp0rt Feb 9, 2026
396ae2a
fix(ui): resolve heading link size mismatch and editor style issues
3xp0rt Feb 9, 2026
55a4791
feat(ui): portal note actions to navbar, add metadata dialog and save…
3xp0rt Feb 10, 2026
1173902
fix(ui): defer localStorage reads to useEffect to prevent hydration m…
3xp0rt Feb 11, 2026
d599084
refactor(ui): co-locate domain dialogs and organize orphaned components
3xp0rt Feb 11, 2026
ce91394
fix(ui): resolve static render empty content on tab, broken image ren…
3xp0rt Feb 11, 2026
f0c26aa
fix(ui): correct query/mutation usage across components
3xp0rt Feb 12, 2026
eb6a15e
refactor(ui): move Vim mode indicator from navbar to editor toolbar
3xp0rt Feb 12, 2026
428a110
refactor(ui): improve search element
3xp0rt Feb 13, 2026
7e1e48c
refactor(ui): improve search and relations components
3xp0rt Feb 13, 2026
d19a25a
refactor(ui): move client-side filtering to server-side across 6 endp…
3xp0rt Feb 13, 2026
5f0ad7d
style(ui): replace let/var with const for never-reassigned variables
3xp0rt Feb 13, 2026
f141f73
chore(lint): ignore shadcn ui components directory
3xp0rt Feb 13, 2026
890b4c3
refactor(ui): partially normalize file naming to kebab-case and co-lo…
3xp0rt Feb 13, 2026
5eb2272
refactor(ui): clean up PrismJS setup and fix markdown styles
3xp0rt Feb 13, 2026
7681297
fix(ui,backend): resolve lint errors across UI
3xp0rt Feb 14, 2026
98781f4
refactor(ui): consistent tab handling and settings items with descrip…
3xp0rt Feb 16, 2026
2d2546c
refactor(ui): reorganize admin components by domain category
3xp0rt Feb 16, 2026
ebaa4f4
refactor(ui): reorganize admin components by domain category
3xp0rt Feb 16, 2026
006e89a
refactor(ui): rename component files to kebab-case, organize admin co…
3xp0rt Feb 16, 2026
4ef6f75
refactor(ui): rename components to kebab-case file naming convention
3xp0rt Feb 17, 2026
5133b95
refactor(ui): rename components to kebab-case file naming convention
3xp0rt Feb 17, 2026
43b71e4
fix(ui,backend): migrate to history-mode routing and harden auth flows
3xp0rt Feb 17, 2026
4191800
fix(ui): correct broken import paths for ActiveSessions and AddEntity…
3xp0rt Feb 17, 2026
73b78d8
fix(ui): prevent static render content from overflowing viewport width
3xp0rt Feb 17, 2026
1dd1d52
fix(ui): replace status toggle group with faceted filter popover in f…
3xp0rt Feb 17, 2026
aab3534
fix(ui): remove admin-to-admin access restriction and improve error h…
3xp0rt Feb 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 22 additions & 12 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[tool.bumpversion]
current_version = "2.10.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
current_version = "2.10.2-beta.a070af1b"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(-beta\\.(?P<beta>[a-f0-9]+))?"
serialize = [
"{major}.{minor}.{patch}-beta.{beta}",
"{major}.{minor}.{patch}"
]
search = "{current_version}"
replace = "{new_version}"
regex = false
Expand All @@ -11,19 +14,22 @@ tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
commit_args = "--no-verify"
allow_dirty = true
commit = false
message = "Bump version: {current_version} → {new_version}"
moveable_tags = []
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []

[tool.bumpversion.parts.major]
[tool.bumpversion.parts.minor]
[tool.bumpversion.parts.patch]

[tool.bumpversion.parts.beta]
optional_value = "gamma"
values = ["gamma"]
independent = false

[[tool.bumpversion.files]]
filename = "docs/content/_index.md"


[[tool.bumpversion.files]]
filename = "backend/cradle/settings_common.py"

Expand All @@ -32,5 +38,9 @@ filename = "ui/package.json"
search = "\"version\": \"{current_version}\""
replace = "\"version\": \"{new_version}\""


[[tool.bumpversion.files]]
filename = "ui/src/renderer/src/components/Welcome/Welcome.jsx"
filename = "backend/pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""

27 changes: 27 additions & 0 deletions .githooks/post-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

# Move to git root directory
GIT_ROOT=$(git rev-parse --show-toplevel)
cd "$GIT_ROOT" || exit 1

if [ -f .git/BUMPVERSION_AMENDING ]; then
rm .git/BUMPVERSION_AMENDING
exit 0
fi

CURRENT=$(uv run --project backend bump-my-version show current_version 2> /dev/null)
BASE_VERSION=$(echo "$CURRENT" | sed 's/-beta\..*//')
GIT_HASH=$(git rev-parse --short HEAD^)
NEW_VERSION="$BASE_VERSION-beta.$GIT_HASH"

if [ "$CURRENT" != "$NEW_VERSION" ]; then
echo "Updating version to $NEW_VERSION"
touch .git/BUMPVERSION_AMENDING

uv run --project backend bump-my-version bump \
--new-version "$NEW_VERSION" \
--allow-dirty --no-commit --no-tag 2> /dev/null

git add -u
git commit --amend --no-edit --no-verify
fi
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
pull_request:

jobs:
flake8:
name: Static Analysis - flake8
ruff:
name: Static Analysis - ruff
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -28,8 +28,8 @@ jobs:
python-version: "3.11"
- name: Install dependencies
run: uv sync --extra dev
- name: Run flake8
run: uv run flake8 --verbose .
- name: Run ruff
run: uv run ruff check .

tests:
name: Run Django Tests
Expand Down Expand Up @@ -95,5 +95,5 @@ jobs:
uv run python3 manage.py check
- name: Run Tests with Coverage
run: |
uv run coverage run manage.py test
uv run coverage run -m pytest
uv run coverage report
63 changes: 0 additions & 63 deletions .github/workflows/electron.yml

This file was deleted.

93 changes: 93 additions & 0 deletions .github/workflows/ui-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: UI Checks

on:
workflow_dispatch:
push:
branches:
- main
pull_request:

jobs:
formatting:
name: Format Check - Prettier
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ui
steps:
- uses: actions/checkout@v3

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Run Prettier Check
run: bun run prettier . --check

lint:
name: Lint Check - ESLint
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ui
steps:
- uses: actions/checkout@v3

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Run ESLint
run: bun run lint

typecheck:
name: Type Check - TypeScript
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ui
steps:
- uses: actions/checkout@v3

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Run TypeScript Type Check
run: bun run typecheck
50 changes: 50 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Django: runserver",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/backend/manage.py",
"args": [
"runserver",
"0.0.0.0:8000"
],
"cwd": "${workspaceFolder}/backend",
"console": "integratedTerminal",
"django": true,
"justMyCode": true
},
{
"name": "Celery: worker",
"type": "debugpy",
"request": "launch",
"module": "celery",
"args": [
"-A",
"cradle",
"worker",
"--beat",
"-Q",
"email,notes,graph,publish,import,access,enrich,digest,files",
"--loglevel",
"info",
"--concurrency",
"4"
],
"cwd": "${workspaceFolder}/backend",
"console": "integratedTerminal",
"justMyCode": true
}
],
"compounds": [
{
"name": "Django + Celery",
"configurations": [
"Django: runserver",
"Celery: worker"
],
"stopAll": true
}
]
}
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,14 @@ The monorepo is organized into three main components:
| Directory | Description | Documentation |
|--------------|----------------------------------------------|---------------------------------|
| `backend/` | Django-based API and data processing layer | [README](backend/README.md) |
| `ui/` | Electron/React frontend application | [README](ui/README.md) |
| `ui/` | React frontend application | [README](ui/README.md) |
| `docker/` | Relevant dockerfiles and configurations | [README](docker/README.md) |
| `docs/` | Documentation and project website | [Webpage](https://cradle.sh) |

### Built With

[![Django][Django.com]][Django-url]
[![React][React.js]][React-url]
[![Electron][Electron.js]][Electron-url]
[![Postgres][Postgres.com]][Postgres-url]

<p align="right">(<a href="#readme-top">back to top</a>)</p>
Expand All @@ -122,9 +121,9 @@ The monorepo is organized into three main components:
```
2. Start the Docker containers
```sh
docker compose -f docker/docker-compose.demo.yml up -d
docker compose -f docker/docker-compose.demo.yml up -d --wait
```
3. Access the application at `http://localhost:3000`
3. Access the application at `http://localhost:8000`

For advanced setup instructions, see the component-specific READMEs:
- [Backend Setup](backend/README.md)
Expand Down Expand Up @@ -191,7 +190,5 @@ Project Link: [https://github.com/prodaft/cradle](https://github.com/prodaft/cra
[Django-url]: https://www.djangoproject.com/
[React.js]: https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB
[React-url]: https://reactjs.org/
[Electron.js]: https://img.shields.io/badge/Electron-191970?style=for-the-badge&logo=electron&logoColor=white
[Electron-url]: https://www.electronjs.org/
[Postgres.com]: https://img.shields.io/badge/PostgreSQL-316192?style=for-the-badge&logo=postgresql&logoColor=white
[Postgres-url]: https://www.postgresql.org/
6 changes: 0 additions & 6 deletions backend/.flake8

This file was deleted.

1 change: 1 addition & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ exceptions.log
deploy/inventory.yml

.vscode
IntelOwl
Loading