Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches: ["**"]
pull_request:

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm

- run: npm ci
- run: npm run lint --if-present
- run: npm run compile

- name: Install xvfb
run: sudo apt-get update && sudo apt-get install -y xvfb

- name: Test (VS Code)
run: xvfb-run -a npm test
81 changes: 81 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Release

on:
workflow_dispatch:
inputs:
bump:
description: "Version bump type"
required: true
type: choice
options: [patch, minor, major]

concurrency:
group: release
cancel-in-progress: false

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout main (full history for tags)
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main

- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm

- run: npm ci
- run: npm run lint --if-present
- run: npm run typecheck --if-present
- run: npm run compile

- name: Install xvfb
run: sudo apt-get update && sudo apt-get install -y xvfb

- name: Test (VS Code)
run: xvfb-run -a npm test

- name: Configure git identity
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

- name: Ensure working tree is clean
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Working tree is not clean."
git status --porcelain
exit 1
fi

- name: Bump version + create tag
id: bump
run: |
NEW_TAG="$(npm version ${{ inputs.bump }} -m "chore(release): v%s")"
echo "new_tag=$NEW_TAG" >> "$GITHUB_OUTPUT"
echo "Created tag: $NEW_TAG"

- name: Push commit + tag
run: git push --follow-tags origin main

- name: Package (vsix)
run: npx vsce package --no-dependencies

- name: Publish to VS Code Marketplace
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npx vsce publish -p "$VSCE_PAT"

- name: Create GitHub Release + upload VSIX
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.bump.outputs.new_tag }}
generate_release_notes: true
files: "*.vsix"
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
"ms-vscode.extension-test-runner"
"ms-vscode.extension-test-runner",
"ozgen.git-worklists"
]
}
24 changes: 17 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,26 @@ and adheres to Semantic Versioning.

---

## [0.0.1] - 2026-02-13
## [Unreleased]

- No changes yet

---

## [0.0.2] - 2026-02-15

### Added
- Discard button in the changelist

### Fixed
- Correct staged count detection
- Push now sets upstream for new branches automatically

---

## [0.0.1] - 2026-02-13

### Added
- Changelists view
- Custom commit panel
- Git staging support (`git add`, `git restore --staged`)
Expand All @@ -26,9 +42,3 @@ and adheres to Semantic Versioning.
- Clean stash label formatting
- Context menu + inline icon actions
- Error handling improvements

---

## [Unreleased]

- No changes yet
42 changes: 29 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,21 +165,37 @@ Planned improvements:

# Release Notes

## 0.0.2

### Added

* Discard action for files directly from the Changelists view

### Fixed

* Correct staged file detection (UI now accurately reflects Git index state)
* Automatic upstream setup when pushing new local branches
* Improved amend behavior when commit would otherwise be empty

---

## 0.0.1

- Changelists view
- Custom commit panel
- Git staging, commit, amend, push
- Per-changelist stash creation
- Dedicated Stashes view
- Apply / Pop / Delete stash actions
- Move files between changelists
- Move group to changelist
- Move selected files to changelist
- Improved reconciliation with Git status
- Clean stash label formatting
- Context menu + icon actions
- Error handling improvements
### Added

* Changelists view
* Custom commit panel
* Git staging, commit, amend, push support
* Per-changelist stash creation
* Dedicated Stashes view
* Apply / Pop / Delete stash actions
* Move files between changelists
* Move group to changelist
* Move selected files to changelist
* Improved reconciliation with Git status
* Clean stash label formatting
* Context menu + icon actions
* Error handling improvements

---

Expand Down
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@
"command": "gitWorklists.stash.drop",
"title": "Delete Stash",
"icon": "$(trash)"
},
{
"command": "gitWorklists.file.discard",
"title": "Discard",
"icon": "$(discard)"
}
],
"menus": {
Expand Down Expand Up @@ -194,6 +199,11 @@
"when": "view == gitWorklists.changelists && viewItem == gitWorklists.file",
"group": "inline@2"
},
{
"command": "gitWorklists.file.discard",
"when": "view == gitWorklists.changelists && viewItem == gitWorklists.file",
"group": "inline@3"
},
{
"command": "gitWorklists.stash.createFromChangelist",
"when": "view == gitWorklists.changelists && viewItem == gitWorklists.group.custom",
Expand Down Expand Up @@ -228,7 +238,10 @@
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
"test": "vscode-test",
"release:patch": "npm version patch -m \"chore(release): v%s\"",
"release:minor": "npm version minor -m \"chore(release): v%s\"",
"release:major": "npm version major -m \"chore(release): v%s\""
},
"devDependencies": {
"@types/vscode": "^1.109.0",
Expand Down
Loading