Connect hero editor with hero0 backend #1

Open
mahmoud wants to merge 6 commits from development_webdav_connection into development
Owner

Changes

  • Add max limit file content
  • Call api via RPC for file/folder operations
  • Refine the UI
### Changes - Add max limit file content - Call api via RPC for file/folder operations - Refine the UI
- Add preview toggle button in editor header for markdown split view
- Remove Python server, mermaid full bundle, index2.html, old docs
  and instruction files (hero0 serves everything via Rust)
- Simplify bundle script to only build lite version
- Add full path routing for files and folders
- Restore file and folder state from URL on load
- Introduce welcome panel for no-file state
- Add button to close current file
- Improve new file creation UX and context menu
- Return an error if the file content exceeds the max limit
Merge branch 'development' into development_webdav_connection
Some checks failed
Build and Test / build (pull_request) Failing after 52s
Build and Test / build (push) Failing after 56s
ac032f3112
* development:
  Fix Makefile cargo and shell compatibility
  Add workspace edition 2024 and rust-version 1.92
  feat: adopt build_lib build system with proper workflows
  ci: add test workflow and trigger Linux builds only on tags
  chore: migrate herolib-ai from path to git URL dependency
  chore: rename hero-editor -> hero_editor (binary, package, CI)
  feat: add Hero OS theme integration and improve HTML formatting
  ci: add development branch to Linux build workflow triggers
  ci: add Forgejo workflow for Linux builds and update herolib-ai path
  feat: add favicon.svg to embedded static assets
  fix: update herolib-ai dependency path to correct location
  feat: add auto-save and improve sidebar UI
  feat: add voice transcription with iframe embedding support

# Conflicts:
#	Makefile
#	editor-component.min.js
#	editserver/src/main.rs
#	index.html
#	index2.html
#	src/editor-component.js
Some checks failed
Build and Test / build (pull_request) Failing after 52s
Build and Test / build (push) Failing after 56s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin development_webdav_connection:development_webdav_connection
git switch development_webdav_connection

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch development
git merge --no-ff development_webdav_connection
git switch development_webdav_connection
git rebase development
git switch development
git merge --ff-only development_webdav_connection
git switch development_webdav_connection
git rebase development
git switch development
git merge --no-ff development_webdav_connection
git switch development
git merge --squash development_webdav_connection
git switch development
git merge --ff-only development_webdav_connection
git switch development
git merge development_webdav_connection
git push origin development
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_editor!1
No description provided.