ProxmoxVE/frontend
Bram Suurd 10fe784e1c
Optimize website json-editor page and components (#265)
* Update mariadb.json

* Update vaultwarden.json

* Update vaultwarden.json

* Update keycloak.json

* Update json/keycloak.json

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update mariadb.json

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Add canonical link to layout for improved SEO and page indexing

* Fix image source fallback for script logos to use a consistent relative path

* Fix image source for script logos across components to consistently use the "/ProxmoxVE/logo.png" path

* Update image source for script logos to use basePath for consistent paths across all components

* Fix image source for script logos to ensure leading slash is consistent for all components' paths

* Add JSON generator component with validation and UI elements for managing scripts, categories, and installation methods

* Add calendar and label components; enhance JSON generator with date selection and script path updates for installation methods

* Enhance Alerts component with dynamic colored notes using AlertColors from config for better visibility and consistency

* Remove MultiSelect component

* Update JSON generator: streamline install methods, enhance note type selection, and refine button behavior for better UX

* Refactor AlertColors: unify warning and danger styles for consistency and improved visual hierarchy in alerts

* Enhance JSONGenerator: improve SelectItem layout with color indicators for better visual representation of alert types

* Refactor JSON schema definitions in JSONGenerator: separate InstallMethod and Note schemas for better structure and readability

* Fix JSONGenerator: streamline SelectItem markup and enhance JSON display layout for improved readability and user experience

* Refactor JSON schema handling: move schema definitions to separate file

* Enhance error handling in JSONGenerator: display Zod validation errors on user input for better feedback and debugging

* Export InstallMethodSchema and integrate into JSONGenerator for better validation of install method data input

* Add Categories and Note components to JSONGenerator for better organization and modularity in the JSON editing interface

* Remove unused imports

* Add JSON Editor route to sitemap for improved SEO and navigation

* Refactor JSON Editor components to improve performance with memoization and streamline state updates with useCallback

---------

Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-15 18:16:19 +01:00
..
public Use static assets instead of fetching from github (#156) 2024-11-09 20:06:54 +01:00
src Optimize website json-editor page and components (#265) 2024-11-15 18:16:19 +01:00
.eslintrc.json merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
.gitignore merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
.prettierignore merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
.prettierrc merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
components.json merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
LICENSE merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
next.config.mjs manually set basePath in next.config.mjs (#109) 2024-11-06 23:57:50 +01:00
package-lock.json Add JSON Generator page for easier configuring of new metadata (#230) 2024-11-14 09:08:45 +01:00
package.json Add JSON Generator page for easier configuring of new metadata (#230) 2024-11-14 09:08:45 +01:00
postcss.config.mjs merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
tailwind.config.ts merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
tsconfig.json merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00