[PR #230] Add JSON Generator page for easier configuring of new metadata #2441

Closed
opened 2025-11-20 05:30:02 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/community-scripts/ProxmoxVE/pull/230

State: closed
Merged: Yes


Note

We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged.

Description

This pull request focuses on adding a easy to use page for configuring new metadata. it also includes updates to dependencies in package-lock.json and package.json, as well as the addition of new UI components in the frontend/src/components/ui directory.

Dependency Updates:

  • Added new dependencies for Radix UI components and other libraries in package-lock.json and package.json. These include @radix-ui/react-label, @radix-ui/react-popover, @radix-ui/react-select, @radix-ui/react-switch, date-fns, react-day-picker, and zod. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

New UI Components:

  • Added Alert, AlertTitle, and AlertDescription components in frontend/src/components/ui/alert.tsx.
  • Added Calendar component in frontend/src/components/ui/calendar.tsx.
  • Added Label component in frontend/src/components/ui/label.tsx.
  • Added Popover, PopoverTrigger, and PopoverContent components in frontend/src/components/ui/popover.tsx.

Fixes # (issue)

Type of change

Please check the relevant option(s):

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts.)

Prerequisites

The following efforts must be made for the PR to be considered. Please check when completed:

  • Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
  • Testing performed (I have tested my changes, ensuring everything works as expected)
  • Documentation updated (I have updated any relevant documentation)

Additional Information (optional)

Provide any additional context or screenshots about the feature or fix here.

image

If there are other pull requests or discussions related to this change, please link them here:

  • Related PR #
**Original Pull Request:** https://github.com/community-scripts/ProxmoxVE/pull/230 **State:** closed **Merged:** Yes --- > [!NOTE] > We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged. ## Description This pull request focuses on adding a easy to use page for configuring new metadata. it also includes updates to dependencies in `package-lock.json` and `package.json`, as well as the addition of new UI components in the `frontend/src/components/ui` directory. ### Dependency Updates: * Added new dependencies for Radix UI components and other libraries in `package-lock.json` and `package.json`. These include `@radix-ui/react-label`, `@radix-ui/react-popover`, `@radix-ui/react-select`, `@radix-ui/react-switch`, `date-fns`, `react-day-picker`, and `zod`. [[1]](diffhunk://#diff-4a2d9aa3e849b134993936ca81b83fb139edd2b0218077ab0f403b8c4803c62aR16-R29) [[2]](diffhunk://#diff-4a2d9aa3e849b134993936ca81b83fb139edd2b0218077ab0f403b8c4803c62aR41-R49) [[3]](diffhunk://#diff-4a2d9aa3e849b134993936ca81b83fb139edd2b0218077ab0f403b8c4803c62aR1038-R1043) [[4]](diffhunk://#diff-4a2d9aa3e849b134993936ca81b83fb139edd2b0218077ab0f403b8c4803c62aR1378-R1400) [[5]](diffhunk://#diff-4a2d9aa3e849b134993936ca81b83fb139edd2b0218077ab0f403b8c4803c62aR1477-R1513) [[6]](diffhunk://#diff-4a2d9aa3e849b134993936ca81b83fb139edd2b0218077ab0f403b8c4803c62aR1678-R1720) [[7]](diffhunk://#diff-4a2d9aa3e849b134993936ca81b83fb139edd2b0218077ab0f403b8c4803c62aR1762-R1790) [[8]](diffhunk://#diff-4a2d9aa3e849b134993936ca81b83fb139edd2b0218077ab0f403b8c4803c62aR3083-R3092) [[9]](diffhunk://#diff-4a2d9aa3e849b134993936ca81b83fb139edd2b0218077ab0f403b8c4803c62aR6193-R6206) [[10]](diffhunk://#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655R26-R39) [[11]](diffhunk://#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655R51-R59) ### New UI Components: * Added `Alert`, `AlertTitle`, and `AlertDescription` components in `frontend/src/components/ui/alert.tsx`. * Added `Calendar` component in `frontend/src/components/ui/calendar.tsx`. * Added `Label` component in `frontend/src/components/ui/label.tsx`. * Added `Popover`, `PopoverTrigger`, and `PopoverContent` components in `frontend/src/components/ui/popover.tsx`. Fixes # (issue) ## Type of change Please check the relevant option(s): - [ ] Bug fix (non-breaking change that resolves an issue) - [x] New feature (non-breaking change that adds functionality) - [ ] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly) - [ ] New script (a fully functional and thoroughly tested script or set of scripts.) ## Prerequisites The following efforts must be made for the PR to be considered. Please check when completed: - [x] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions) - [x] Testing performed (I have tested my changes, ensuring everything works as expected) - [ ] Documentation updated (I have updated any relevant documentation) ## Additional Information (optional) Provide any additional context or screenshots about the feature or fix here. ![image](https://github.com/user-attachments/assets/edf5f068-3cb3-424d-bfb8-43f798cf4aef) ## Related Pull Requests / Discussions If there are other pull requests or discussions related to this change, please link them here: - Related PR #
saavagebueno added the pull-request label 2025-11-20 05:30:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2441