Commit Graph

74 Commits

Author SHA1 Message Date
vikingowl 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
vikingowl 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
vikingowl 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
vikingowl 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
vikingowl 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
vikingowl 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
vikingowl 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
vikingowl 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
vikingowl 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
vikingowl 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
vikingowl 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
anonfunc 147673cdda fix module path, correctly this time 2025-03-23 13:47:35 +01:00
anonfunc 098bb41035 fix module path 2025-03-23 13:46:59 +01:00
anonfunc 20ccb7c441 frontend: update deps & yarn 2025-03-23 12:51:36 +01:00
vikingowl 2af3c9822c fixed pagination breaking on tablets 2025-03-23 03:18:29 +01:00
vikingowl d67d9e82a7 removed console logging 2025-03-23 03:00:35 +01:00
vikingowl 020cbd3a79 refactor of filtering code 2025-03-23 02:59:00 +01:00
vikingowl c122252768 Fixed bug on offset url param 2025-03-23 02:18:53 +01:00
vikingowl 727b90a396 Updated filter options 2025-03-23 02:12:13 +01:00
vikingowl ed3b6b6bb4 added 'exact search' to filtering 2025-03-23 01:11:14 +01:00
anonfunc 4440a86c05 add exact; add multiple status matching; update deps 2025-03-23 01:04:22 +01:00
anonfunc ee2d17ad3d update deps 2025-01-22 23:14:39 +01:00
anonfunc 4e0aa93edf update deps 2024-09-19 21:33:28 +02:00
anonfunc 8ccaf83b0b update deps; adjusted API for build -> built change 2024-06-23 13:17:26 +02:00
anonfunc 6746d08304 fix only showing one queued & building package 2024-01-26 12:16:00 +01:00
vikingowl 81efe8b62a fixes #3 2024-01-25 23:17:40 +01:00
vikingowl 62541a2549 minor adjustments to margins and paddings 2024-01-25 23:14:40 +01:00
vikingowl 27218d6841 fixed packages for mobile 2024-01-25 22:54:44 +01:00
vikingowl 4994f6aa4f fixed currently-building for mobile 2024-01-25 22:44:09 +01:00
vikingowl 0a0f41bad4 fixed nav for mobile 2024-01-25 22:15:59 +01:00
vikingowl f3d4b6d5b9 fixed currently-building for mobile 2024-01-25 22:00:28 +01:00
vikingowl 2257072d97 fixed build-server-stats for mobile 2024-01-25 21:42:02 +01:00
vikingowl 57ecf6e950 removed build-stats from nav on mobile 2024-01-25 21:37:33 +01:00
anonfunc cc985a634c fixed accidentally having two buildingc 2024-01-25 21:15:25 +01:00
anonfunc d6dfbf3371 added some bot margin 2024-01-25 21:14:16 +01:00
anonfunc 6b3c37dd92 adjust currentlybuilding for mobile 2024-01-25 17:45:10 +01:00
anonfunc 4f165b9767 fixed mobile page design 2024-01-25 17:06:54 +01:00
anonfunc 0e38f4891b fix "build" status not being correctly retrieved 2024-01-25 00:56:02 +01:00
vikingowl e7ad679c34 moved from font-auto-import to font package 2024-01-24 16:55:48 +01:00
vikingowl f75baf050c fixed building version 2024-01-24 16:20:48 +01:00
vikingowl 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
vikingowl 92d9d478b5 fixed alignment of columns 2023-12-20 17:52:26 +01:00
anonfunc 49a0fcfc88 fix json field for offset 2023-12-18 00:02:35 +01:00
anonfunc cc11d97a29 fixed missing queued status 2023-12-17 23:24:59 +01:00
vikingowl 6750347eda added queued to filter 2023-12-17 23:24:53 +01:00
vikingowl b8d134251e added target="_blank" to log files 2023-12-17 22:47:44 +01:00
vikingowl d988afb766 beautify code 2023-12-17 22:30:33 +01:00
vikingowl 21fe0e9978 fixed more typos + added check for tooltip 2023-12-17 21:24:25 +01:00
anonfunc d57268f9b0 remove linting hints 2023-12-17 21:24:14 +01:00
anonfunc 7d933e8476 omit builddate if not build 2023-12-17 21:21:55 +01:00