Skip to content

docs: add --webpath instructions for aw-server-rust#764

Merged
ErikBjare merged 1 commit intoActivityWatch:masterfrom
TimeToBuildBob:fix/readme-webpath-instructions
Feb 22, 2026
Merged

docs: add --webpath instructions for aw-server-rust#764
ErikBjare merged 1 commit intoActivityWatch:masterfrom
TimeToBuildBob:fix/readme-webpath-instructions

Conversation

@TimeToBuildBob
Copy link
Contributor

@TimeToBuildBob TimeToBuildBob commented Feb 22, 2026

Summary

  • Add documentation for aw-server-rust --webpath flag as an alternative to copying web assets
  • Fix typo ("replacing placing" → "replacing")

On some platforms (e.g. Windows), aw-server-rust bundles static assets into the executable, so copying files to the static/ directory has no effect. The --webpath flag provides a cleaner alternative.

Closes #608


Important

Add --webpath flag instructions for aw-server-rust and fix a typo in README.md.

  • Documentation:
    • Add instructions for using --webpath flag with aw-server-rust in README.md.
    • Explain that --webpath is an alternative to copying web assets, useful for platforms bundling assets into the executable.
  • Typo Fix:
    • Fix typo in README.md ("replacing placing" to "replacing").

This description was created by Ellipsis for a69591e. You can customize this summary. It will automatically update as commits are pushed.

On some platforms (e.g. Windows), aw-server-rust bundles static
assets into the executable, so copying files to the static/
directory has no effect. The --webpath flag provides a cleaner
alternative.

Closes ActivityWatch#608
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed everything up to a69591e in 5 seconds. Click for details.
  • Reviewed 31 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.

Workflow ID: wflow_phrAcuht9FRGXS2P

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 22, 2026

Greptile Summary

This PR adds documentation for the --webpath flag in aw-server-rust and fixes a typo in the README.

Changes:

  • Fixed typo: "replacing placing" → "replacing" on line 53
  • Added new section documenting the --webpath flag as an alternative to copying web assets
  • Explains that this is especially useful on Windows where static assets are bundled into the executable

The documentation is clear, accurate, and provides a helpful alternative workflow for developers working with aw-server-rust.

Confidence Score: 5/5

  • This PR is safe to merge with no risk - it only adds documentation and fixes a typo
  • Documentation-only change with clear improvements: fixes a grammatical error and adds helpful developer instructions. No code changes, no risk of introducing bugs or breaking changes
  • No files require special attention

Important Files Changed

Filename Overview
README.md Fixed typo and added --webpath flag documentation for aw-server-rust

Last reviewed commit: a69591e

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

@codecov
Copy link

codecov bot commented Feb 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.20%. Comparing base (cd5aafe) to head (a69591e).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #764   +/-   ##
=======================================
  Coverage   26.20%   26.20%           
=======================================
  Files          29       29           
  Lines        1706     1706           
  Branches      311      298   -13     
=======================================
  Hits          447      447           
- Misses       1195     1237   +42     
+ Partials       64       22   -42     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@TimeToBuildBob
Copy link
Contributor Author

The failing CI check (Test (node-20, py-3.9, aw-server-rust master)) is a pre-existing upstream issue unrelated to this PR. The failure is in cleanup steps that try to glob ~/.cache/activitywatch/log/*/*.log — but aw-server-rust master doesn't write logs to that path, so the glob fails. All actual test steps pass (unit tests ✅, e2e testcafe ✅). Same pattern as PR #763.

@ErikBjare ErikBjare merged commit 934daca into ActivityWatch:master Feb 22, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running from source instructions improvements

2 participants