Skip to content

feat: show plugin update time in marketplace details - #9690

Merged
Soulter merged 1 commit into
masterfrom
codex/show-plugin-update-time
Aug 14, 2026
Merged

feat: show plugin update time in marketplace details#9690
Soulter merged 1 commit into
masterfrom
codex/show-plugin-update-time

Conversation

@Soulter

@Soulter Soulter commented Aug 14, 2026

Copy link
Copy Markdown
Member

Summary

  • show the marketplace plugin updated_at value in the plugin detail information table
  • format the timestamp with the active dashboard locale and hide missing or invalid values
  • add localized labels for Simplified Chinese, English, and Russian

Why

Marketplace entries already include an update timestamp, but the plugin detail page did not expose it. Displaying it helps users understand how recently a plugin was maintained before installing it.

Validation

  • pnpm build
  • pnpm typecheck
  • uv run ruff format --check .
  • uv run ruff check .

Summary by Sourcery

Display marketplace plugin update time in the plugin detail view using localized formatting.

New Features:

  • Show the marketplace plugin last updated time in the plugin detail information table.

Enhancements:

  • Format the plugin update timestamp according to the active dashboard locale and hide missing or invalid values.
  • Add localized labels for the plugin update time in Simplified Chinese, English, and Russian.

@Soulter
Soulter marked this pull request as ready for review August 14, 2026 17:06
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Aug 14, 2026
@Soulter
Soulter merged commit 70b95e0 into master Aug 14, 2026
21 of 22 checks passed
@dosubot dosubot Bot added area:webui The bug / feature is about webui(dashboard) of astrbot. feature:plugin The bug / feature is about AstrBot plugin system. labels Aug 14, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • The updatedAtDisplay computed value relies on new Date(value), which can behave inconsistently for non-ISO or timezone-less strings; consider normalizing the timestamp format or using a dedicated date parsing/formatting utility to ensure consistent results across browsers.
  • If the project has a centralized date/time formatting helper, it might be preferable to reuse it instead of creating a new Intl.DateTimeFormat here so that date formats are consistent across the dashboard and easier to adjust in one place.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The `updatedAtDisplay` computed value relies on `new Date(value)`, which can behave inconsistently for non-ISO or timezone-less strings; consider normalizing the timestamp format or using a dedicated date parsing/formatting utility to ensure consistent results across browsers.
- If the project has a centralized date/time formatting helper, it might be preferable to reuse it instead of creating a new `Intl.DateTimeFormat` here so that date formats are consistent across the dashboard and easier to adjust in one place.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

BegoniaHe pushed a commit to Xero-Team/AstrBot that referenced this pull request Aug 15, 2026
Upstream-Commit: 70b95e0
Upstream-Author: Soulter <37870767+Soulter@users.noreply.github.com>
Upstream-PR: AstrBotDevs#9690
Sync-Disposition: adapt
Fork-Adaptation: Keep the fork's Chinese and English locale set while formatting marketplace timestamps with the current i18n locale.
Tested: cd dashboard && pnpm test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webui The bug / feature is about webui(dashboard) of astrbot. feature:plugin The bug / feature is about AstrBot plugin system. size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant