Skip to content
Open

Dev2 #111

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f4d737b
Fix: update tarpaulin notes and setup.
bjones1 Apr 16, 2026
8698a0a
Fix: improve Selenium test robustness.
bjones1 Apr 17, 2026
ed706f3
Fix: correctly append final text from Markdown conversion to last doc…
bjones1 Apr 21, 2026
667b26b
wip: Locate cursor line within Client doc blocks.
bjones1 Apr 21, 2026
9842d83
wip: Claude, with comments manually restored.
bjones1 Apr 21, 2026
7f0448b
Fix: correct entry point (document body, not document).
bjones1 Apr 21, 2026
df52361
Fix: change Selenium testing to use generics instead of macros.
bjones1 Apr 22, 2026
16228ad
Fix: mark web file browser functions as not included in coverage.
bjones1 Apr 22, 2026
8d9c687
Clean: format.
bjones1 Apr 22, 2026
3424792
wip: Prep for Claude run.
bjones1 Apr 22, 2026
b1b319e
Fix: Revise based on Claude feedback.
bjones1 Apr 22, 2026
4914303
Add: Claude + minor fixes to implement design.
bjones1 Apr 22, 2026
2ffb3c5
Add: additional fixes.
bjones1 Apr 24, 2026
2b2bc34
Fix: switch to patched version of minify-html.
bjones1 Apr 26, 2026
8641f21
wip: remove TinyMCE raw tags and attrs.
bjones1 May 2, 2026
28e0811
Docs: typo.
bjones1 May 4, 2026
b56d528
Clean: remove unnecessary parameter.
bjones1 May 4, 2026
661606d
Fix: Correct errors in HTML comparison.
bjones1 May 5, 2026
47c1dcd
Freeze to fix security vulnerabilities.
bjones1 May 5, 2026
849f7a7
Add: rearrange dist to support pre-release versions.
bjones1 May 5, 2026
8c05b54
Add: selection tracking for doc-only mode.
bjones1 May 5, 2026
d39f916
Add: explanation of selection tracking approach.
bjones1 May 5, 2026
d51eb9f
Claude review fixes.
bjones1 May 5, 2026
dee0fe4
Fix: look for and fix occasional test failures.
bjones1 May 5, 2026
4feb5c5
Docs: update changelog.
bjones1 May 5, 2026
78087eb
Fix: refactor into optional_message, fix occasional test failure.
bjones1 May 6, 2026
c442042
Update: html5ever version.
bjones1 May 6, 2026
96b3210
Fix: Improve restoreSeletion logic.
bjones1 May 6, 2026
85f24c7
Fix: change minify to be better at removing whitespace.
bjones1 May 6, 2026
c9ca9c6
Clean: format file.
bjones1 May 6, 2026
4fa5605
Freeze for release.
bjones1 May 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,11 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
VSCE_PAT: ${{ secrets.VSCE_PAT }}
APP_VERSION: ${{ fromJson(needs.plan.outputs.val).releases[0].app_version }}
VSCE_ARGS: --changelog-path docs/changelog.md
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
submodules: recursive
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Install cached dist
uses: actions/download-artifact@v7
with:
Expand All @@ -209,11 +203,6 @@ jobs:
- id: cargo-dist
shell: bash
run: |
npm install -g @vscode/vsce
npx vsce publish --packagePath target/distrib/extensions/VSCode/codechat-editor-client-win32-x64-${APP_VERSION}.vsix $VSCE_ARGS
npx vsce publish --packagePath target/distrib/extensions/VSCode/codechat-editor-client-linux-x64-${APP_VERSION}.vsix $VSCE_ARGS
npx vsce publish --packagePath target/distrib/extensions/VSCode/codechat-editor-client-darwin-x64-${APP_VERSION}.vsix $VSCE_ARGS
npx vsce publish --packagePath target/distrib/extensions/VSCode/codechat-editor-client-darwin-arm64-${APP_VERSION}.vsix $VSCE_ARGS
dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" > dist-manifest.json
echo "dist ran successfully"

Expand Down Expand Up @@ -248,6 +237,9 @@ jobs:
with:
persist-credentials: false
submodules: recursive
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Install cached dist
uses: actions/download-artifact@v7
with:
Expand Down Expand Up @@ -291,7 +283,17 @@ jobs:
ANNOUNCEMENT_TITLE: "${{ fromJson(steps.host.outputs.manifest).announcement_title }}"
ANNOUNCEMENT_BODY: "${{ fromJson(steps.host.outputs.manifest).announcement_github_body }}"
RELEASE_COMMIT: "${{ github.sha }}"
APP_VERSION: ${{ fromJson(needs.plan.outputs.val).releases[0].app_version }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}
VSCE_PRERELEASE_FLAG: "${{ fromJson(steps.host.outputs.manifest).announcement_is_prerelease && '--pre-release' || '' }}"
VSCE_ARGS: --changelog-path docs/changelog.md
run: |
npm install -g @vscode/vsce
npx vsce publish --packagePath target/distrib/extensions/VSCode/codechat-editor-client-win32-x64-${APP_VERSION}.vsix $VSCE_ARGS $VSCE_PRERELEASE_FLAG
npx vsce publish --packagePath target/distrib/extensions/VSCode/codechat-editor-client-linux-x64-${APP_VERSION}.vsix $VSCE_ARGS $VSCE_PRERELEASE_FLAG
npx vsce publish --packagePath target/distrib/extensions/VSCode/codechat-editor-client-darwin-x64-${APP_VERSION}.vsix $VSCE_ARGS $VSCE_PRERELEASE_FLAG
npx vsce publish --packagePath target/distrib/extensions/VSCode/codechat-editor-client-darwin-arm64-${APP_VERSION}.vsix $VSCE_ARGS $VSCE_PRERELEASE_FLAG

# Write and read notes from a file to avoid quoting breaking things
echo "$ANNOUNCEMENT_BODY" > $RUNNER_TEMP/notes.txt

Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ Changelog
[Github master](https://github.com/bjones1/CodeChat_Editor)
-----------------------------------------------------------

* No changes.
* Correct Markdown conversion of the last doc block -- properly append all
post-conversion text to it.
* Improve browser automated testing framework.
* Add the ability for the IDE cursor to follow the line when the Client cursor
is in a doc block.
* Add the ability to create pre-releases for testing.
* Improve cursor tracking in a re-translation.
* Reduce unnecessary re-translations with better HTML comparison.

Version 0.1.54 -- 2026-Apr-16
-----------------------------
Expand Down
24 changes: 12 additions & 12 deletions builder/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions builder/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,16 +464,16 @@ fn run_format_and_lint(check_only: bool) -> io::Result<()> {
};
run_cmd!(
info "cargo clippy and fmt";
cargo clippy --all-targets --all-features --tests -- $clippy_check_only;
cargo clippy --all-targets --all-features -- $clippy_check_only;
cargo fmt --all $check;
info "Builder: cargo clippy and fmt";
cargo clippy --all-targets --all-features --tests --manifest-path=$BUILDER_PATH/Cargo.toml -- $clippy_check_only;
cargo clippy --all-targets --all-features --manifest-path=$BUILDER_PATH/Cargo.toml -- $clippy_check_only;
cargo fmt --all $check --manifest-path=$BUILDER_PATH/Cargo.toml;
info "VSCode extension: cargo clippy and fmt";
cargo clippy --all-targets --all-features --tests --manifest-path=$VSCODE_PATH/Cargo.toml -- $clippy_check_only;
cargo clippy --all-targets --all-features --manifest-path=$VSCODE_PATH/Cargo.toml -- $clippy_check_only;
cargo fmt --all $check --manifest-path=$VSCODE_PATH/Cargo.toml;
info "test_utils: cargo clippy and fmt"
cargo clippy --all-targets --all-features --tests --manifest-path=$TEST_UTILS_PATH/Cargo.toml -- $clippy_check_only;
cargo clippy --all-targets --all-features --manifest-path=$TEST_UTILS_PATH/Cargo.toml -- $clippy_check_only;
cargo fmt --all $check --manifest-path=$TEST_UTILS_PATH/Cargo.toml;

info "cargo audit";
Expand Down
22 changes: 11 additions & 11 deletions client/package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
'@codemirror/legacy-modes': '^6.5.2',
'@codemirror/state': '^6.6.0',
'@codemirror/view': '6.38.8',
'@hpcc-js/wasm-graphviz': '^1.21.2',
'@mathjax/mathjax-newcm-font': '^4.1.1',
'@hpcc-js/wasm-graphviz': '^1.21.5',
'@mathjax/mathjax-newcm-font': '^4.1.2',
codemirror: '^6.0.2',
mathjax: '^4.1.1',
mathjax: '^4.1.2',
mermaid: '^11.14.0',
'pdfjs-dist': '5.4.624',
tinymce: '^8.4.0',
tinymce: '^8.5.0',
'toastify-js': '^1.12.0',
},
devDependencies: {
Expand All @@ -81,20 +81,20 @@
'@types/mocha': '^10.0.10',
'@types/node': '^24.12.2',
'@types/toastify-js': '^1.12.4',
'@typescript-eslint/eslint-plugin': '^8.58.2',
'@typescript-eslint/parser': '^8.58.2',
'@typescript-eslint/eslint-plugin': '^8.59.2',
'@typescript-eslint/parser': '^8.59.2',
chai: '^6.2.2',
esbuild: '^0.28.0',
eslint: '^10.2.0',
eslint: '^10.3.0',
'eslint-config-prettier': '^10.1.8',
'eslint-plugin-import': '^2.32.0',
'eslint-plugin-prettier': '^5.5.5',
globals: '^17.5.0',
globals: '^17.6.0',
mocha: '^11.7.5',
'npm-check-updates': '^21.0.0',
'npm-check-updates': '^22.1.0',
prettier: '^3.8.3',
typescript: '^6.0.2',
'typescript-eslint': '^8.58.2',
typescript: '^6.0.3',
'typescript-eslint': '^8.59.2',
},
scripts: {
test: 'echo "Error: no test specified" && exit 1',
Expand Down
Loading
Loading