Commit graph

149 commits

Author SHA1 Message Date
ape364
1e93f131d2
Update script-item.tsx (#5549)
* Update script-item.tsx

add space

* Update script-item.tsx

* Update script-item.tsx

---------

Co-authored-by: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com>
2025-06-29 16:34:24 +02:00
Bram Suurd
f605085021
fix bug in tooltip that would always render 'updateable' (#5552)
* fix bug in tooltip that would always render 'updateable'

* Remove double InstallCommand component from ScriptItems
2025-06-29 14:00:01 +02:00
Bram Suurd
0067075ed1
Remove npm legacy errors, created single source of truth for ESlint. updated analytics url. updated script background (#5498)
* Update ScriptAccordion and ScriptItem components for improved styling

* Add README.md for Proxmox VE Helper-Scripts Frontend

* Remove testing dependencies and related test files from the frontend project

* Update analytics URL in siteConfig to point to community-scripts.org

* Refactor ESLint configuration to have one source of truth and run "npm lint" to apply new changes

* Update lint script in package.json to remove npm

* Add 'next' option to ESLint configuration for improved compatibility

* Update package dependencies and versions in package.json and package-lock.json

* Refactor theme provider import and enhance calendar component for dynamic icon rendering

* rename sidebar, alerts and buttons

* rename description and interfaces files

* rename more files

* change folder name

* Refactor tooltip logic to improve updateable condition handling

* Enhance CommandMenu to prevent duplicate scripts across categories

* Remove test step from frontend CI/CD workflow
2025-06-28 00:38:09 +02:00
Bram Suurd
72e7bda418
Enhance InstallCommand component to support Gitea as an alternative source for installation scripts. Added informational alert for Gitea usage and refactored command generation logic to accommodate the new option. (#5464) 2025-06-25 20:39:26 +02:00
Bram Suurd
69e14c8fca
Update Tooltips component to conditionally display updateable status based on item type (#5461) 2025-06-25 20:39:02 +02:00
Bram Suurd
d1deffb235
Refactor CommandMenu to prevent duplicate scripts across categories (#5463) 2025-06-25 20:35:17 +02:00
Bram Suurd
906a0a0fbc
Refactor ScriptItem and ConfigFile components to conditionally render config file location. Update ConfigFile to accept configPath prop instead of item. (#5197) 2025-06-16 17:14:17 +02:00
Bram Suurd
8241ed932d
Refactor layout and component styles for improved responsiveness (#5195) 2025-06-16 17:13:33 +02:00
Bram Suurd
04dab68e17
Update default image asset in the public directory and update api route to only search for files that end with .json (#5179)
* Update default image asset in the public directory

* Enhance file filtering in getScripts function to include only JSON files
2025-06-16 13:46:05 +02:00
risc
87f6c9ebde
Display default password even if there isn't a default username (#4900)
This fixes the display of the Deluge script.
2025-06-02 09:56:23 +02:00
Slaviša Arežina
69298090ce
FAQ: Explanation "updatable" (#4300)
* Update FAQ

* Update frontend/src/config/faqConfig.tsx
2025-05-08 11:01:42 +02:00
Bram Suurd
dc36ba409c
Changed the random script button to be the same as all the other buttons (#4183) 2025-05-02 17:40:37 +02:00
Michel Roegl-Brunner
a2fdb4e236
Feat: Random Script picker for Website (#4090)
* Feat: Random Script picker

* Remove extra site

* Changes for Mick
2025-04-29 11:11:59 +02:00
Slaviša Arežina
60c480042c
Fix frontend path in footer (#4108) 2025-04-28 19:52:01 +02:00
Michel Roegl-Brunner
18e1e7d0b9
Only show update source when app is marked updateable (#4059) 2025-04-25 15:12:12 +02:00
Michel Roegl-Brunner
cf4a2c8ffe
Feat: Add config path to website (#4005)
* Feat: Add config path to website

* Handel Responsive/Mobile
2025-04-24 11:52:26 +02:00
Michel Roegl-Brunner
22c960c99c
Fix Turnkey Source Link (#3978) 2025-04-22 14:41:17 +02:00
Bram Suurd
3668c089dd
Add "Not Updateable" tooltip to scripts (#3852)
* Refactor Tooltips component to use BadgeProps for variant type and enhance updateable logic with failure state

* Update tooltip content in Tooltips component to clarify update process for non-updateable scripts

* Refactor Tooltips component to make content optional and improve conditional rendering for better UX

* Refactor conditional rendering in Tooltips component to simplify updateable logic and enhance clarity for non-updateable scripts

* Refactor TooltipBadge component in Tooltips to enhance readability and streamline conditional rendering for privileged and non-updateable states

* Update @radix-ui/react-tooltip to version 1.2.0 and update tooltip component
2025-04-12 17:45:07 +02:00
CanbiZ
3dffd02f08
core: move misc scripts to structured addon/pve paths | Refactor JSON Editor & Script Mapping (#3765)
* Move Scripts to Tools / Add-Ons

* fix json editor slug generating

* update type in jsons

* remove wrong method

* move copy-data to tools
2025-04-09 13:10:02 +02:00
Bram Suurd
4ef88cd051
Implement FAQ component and integrate it into the main page (#3709)
* Implement FAQ component and integrate it into the main page; update package-lock.json for development dependencies.

* Adjust Footer component padding for improved layout consistency

* Update FAQ section div to include an ID for improved accessibility and navigation

* Adjust ScriptAccordion max height for improved layout consistency

* Remove default value from Accordion in FAQ component

* Refactor FAQ items for clarity and consistency; update titles and content for improved user understanding.

* Refactor FAQ component to use index as key for Accordion items; remove IDs from FAQ_Items for simplified mapping.
2025-04-06 22:28:04 +02:00
Bram Suurd
138d0c48b1
Update Footer.tsx to redirect to frontend page instead of home page (#3621) 2025-04-02 20:12:43 +02:00
Bram Suurd
763a58aeb9
fix missing favicon (#3620) 2025-04-02 20:12:09 +02:00
Bram Suurd
af5809c888
Update metadata inside layout.tsx for better SEO (#3570) 2025-04-01 15:17:55 +01:00
Bram Suurd
4f6942b601
Refactor ScriptItem and Buttons components to enhance layout and integrate dropdown for links. Update InterFaces component for improved styling and structure. (#3567)
* Refactor ScriptItem and Buttons components to enhance layout and integrate dropdown for links. Update InterFaces component for improved styling and structure.

* Add React Query integration and enhance component structure

- Introduced `@tanstack/react-query` for data fetching and state management.
- Added `QueryProvider` component to wrap the application with QueryClient.
- Refactored `ScriptItem` to utilize `useVersions` hook for fetching versions.
- Created `ResourceDisplay` and `VersionBadge` components for better resource representation.
- Improved layout and styling across various components, including `Alerts`, `Buttons`, and `DefaultPassword`.
- Updated `layout.tsx` to include the new `QueryProvider` for global state management.

* Remove bun.lock file to streamline dependency management and prevent potential conflicts.

* Update dependencies in package.json and package-lock.json

- Removed `@vercel/analytics` from dependencies.
- Upgraded `vitest` and related packages to version `3.1.1`.
- Updated various packages to their latest versions for improved performance and compatibility.
- Adjusted Node.js engine requirements to support newer versions.

* Update dependencies in package.json and package-lock.json

- Upgraded various Radix UI components to their latest versions for improved functionality and performance.
- Updated `chart.js`, `class-variance-authority`, `cmdk`, `framer-motion`, `fuse.js`, `nuqs`, `pocketbase`, and other packages to their latest versions.
- Enhanced TypeScript and ESLint packages for better type checking and linting capabilities.
- Updated Tailwind CSS and related plugins for improved styling and utility classes.
- Adjusted Node.js engine requirements in several packages to support newer versions.
2025-04-01 15:38:57 +02:00
CanbiZ
8c051b8186
Replace wget with curl -fsSL, normalize downloads, and prep for IPv6 (#3455)
* Initial Call, Switch from curl -s to curl -fsSL and wget to curl -fssL

* more switches

* switch vms

* more curls

* More curls

* more

* more

* more changes

* more

* prepare ipv6 calls

* change frontend to ipv6

* Formatting

* Fromatting

* Update gomft.sh

* Update gomft-install.sh

* Update ersatztv.sh

* Update build.func

---------

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2025-04-01 10:25:46 +02:00
CanbiZ
59ebbd37fa
Change Frontend Version Info (#3527)
* Change Frontend Version Info

* Fix

* Update ScriptItem.tsx
2025-03-31 17:46:27 +02:00
Michel Roegl-Brunner
990e89e1b2
Update ScriptItem.tsx (#3388) 2025-03-24 16:22:39 +01:00
Bram Suurd
24fbced030
Update siteConfig.tsx (#3389) 2025-03-24 16:08:31 +01:00
Bas van den Berg
6fa198147b
JSON editor note fix (#3260) 2025-03-19 12:04:58 +01:00
Michel Roegl-Brunner
a5985e4ce5
Forgot a thing (#3240) 2025-03-18 16:12:54 +01:00
Michel Roegl-Brunner
4e36061ced
Add Latest Change Date to Frontend (#3231)
* Updated Logic for Versions

* Update logic, add date
2025-03-18 15:19:11 +01:00
Michel Roegl-Brunner
05d4064f03
Update Frontedn (#3216) 2025-03-18 13:27:35 +01:00
Michel Roegl-Brunner
25c310b57b
Fix frontend (#3199) 2025-03-18 11:39:10 +01:00
Michel Roegl-Brunner
7cc4fee48b
Add worflow to crawl APP verisons (#3192)
* Add worflow to crawl verisons

* Update Test
2025-03-18 11:20:28 +01:00
CanbiZ
9302e2e27d
Update Buttons.tsx 2025-03-03 10:43:09 +01:00
CanbiZ
4baae014ab Update Buttons.tsx 2025-03-03 09:55:30 +01:00
CanbiZ
d000c35ff5 Update Buttons.tsx 2025-03-03 09:54:01 +01:00
CanbiZ
9570c9199a
Feature: Website - show default OS (#2790)
* Feature: Website - show default OS

* add os fallback

* Update ScriptItem.tsx

* Update Buttons.tsx

* Update Buttons.tsx

* fix duplicate type check

* fix import deps

* add refreshccw
2025-03-03 09:50:21 +01:00
Slaviša Arežina
d781c75dfe
Update website with accurate info (#2730) 2025-02-27 23:07:10 +01:00
Scott Callaway
4cad868175
feat: use HTML button element for copying to clipboard (#2720)
It's much more semantic to use the `<button />` HTML component rather
than trying to build the same functionality out of a `<div />` so that's
what is updated here.

This also updates some of the classes that were on the button as they're
no longer required and removes some commented out code that doesn't need
to be left around.

There was also a `<span />` with the contents "Copy" that I couldn't
work out when it was meant to be displayed, so I swapped that over to an
HTML tooltip on the `<button />`.
2025-02-27 19:04:03 +01:00
Michel Roegl-Brunner
c01abd559b
Add basic pagination (#2715) 2025-02-27 15:56:56 +01:00
Bram Suurd
8b23cafed9
Fix script category name text alignment in ScriptAccordion (#2342) 2025-02-13 12:48:42 +01:00
Michel Roegl-Brunner
9825506ab7
Fix JSON-Editor (#2121)
Co-authored-by: Rögl-Brunner Michel <Michel.Roegl-brunner@htl-braunau.int>
2025-02-07 10:54:08 +01:00
Bram Suurd
03828943b0
Refactor JSON generator buttons layout for better alignment and consistency (#2106) 2025-02-06 19:11:32 +01:00
Bram Suurd
d71ef779ec
Website: Refactor Footer for improved layout and styling consistency (#2107) 2025-02-06 19:10:57 +01:00
CanbiZ
5b4c417729
Website: Update Footer for Json-Editor & Api (#2100)
* Website: Update Footer for Json-Editor & Api

* Update Footer.tsx
2025-02-06 17:06:48 +01:00
CanbiZ
9c4e9ed4be
Website: Add Download for json-editor (#2099) 2025-02-06 17:04:32 +01:00
Michel Roegl-Brunner
8129e3cf39
[API] Masiv update to api (#1990)
* Masiv refactor of the api

* Masiv refactor of the api

* Format page.tsx

* Format page.tsx

* testing

* update build.func

* Change urls to Repo

* Change urls to Repo

* update install.func

* Add post_to_api_vm

* Update api.func

* Update api.func

* Update api.func

* update api.func
2025-02-04 13:23:20 +01:00
Michel Roegl-Brunner
00f58d71d6
[Website] update data/page.tsx (#1969) 2025-02-03 10:38:45 +01:00
Bram Suurd
c8829beddd
feat: enhance DataFetcher with better UI components and add reactive data fetching intervals (#1901) (#1902) 2025-01-31 14:09:28 +01:00