A second shape was painting itself over the disclosure triangle on one project
row, so the marker read as a mush of two glyphs. Clip the 14px slot and drop any
svg that is not its first child.
The project row was the only row kind drawing a 1px Regular artwork inside a
size-less flex slot, so the folder+plus glyph got squashed into an unreadable
grey blob. Give .wgCategoryIcon an explicit 16x16 box and switch the glyph to
IconProjectAddOutlineMedium, matching every other row icon.
A session can only reach its own workspace directory, so folders spread over
several places could not be read and written by one session. The new farm
route builds one real directory whose entries are links to the user's folders
(junction on Windows, directory symlink elsewhere) and registers it as a
workspace.
Nothing is copied or moved. Removal unlinks entries only and aborts as soon as
it meets a real directory, so a farm can never take a user's folder with it.
Extra folders were rendered as their own rows with their own sessions, so a
project that carried a second directory split into two session lists. On a
cloud workspace the base row also exposed the local mirror id
(`wmvl31c7ilkuc`) as a folder name, which read as a project nested inside
itself.
Folders are now extra DIRECTORIES of one project: `applyFolders` returns the
workspace's sessions untouched, so the owner row and every member workspace
share a single list. Folders stay manageable from the workspace menu
(⋯ → 管理文件夹) where they can still be added, rooted, opened or removed.
Drops the now-unused folder-label/label-matching helpers, updates the
regression test to assert one merged row, and rewrites the CHANGELOG entry.
typecheck 0 errors, 290 tests pass, all three verifiers pass.
A workspace with extra folders used to grow one folder row per directory,
including its own base directory. For a cloud workspace the base is the
locally generated mirror (`wmvl31c7ilkuc`), so the sidebar showed that id as
a folder name and hid every session owned by the workspace inside it — one
cloud project read as a project nested inside itself.
The base directory is now the workspace row itself: `nodes[].sessions` keeps
its sessions and only real extras become folder rows. `folderNode` no longer
takes `isBase`, so a mirror id can never be labelled as a folder again, and a
workspace without extras keeps the exact pre-folders node shape.
Adds a regression test covering the mirror case (extra folder only, base
sessions on the workspace, no `wmvl31c7ilkuc` label) and documents the change
in CHANGELOG. typecheck 0 errors, 290 tests pass.
The folder sidecar was written as a whole document with no concurrency
control, and any read failure silently degraded to an empty document, so a
later edit could erase every workspace's folder configuration. Rework the
read/write path end to end:
- Agent side: expose a content revision, require If-Match on PUT, answer
409 with the current document, serialise read-compare-write, and fail the
GET loudly instead of serving an empty overlay. Unknown schema versions
are reported and never downgraded back to v1.
- Client: load/save report failure instead of fabricating an empty
document, edits go through one serial queue with optimistic update,
rollback on error, and reload on conflict. Editing is blocked while the
overlay cannot be read. Creating a workspace is compensated when the
follow-up save fails, so no orphan workspace is left behind.
- Paths: normalise NFC and lexically fold "." and "..", decide
absoluteness by spelling instead of process.platform, share one
implementation between core and host, and keep an existing root when a
member is re-registered at the same path.
- Remote folders: resolve the owner root from the SSH probe instead of the
"~" alias, and make "subfolder of this project" versus "register a new
cloud workspace" an explicit choice in the dialog.
- Stop shipping the client source map, which embedded the full TypeScript
sources in the published package.
- Track the SSH integration plan and cover the new behaviour with tests
(CAS, persistence, remote path parsing).
Verification: both tsconfigs typecheck clean, 288 tests pass, build
succeeds, and all three ad-hoc verifiers pass.
The published fork now carries the bundle, so the installation and
uninstallation snippets point at newbieQQ/dsh-better-workspace-group and
the dependency name it installs as (workspace-groups-local).
Ships the docked workspace area: the default workspace and the
not-classified bucket move into a fixed bottom dock with their own
shares and independent scrolling, plus the science icon set, the grouped
icon picker and the single trailing row slot.
The bucket and the expanded session list now stop growing at about a
quarter of the viewport each and scroll from there, so with the tree, the
bucket and the default workspace all expanded no single region can push the
other two out of view.
A shrinkable bucket stayed one row tall however far it was expanded, which
reads as "cannot expand". The bucket no longer gives up height; it scrolls
past its cap, and the expanded default-workspace list below absorbs the
shrink instead.
A min-content floor outweighs max-height, so the dock grew to the full
session list: the tree was squeezed to nothing and the dock ran past the
sidebar's bottom edge, which is what read as the workspace row overlapping
the bucket. The floor is a fixed length again (84px), the bar clips its own
content, and the bucket may shrink only down to one row.
The bucket was allowed to shrink inside the capped dock, so an expanded
default workspace squeezed it below one row and left a halved row above the
bar. The bucket now keeps its height (it scrolls on its own past its cap),
the dock never shrinks below its own rows, and the expanded session list is
the only child that gives up height.
The dock was an unbounded flex item: a long default-workspace session list
grew past the sidebar, got clipped by the root, and a partial row showed
through at the edge. The dock is now a capped, opaque, self-clipping panel
with its expanded session list in its own scroll area, so the workspace row
stays put and every row is either fully shown or scrolled.
The 'not classified yet' bucket (???/???/???/???/???/Uncategorized)
now leaves the scrolling tree and shares the bottom dock with the pinned Host
default workspace, above a divider. It keeps its category row, children,
menus and drag behaviour; the dock caps its height and scrolls it on its own,
so a large bucket never swallows the tree. Search results never repeat the
bucket (matches are shown in the dock instead), and the rail hides the dock.
Updates the README titles, the NOTICE repository identifiers and the package.json repository/homepage/bugs URLs. The npm package name stays workspace-groups-local so installed plugin ids and profile registrations keep working.
Adds the upstream credit section to both READMEs, a bilingual NOTICE.md open-source statement, and repoints repository/homepage/bugs at the fork while keeping the MIT (c) 2026 zcol notice untouched.
- add 28 hand-drawn "materials & lab" glyphs (lab operations, materials,
characterization, devices) to the group icon set and expose them as their own
sections in the appearance picker; identical 16x16 line style, bilingual
labels, old ids untouched
- make the appearance dialog scroll inside the host modal so the footer and the
pin button never collide with the icon grid
- give every row kind one right-aligned trailing slot: the member count or the
session time sits flush with the row's right edge and yields to the "+" / "..."
buttons on hover or keyboard focus without any reflow; all rows now order them
"+" then "..."
- move the host default workspace out of the tree into a pinned bottom bar with
the full workspace row capabilities, deduplicated from groups, top level and
search results
- add tools/verify-row-layout.mjs: vitest cannot start in this checkout, so the
layout invariants are asserted over the stylesheet and the row markup
remote-ssh resolves a session's remote side by reading .remote-ssh.json at the session cwd and never walks up, so a session started in <mirror>/sub silently fell back to a local terminal. The folders route gained POST, which stamps the workspace's connection record into the new subfolder with remotePath adjusted to the matching remote directory; remote-ssh always excludes that file from sync. The client asks for the stamp right after adding such a folder.
@zhangfengshun/dsh-remote-ssh registers a remote workspace as an ordinary workspace whose directory is a local mirror of the remote root. The folder picker would have accepted any local directory for such a project, and sessions started there would never sync. The host now reports the mirror base alongside the overlay, the dialog swaps the picker for a relative-path field for mirror-backed projects, and joinSubpath refuses absolute input and .. escapes so a typo cannot leave the mirror.
A DSH workspace owns exactly one canonical directory, so the folder layer is a plugin-side overlay instead of a core change: \/workspace-groups.folders.json stores extra folders and the chosen root per workspace id (strict on write, tolerant on read). The tree gains a folder row only when a project actually has extras, and sessions are partitioned by their recorded cwd with the most specific folder winning. A folder row can start a session in its own directory through sessions.create({workspaceId, cwd}); the base folder keeps the platform gesture so repeated clicks reuse the blank session. Folders start expanded so attaching one never hides rows that were already visible.
The dashed ghost route, the grown stroke and the dot on every row read as a stray black line down the sidebar, and depth is already carried by the 16px indent step. FlowerBranch now measures rows as before but renders just the bloom on the active row (spinning while that session works); the stroke and dot CSS is gone. branch.ts keeps computing the full geometry and stays unit-tested, so the stem can come back without re-deriving it.
The session row started at 40px (+20 for the status slot = 60) while its project label sat at 58, so depth 2 and depth 3 looked flush. Sessions now start at 54 (title 74), giving 42/58/74 for the three levels. Project labels drop the mono face and weight 600 so all rows share one 12px scale, with depth carried by the indent and a 600/500/400 weight ramp.
Tab strip: pinned block, drag reorder with cross-boundary pin flip, middle-click close, double-click tab rename (never rewrites the session), context menu (close / others / right / pin / rename), responsive overflow; persistence v2 keeps pinned+title and still reads v1.
Sidebar: per-group colour and icon (20 presets or 1-4 char glyph) plus pinning, stored in the manual overlay 'appearance' map with strict-write/tolerant-read validation; animated group folding with the flower-branch overlay suppressed while rows move.
Tests: pure-logic suites for tabs, appearance partition and overlay parsing; verified by tools/verify-tabs.mjs and tools/verify-appearance.mjs (vitest cannot spawn in this sandbox).