Skip to content

chore: upgrade vite-plus to pkg-pr-new #1538#14

Draft
fengmk2 wants to merge 1 commit intomainfrom
update-vite-plus-1538
Draft

chore: upgrade vite-plus to pkg-pr-new #1538#14
fengmk2 wants to merge 1 commit intomainfrom
update-vite-plus-1538

Conversation

@fengmk2
Copy link
Copy Markdown
Owner

@fengmk2 fengmk2 commented May 9, 2026

Upgrade vite-plus and related packages to the pkg-pr-new test build from voidzero-dev/vite-plus#1538 (commit f8973e4).

Upstream PR: voidzero-dev/vite-plus#1538

@fengmk2 fengmk2 self-assigned this May 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
i18n/locales/en.json Source changed, localizations will be marked as outdated.
i18n/locales/fr-FR.json Localization changed, will be marked as complete.
i18n/locales/nb-NO.json Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a package version timeline chart, a "Likes Leaderboard" page with supporting API logic, and a new "Press" noodle logo. Key UI enhancements include dynamic chart tooltip positioning, top-liked badges on package pages, and improved README copy functionality with loading states. The changes also encompass dependency updates, the addition of the Portuguese (Portugal) locale, and extensive typo and grammar fixes. Feedback identifies a bug in the TimelineChart where version tracking fails due to incorrect route parameter usage, alongside suggestions to improve tooltip readability by adjusting background opacity and to correct an invalid CSS deep selector.

const { settings } = useSettings()
const route = useRoute('timeline')
const chartRef = useTemplateRef('chartRef')
const activeVersion = computed(() => route.params.version)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The activeVersion is computed from route.params.version, but the timeline route (app/pages/package-timeline/[[org]]/[packageName].vue) does not have a version parameter. This results in activeVersion being undefined, which prevents the "Marker for selected version" circle from being displayed on the chart. Since the parent component manages the selected version via the selectedVersion prop, this computed property should use that prop instead.

const activeVersion = computed(() => props.selectedVersion)

borderColor: colors.value.border,
borderRadius: 6,
backgroundColor: colors.value.bg,
backgroundOpacity: 10,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

A backgroundOpacity of 10 (10%) for the tooltip might be too transparent, making the text difficult to read when it overlaps with chart grid lines or data points. Consider increasing the opacity for better readability, or setting it to 0 if the background is intended to be handled entirely by the custom tooltip template's CSS.

}

@media (prefers-reduced-motion: reduce) {
::deep(.vue-data-ui-component .serie_line_0 path),
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The CSS selector ::deep is invalid. Vue's SFC style blocks use the :deep() pseudo-class for deep selectors.

  :deep(.vue-data-ui-component .serie_line_0 path),

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

e18e dependency analysis

No dependency warnings found.

@fengmk2 fengmk2 closed this May 9, 2026
@fengmk2 fengmk2 reopened this May 9, 2026
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.

1 participant