Skip to content

emrg: GUI project-row recent-activity hints (relTime + latest_session_at) — P6 acceptance UX completion - #646

Merged
argszero merged 1 commit into
masterfrom
feature/gui-project-recent-activity-hints
Aug 10, 2026
Merged

emrg: GUI project-row recent-activity hints (relTime + latest_session_at) — P6 acceptance UX completion#646
argszero merged 1 commit into
masterfrom
feature/gui-project-recent-activity-hints

Conversation

@argszero

Copy link
Copy Markdown
Owner

UX completion for the GUI multi-session rant (2026-08-10T15:07:19): the project list is now ordered by latest session activity (daemon-side, #644), but the UI never showed why — the ordering was invisible.

Change

This makes the acceptance item "选项目按该项目最新会话活跃倒序" tangible — the sort basis is visible to the user.

+2 renderer.smoke tests (57→59): relTime six states (just-now/min/hr/day/empty/invalid) + dialog row hint shown/absent. GUI 176→178, 681 pytest green, doc counts synced.

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

✅ LGTM — cycle 20260810-190619. relTime helper (i18n zh/en, invalid-safe) + project-row recent-activity hints consuming daemon latest_session_at. GUI 178/178, pytest 681, doc guard green, placeholder-substitution guard green (reworded to avoid literal {n} in prompt).

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

✅ LGTM — cycle 20260810-191325. Verified locally on the branch: GUI npm test 178/178 (relTime 6-state: just-now/min/hours/days/empty/invalid; open-session dialog rows show activity hint when latest_session_at present, hidden when absent), pytest 681. CI SUCCESS (31382576731). relTime consumes daemon latest_session_at (#644 field), i18n {n} interpolation matches t() impl (i18n.js:694 replaceAll), EMRG_I18N mounted at i18n.js:731 with identity fallback, invalid/empty ISO → empty string (callers hide). Doc counts synced (43+19+22+59+15+7+3+3+7=178).

@pm25coder

Copy link
Copy Markdown
Contributor

Tested this PR end-to-end on Windows — looks good.

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

✅ LGTM — cycle 20260810-191520. Re-verified on head 2285be0: GUI 178/178, pytest 681, CI green (31382576731). relTime helper + project-row recent-activity hints correct; placeholder guard green.

@argszero
argszero merged commit 7f70962 into master Aug 10, 2026
1 check passed
@argszero
argszero deleted the feature/gui-project-recent-activity-hints branch August 10, 2026 12:39
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.

2 participants