Skip to content

fix/yml version import display behavior#401

Merged
valeriocomo merged 1 commit intodevelopfrom
fix/yml-version-import-display-behavior
May 7, 2025
Merged

fix/yml version import display behavior#401
valeriocomo merged 1 commit intodevelopfrom
fix/yml-version-import-display-behavior

Conversation

@AlexPalaz
Copy link
Copy Markdown
Collaborator

✅ What’s been done

This PR updates the logic for displaying the publiccodeYmlVersion input field, ensuring it is only shown when relevant. Previously, the input appeared after any YAML import. Now, it only shows up when the imported file declares a publiccodeYmlVersion older than the latest one.


✨ Features

The field is hidden by default and shown only if publiccodeYmlVersion !== LATEST_VERSION.


💥 Breaking changes

No breaking changes introduced.

@AlexPalaz AlexPalaz requested a review from valeriocomo May 7, 2025 07:45
@vercel
Copy link
Copy Markdown

vercel bot commented May 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
publiccode-editor ✅ Ready (Inspect) Visit Preview May 7, 2025 7:45am
publiccode-editor-legacy ✅ Ready (Inspect) Visit Preview May 7, 2025 7:45am

@AlexPalaz AlexPalaz changed the base branch from main to develop May 7, 2025 07:45
Copy link
Copy Markdown
Member

@valeriocomo valeriocomo left a comment

Choose a reason for hiding this comment

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

LGTM

@valeriocomo valeriocomo merged commit 5367dea into develop May 7, 2025
9 checks passed
@valeriocomo valeriocomo deleted the fix/yml-version-import-display-behavior branch May 7, 2025 09:53
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