Commit Graph

183 Commits

Author SHA1 Message Date
ls-root
586a436f3d fix(frontend): decouple table pagination from summary fetching (#11495)
Prevent the summary data from refetching unnecessarily when log pagination
changes.

- Split the data fetching into two separate useEffect hooks.
- Summary is now fetched only on mount.
- Logs refetch only when page or limit dependencies change.
- Decoupled loading states to prevent chart loading animation during log updates.
2026-02-03 12:11:03 +01:00
ls-root
4e27213df1 feat(frontend): preview tab (#11475) 2026-02-02 14:43:20 +01:00
ls-root
742248dabd cleanup(frontend): remove unused /category-view route (#11461) 2026-02-02 11:16:46 +01:00
ls-root
6f171f29de feat(frontend): implement UX refinements and syntax highlighting (#11423) 2026-02-01 18:23:13 +01:00
ls-root
ddbe93fdcc feat(frontend): add contribution CTA to empty search state (#11412)
When a user searches for a script that does not exist, the CommandMenu
now displays a link to the contribution guide. This encourages community
contributions.
2026-02-01 13:23:20 +01:00
CanbiZ (MickLesk)
0ace1009ad fix(frontend): wrap Tooltip in TooltipProvider 2026-01-28 14:37:29 +01:00
CanbiZ (MickLesk)
c7669c39c3 Frontend: use github-versions.json for version display (#11281)
* fix(frontend): use github-versions.json for version display

- Update AppVersion type to match new format with slug field
- Switch from versions.json to github-versions.json API
- Simplify version matching by direct slug comparison
- Remove 'Loading versions...' text - show nothing if no version found

* feat(frontend): show tooltip for pinned versions

* fix(api): add github-versions endpoint and fix legacy versions route
2026-01-28 14:29:26 +01:00
Jesús
f6b3515c9e fix: preserve newest scripts pagination (#10882) 2026-01-18 12:51:21 +01:00
Bram
bf648203f0 Add search filtering to CommandDialog for improved script search functionality (#10800) 2026-01-14 10:08:44 +01:00
Mateusz Ż
b7bfaee6a7 fix vertical scroll on website (#10317) 2025-12-25 19:39:36 +01:00
CanbiZ (MickLesk)
93a4ce5e33 website: bump deps & prevent security issues (#10045) 2025-12-16 20:49:33 +01:00
Sarthak Sidhant
e4d5ce221b fixed grammar on one of the alerts (#9799) 2025-12-09 14:22:23 +01:00
Slaviša Arežina
70557798ec FAQ update (#9742) 2025-12-07 21:31:36 +01:00
CanbiZ
62201a0872 Refactor DataPage for cleaner imports and UI improvements
Consolidated and reordered import statements for better readability. Simplified JSX formatting and conditional rendering throughout the file. Added error tooltips for failed installations in the log table, improved table cell formatting, and fixed disk size unit from MB to GB. Minor code style and consistency improvements applied across the component.
2025-12-04 09:23:28 +01:00
Slaviša Arežina
5465a5dc58 Update Discord link (#9499) 2025-11-29 16:13:20 +01:00
Bram
07e46a4585 fix: enhance back navigation in NotFoundPage component and remove unused deps (#9341)
* fix: enhance back navigation in NotFoundPage component

* chore: update dependencies and refactor imports

- Updated `framer-motion` to version `12.23.12` in `package.json` and `bun.lock`.
- Removed unused dependencies: `fuse.js`, `react-code-blocks`, `react-datepicker`, `pocketbase`, `simple-icons`.
- Refactored import in `number-ticker.tsx` to use `motion/react` instead of `framer-motion`.
- Removed CSS import for `react-datepicker` in `page.tsx`.

* fix: update NotFoundPage redirection to use basePath from site-config

- Modified the redirection logic in NotFoundPage to use the basePath variable.
- Set default basePath to "ProxmoxVE" in site-config for improved routing consistency.

* update bun.lock
2025-11-23 20:25:12 +01:00
Alpha Vylly
72a39012b6 feat: add script disable functionality with visual indicators (#9374) 2025-11-23 13:22:57 +01:00
Bram
6dd0195912 Refactor /data page (#9343) 2025-11-22 09:10:29 +01:00
Bram
17354ca011 Refactor analytics to use Rybbit instead of Umami (#9072) 2025-11-12 07:38:16 +01:00
Tobias
600da80ff4 frontend: chore: bump debian OS (#8798)
Removed Debian version 11 from the operating systems list.
2025-11-01 06:48:59 -07:00
Bram Suurd
220196309b Update script count in metadata and page content from 300+ to 400+ (#8279) 2025-10-11 17:21:29 +02:00
Bram Suurd
4136f5e7e3 Adjust navbar layout for large screen (#8087) 2025-10-03 19:23:26 +02:00
Bram Suurd
b52c252553 fix sidebar loading issues and navbar on mobile (#7991)
* Refactor MobileSidebar to manage script and category selection based on current pathname. Introduced temporary state for non-scripts pages and updated logic for last viewed script handling. Improved accessibility by ensuring proper aria attributes and class management.

* Update API endpoint paths in data.ts to include ProxmoxVE prefix for category and version fetching functions.

* Refactor Navbar component layout for improved structure and responsiveness. Adjusted flex properties to ensure proper alignment of elements, enhancing the mobile and desktop user experience. Updated accessibility features and ensured consistent use of TailwindCSS classes.
2025-09-29 21:56:07 +02:00
Bram Suurd
07f2849722 Improve mobile ui: added a hamburger navigation to the mobile view. (#7987)
* Update GitHubStarsButton component to be hidden on smaller screens

* feat: added a mobile navigation to the front-end.

* refactor: replace useQueryState with useSuspenseQueryState in ScriptContent and MobileSidebar components; add use-suspense-query-state hook

* Revert "refactor: replace useQueryState with useSuspenseQueryState in ScriptContent and MobileSidebar components; add use-suspense-query-state hook"

This reverts commit bfad01fc91.

* refactor: wrap MobileSidebar component in Suspense for improved loading handling

* Update mobile-sidebar.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 18:16:36 +02:00
Bram Suurd
984eeedf31 Enhance category metadata in JSON and update script accordion to display icons. Added 'icon' property to categories in metadata.json and modified script-accordion component to render corresponding icons for each category. (#7894) 2025-09-25 10:49:12 +02:00
Jonathan Wukitsch
9463b0b808 fix: tagline grammar (#7621) 2025-09-13 22:07:19 +02:00
Jonathan Wukitsch
5a80cd7e02 fix: grammar/capitalization for links and taglines (#7609)
* fix: grammar/capitalization for links and taglines

* fix: update number of total scripts
2025-09-13 09:11:59 +02:00
Bram Suurd
affcfd06cf Add margin-bottom to Most Viewed Scripts header (#7572) 2025-09-11 14:01:14 +02:00
Bram Suurd
aa4999dac6 Refactor GitHubStarsButton to wrap in Link component for external navigation (#7492) 2025-09-09 09:28:32 +02:00
Bram Suurd
d9a0b863a8 Format numerical values in DataFetcher component for better readability (#7477) 2025-09-08 12:49:38 +02:00
Bram Suurd
8ea4829e8a feat: enhance github stars button to be better looking and more compact (#7464)
* feat: enhance github stars button to be better looking and more compact to make mobile compatibility easier in the future

* feat: introduce a new Button component
2025-09-08 08:42:31 +02:00
Bram Suurd
62264f37a6 refactor: Enhance ScriptAccordion and Sidebar components to support selectedCategory state (#7405)
* refactor: Enhance ScriptAccordion and Sidebar components to support selectedCategory state

* lint

* chore: Add ESLint configuration to ignore errors during builds in next.config.mjs
2025-09-05 07:24:19 +02:00
Bram Suurd
a24169e9b8 Fix navigation (#7376)
* Removed double entries from the search to improve navigation

* change input on search field to improve searchability

* added type to search to make sure that LXC and VM's dont get mixed up

* run linting over changes

---------

Co-authored-by: Bram Suurd <bram.suurd@infracom.nl>
2025-09-03 14:45:24 +02:00
Bram Suurd
ecc585ebef temp change the analytics url to one that works untill community one is fixed (#6319) 2025-07-28 20:32:48 +02:00
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