Commit Graph

79 Commits

Author SHA1 Message Date
c458b564ce Update dependencies and fix watch logic in usePackageFilters
Adjusted the watcher in `usePackageFilters` to track the correct reactive object and call `applyFilters` when necessary. Updated various dependencies in `yarn.lock` to their latest versions for compatibility and improved functionality.
2025-04-14 21:52:13 +02:00
bcb9569b26 Refactor package filtering and display components
Replaced inline package filtering and table logic with dedicated reusable components: `PackageFilters` and `PackageTable`. Introduced a composable (`usePackageFilters`) for managing filtering logic and state, and optimized display logic with a new `usePackageDisplay` composable. This improves maintainability, readability, and separation of concerns.
2025-04-14 21:43:18 +02:00
90be95afda Refactor CurrentlyBuilding to use centralized data store
Replaced local state and fetching logic with a Vuex-like data store for better state management. Updated import paths, removed redundant code, and ensured reactive updates using computed properties and watchers. This enhances maintainability and reduces code duplication.
2025-04-14 21:42:52 +02:00
c864664536 Refactor iframe height computation for responsiveness
Replaces the hard-coded iframe height logic with a computed property to dynamically adjust height based on screen width. This simplifies the code and improves maintainability while ensuring proper responsive design behavior.
2025-04-14 21:41:55 +02:00
9762505a24 Refactor BuildStats and MainNav components
Modularize BuildStats by splitting it into smaller components (StatsListSection, StatItem) for better code reusability and readability. Update MainNav to reflect this restructuring and improve the handling of dynamic styles, computed properties, and data binding.
2025-04-14 21:41:28 +02:00
9adeaa4483 Update UI to handle loading and error states for data fetch
Introduced conditional UI components to display loading and error messages during data fetching. Integrated the data store to manage state and added lifecycle hooks for starting and stopping auto-refresh. These changes improve user experience and ensure better feedback during data operations.
2025-04-14 21:39:20 +02:00
43ce135fc6 Add Pinia for state management and API data handling.
Introduced Pinia as the state management library and integrated it with the app. Implemented an `ApiClient` utility and a `dataStore` to fetch, categorize, and manage packages and stats data. Updated application entry to include Pinia and adjusted dependencies in `package.json`.
2025-04-14 21:38:48 +02:00
4e722e5e60 Add type definitions and example .env file for environment vars
Introduce `env.d.ts` to define types for VITE environment variables, ensuring better type safety and development experience. Provide a sample `.env.example` file to guide configuration setup.
2025-04-14 21:37:32 +02:00
265bfac74a Handle package data fetch errors and improve UI feedback.
Added error handling for package data fetches with visual cues to indicate failures (e.g., red pulsating circle). Updated UI text to prompt retries on failures and refactored timers for better synchronization. Improved code readability by removing redundant URL formatting.
2025-04-10 22:48:13 +02:00
8fe8f1e122 Refactor and modularize queued packages handling
Extract queued packages logic into a dedicated `QueuedPackagesList` component for better code modularity and maintainability. Streamline API fetch functions with reusable `fetchPackages` utility and improve code readability by adopting async/await syntax.
2025-04-07 21:06:10 +02:00
db9c7ee523 Refactor Packages component for better readability and maintainability
Simplified logic by extracting helper functions and constants, and improved state management with more descriptive variable names. Enhanced URL parameter handling and adjusted watchers to dynamically update based on changes, ensuring cleaner and more modular code.
2025-04-07 20:51:32 +02:00
d8f52cea61 Refactor Gitea link styling in MainNav component
Moved inline styles to a scoped CSS class for better maintainability and readability. Added hover effect and smooth transition to enhance user interface consistency.
2025-04-07 19:04:49 +02:00
06d868dcfa Refactor BuildStats for dynamic rendering and reuse
Replaced hardcoded items with dynamically generated lists for stats and LTO sections. Introduced reusable styles and refactored the `getStats` function to use async/await, ensuring better readability and maintainability. Enhanced code structure for easier updates and scalability.
2025-04-07 18:58:29 +02:00
3c8f8546cc Refactor "Currently Building" component for improved clarity
Simplified template structure and improved readability by consolidating conditional rendering logic. Added an expandable queue view and a message for empty queues, enhancing the UI/UX. Introduced reusable styles for circular indicators.
2025-04-07 18:53:42 +02:00
a64f296ebe Update iframe height logic for responsive graph display
Replaced hardcoded iframe height with a dynamically calculated value based on graph count and individual graph height. This improves maintainability and ensures consistent resizing across different device widths.
2025-04-07 18:53:16 +02:00
c633ceb3ee Use @use instead of @import in base.scss
Replaced `@import` with `@use` for improved modularity and compatibility with modern Sass practices. This change ensures better scoping and avoids potential conflicts with styles from other files.
2025-04-07 18:53:01 +02:00
147673cdda fix module path, correctly this time 2025-03-23 13:47:35 +01:00
098bb41035 fix module path 2025-03-23 13:46:59 +01:00
20ccb7c441 frontend: update deps & yarn 2025-03-23 12:51:36 +01:00
2af3c9822c fixed pagination breaking on tablets 2025-03-23 03:18:29 +01:00
d67d9e82a7 removed console logging 2025-03-23 03:00:35 +01:00
020cbd3a79 refactor of filtering code 2025-03-23 02:59:00 +01:00
c122252768 Fixed bug on offset url param 2025-03-23 02:18:53 +01:00
727b90a396 Updated filter options 2025-03-23 02:12:13 +01:00
ed3b6b6bb4 added 'exact search' to filtering 2025-03-23 01:11:14 +01:00
4440a86c05 add exact; add multiple status matching; update deps 2025-03-23 01:04:22 +01:00
ee2d17ad3d update deps 2025-01-22 23:14:39 +01:00
4e0aa93edf update deps 2024-09-19 21:33:28 +02:00
8ccaf83b0b update deps; adjusted API for build -> built change 2024-06-23 13:17:26 +02:00
6746d08304 fix only showing one queued & building package 2024-01-26 12:16:00 +01:00
81efe8b62a fixes #3 2024-01-25 23:17:40 +01:00
62541a2549 minor adjustments to margins and paddings 2024-01-25 23:14:40 +01:00
27218d6841 fixed packages for mobile 2024-01-25 22:54:44 +01:00
4994f6aa4f fixed currently-building for mobile 2024-01-25 22:44:09 +01:00
0a0f41bad4 fixed nav for mobile 2024-01-25 22:15:59 +01:00
f3d4b6d5b9 fixed currently-building for mobile 2024-01-25 22:00:28 +01:00
2257072d97 fixed build-server-stats for mobile 2024-01-25 21:42:02 +01:00
57ecf6e950 removed build-stats from nav on mobile 2024-01-25 21:37:33 +01:00
cc985a634c fixed accidentally having two buildingc 2024-01-25 21:15:25 +01:00
d6dfbf3371 added some bot margin 2024-01-25 21:14:16 +01:00
6b3c37dd92 adjust currentlybuilding for mobile 2024-01-25 17:45:10 +01:00
4f165b9767 fixed mobile page design 2024-01-25 17:06:54 +01:00
0e38f4891b fix "build" status not being correctly retrieved 2024-01-25 00:56:02 +01:00
e7ad679c34 moved from font-auto-import to font package 2024-01-24 16:55:48 +01:00
f75baf050c fixed building version 2024-01-24 16:20:48 +01:00
db80961ea4 vuetify-rework (#2)
See #2.

Co-authored-by: vikingowl <christian@nachtigall.dev>
Reviewed-on: #2
Reviewed-by: anonfunc <539@idlegandalf.com>
Co-authored-by: vikingowl <vikingowl@noreply.somegit.dev>
Co-committed-by: vikingowl <vikingowl@noreply.somegit.dev>
2024-01-24 16:11:55 +01:00
92d9d478b5 fixed alignment of columns 2023-12-20 17:52:26 +01:00
49a0fcfc88 fix json field for offset 2023-12-18 00:02:35 +01:00
cc11d97a29 fixed missing queued status 2023-12-17 23:24:59 +01:00
6750347eda added queued to filter 2023-12-17 23:24:53 +01:00