Commit Graph

55 Commits

Author SHA1 Message Date
a3216950c8 Update TopBar UI for improved structure and clarity
Refactored the TopBar component to enhance readability and organization. Added labeled sections for user account, role display, and the "Neues Spiel" button. Adjusted styles and improved spacing for better UI consistency.
2026-02-04 09:06:17 +01:00
e4c1a57f0f Update button text in TopBar component
Revised the button label from "Neues Spiel" to "✦ Neues Spiel" to enhance visual appeal and draw user attention. This minor UI tweak improves the user experience.
2026-02-04 09:02:50 +01:00
3b628b6c57 Refactor App structure and add modular components
Split GamePickerCard, HelpModal, and SheetSection into separate components for better modularity and clarity. Refactored App.jsx to utilize these new components, restructured state variables, and organized functions for improved readability. Enhanced code comments for easier maintenance.
2026-02-04 08:58:00 +01:00
1afb060bbc Refactor app by modularizing components and extracting utilities.
The changes split large features into smaller, reusable components like `AdminPanel`, `LoginPage`, `TopBar`, `PasswordModal`, and `ChipModal`. Utility functions such as `cycleTag` and `chipStorage` were extracted for better organization. This improves the code's readability, maintainability, and scalability.
2026-02-04 08:49:34 +01:00
62eb7e6e58 Update user menu display for cleaner interface
Replaced the email with a generic "Account" label in the user menu for better design consistency and to avoid truncation issues. Adjusted the dropdown max width to 180px for improved alignment with the new layout.
2026-02-03 20:27:21 +01:00
7036f29481 Add password change functionality to user settings
Implemented a secure password change endpoint in the backend with validation. Enhanced the frontend to include a modal for updating the user's password, ensuring real-time input validation and user feedback.
2026-02-03 20:24:20 +01:00
bf37850e79 Improve chip selection and modal closing behavior
Updated the chip handling logic to ensure a smoother user experience by immediately closing modals in the frontend before performing asynchronous operations. Enhanced error handling and streamlined tag display logic for clarity and consistency.
2026-02-03 20:15:46 +01:00
a9dbbd65a4 Update status logic to include "m" in note_tag checks
Previously, only "i" and "s" were considered in the note_tag check for determining effectiveStatus. This update adds "m" to the condition, ensuring accurate status handling for entries with note_tag "m".
2026-02-03 20:09:45 +01:00
ca15266fb9 Add local storage handling for chip selection in frontend
Introduced functions to manage chip data in local storage, ensuring smoother handling of chip selections without backend dependency. Adjusted UI logic to display chip tags dynamically and modified "s" state handling to integrate local storage data seamlessly.
2026-02-03 18:46:33 +01:00
e2b97b69e9 Refactor tag handling and remove unused functions
Consolidated tag cycling logic into a single function, simplifying and clarifying its purpose. Removed redundant functions related to tag parsing and storage. Updated UI elements for better readability and consistency.
2026-02-03 16:10:32 +01:00
59f477c343 Rename CHIP_LIST to CHIP_OPTIONS for clarity
The constant name was updated to better reflect its purpose as a list of selectable options. This improves code readability and maintainability.
2026-02-03 15:53:40 +01:00
7be21969e7 Add cycleTag function for tag value transitions
Implemented the cycleTag function to handle transitions between tag states ("i", "m", "s") and reset for special cases starting with "s.". This prepares the application to support dynamic tag cycling functionality.
2026-02-03 15:49:09 +01:00
db35a7b0c9 Refactor chip state variable names for consistency
Renamed state variables `chipPickOpen` and `chipPickEntry` to `chipOpen` and `chipEntry`. This change improves naming consistency across the component, simplifying readability and maintenance.
2026-02-03 15:39:10 +01:00
d2e2286627 Refactor chip selection logic and UI improvements
Unified chip modal functionality by consolidating state variables and methods. Enhanced UI consistency for effective statuses and streamlined code for readability and maintainability. Updated styles for better visual appeal and clarity.
2026-02-03 15:35:55 +01:00
b8fc47e881 Update text style for additional conditions
Adjusted text decoration and opacity to apply when certain tags ("i" or "s") are set. This ensures better visual feedback for the specified conditions in the application interface.
2026-02-03 15:22:18 +01:00
2ec7c63119 Refactor tag handling and add chip localStorage support
Refactored tag handling logic by introducing helper functions to improve clarity and maintainability. Added localStorage support for storing and retrieving chip values associated with entries, ensuring smoother transitions and proper state management across sessions. Simplified backend interactions for the "s" tag and improved display logic for tags with chips.
2026-02-03 15:13:21 +01:00
6a5ff44135 Add chip selection feature for "s" tags
Implemented a chip selection modal that appears when cycling to the "s" tag. Users can now assign specific chips (e.g., "s.AL") to entries, improving interactivity and flexibility in tagging.
2026-02-03 15:00:31 +01:00
3546500d9e Refactor styles to use central theme tokens for consistency.
Replaced hardcoded colors and styles with reusable `stylesTokens` for improved maintainability and uniformity across the application. Simplified inline styles, cleaned up redundancies, and enhanced readability while adhering to the new dark and gold theme.
2026-02-03 13:52:43 +01:00
6cf7bf506a Add PWA support using vite-plugin-pwa
Integrated the vite-plugin-pwa to enable Progressive Web App functionality. Added service worker registration, manifest configuration, and necessary assets like icons and favicon. This enhances offline capabilities and user experience.
2026-02-03 13:35:52 +01:00
52e1d5f0f8 Update marauders-map-blur.jpg in public assets
Replaced the previous version of the marauders-map-blur.jpg file with an updated one. This ensures the latest version is available in the frontend public assets directory.
2026-02-03 13:18:39 +01:00
e6267986db Update styling for App background elements
Removed unused `bgInkVignette` styles and adjusted `zIndex` for better layering control. Updated background image URL for `bgMap` to ensure proper path resolution. These changes improve overall code clarity and maintainability.
2026-02-03 13:16:35 +01:00
e6d32bc151 Remove redundant background style settings.
The background color settings for `document.body` and `document.documentElement` were removed as they are not needed. This simplifies the global styling without affecting functionality.
2026-02-03 13:11:55 +01:00
9fd8934439 Remove unused bgInkVignette styling and references.
This cleanup removes the bgInkVignette element and its associated styles from the codebase. These changes simplify the component structure and improve maintainability by eliminating unnecessary code.
2026-02-03 13:10:10 +01:00
f65a2b30ee Update comments for background styling configuration
Replaced a single-line comment with a block comment in the background styling configuration. No functional changes were made; this is purely for better readability and maintainability.
2026-02-03 13:07:43 +01:00
def1fb9545 Update background image for the map in App.jsx
Replaced the old background image with a new blurred version to improve visual aesthetics. The updated image is located in the '/public/bg/' directory.
2026-02-03 13:04:36 +01:00
1645de206f Comment out unused CSS styles
Unused CSS styles related to hover, tap highlight, and button states in the App component have been commented out to clean up the file. This change helps to improve code readability and reduce clutter while retaining the styles for potential future use.
2026-02-03 13:03:33 +01:00
821d21a4f9 Optimize and refine background styles for better performance
Removed unnecessary styles and adjusted z-indexing for dynamic viewport handling. Enhanced background blur effect and gradient styling to improve stability and appearance while minimizing potential rendering issues.
2026-02-03 12:59:21 +01:00
c817e8bcb7 Refine hover and active states, enhance row visuals.
Updated styles to remove hover, active, and focus effects across rows and buttons for a cleaner UI. Adjusted status-based row colors and added left borders for improved visual clarity on status changes. Optimized mobile tap highlights for a smoother touch experience.
2026-02-03 12:35:35 +01:00
815ea8f030 Update marauders-map-blur.jpg background image
Replaced the existing version of marauders-map-blur.jpg with a new one. This change ensures the background image is updated, potentially improving visual quality or resolving an issue with the previous version.
2026-02-03 12:29:05 +01:00
ef47b5af63 Refactor styles and optimize background rendering
Updated styles for better readability and consistency, including reformatting and minor adjustments. Replaced the blurred map background image with a pre-blurred version for performance and visual enhancements. Removed redundant comments and adjusted layout z-indices for improved layering.
2026-02-03 12:24:21 +01:00
ba86f4c375 Remove image and overlay backgrounds from App layout.
The background setup, including an image and readability overlay, has been removed from the body element. A simpler color background is now applied to the HTML and body elements, and the root retains transparency. This change simplifies the layout and improves maintainability.
2026-02-03 12:15:54 +01:00
aaf9251101 Remove unused CSS styles for page and loginPage.
Deleted redundant CSS objects `page` and `loginPage` from the styles object as they were no longer in use. This helps in reducing code clutter and improving maintainability.
2026-02-03 12:13:56 +01:00
15d59360c2 Add background styling and map illustration
This commit introduces a new design for the application background by adding a fixed map illustration and ink vignette effects. It updates the login and main page to include these background elements and applies corresponding CSS styles for a polished and immersive appearance.
2026-02-03 12:11:53 +01:00
31d98197f6 Redesign background and UI elements for improved clarity
Replaced the old radial gradient background with a blurred "Marauders Map" image and readability overlay. Removed "PaperCard" components and their torn paper effect in favor of a cleaner, modern card style. Updated styles for better readability, simplifying hover effects and improving status badge design.
2026-02-03 12:05:26 +01:00
663b85d05d Refactor UI styles for consistency and modern appearance.
This commit unifies and enhances the design of various components, applying cleaner styles, better transitions, and reducing redundant CSS. Key changes include modernizing hover effects, improving color palettes, refining shadows, and consolidating layout components for better maintainability. This results in a more polished and cohesive user interface.
2026-02-03 11:50:10 +01:00
85b41d6b9f Refactor and optimize styles for PaperCard and UI elements.
The PaperCard component now uses a reusable SVG-based "torn paper edge" for improved performance and maintainability. Several redundant styles, unnecessary comments, and animations were removed, resulting in cleaner and more consistent code. Background gradients were streamlined, and redundant wrapper styles were eliminated.
2026-02-03 11:18:47 +01:00
922f2968d7 Refactor components to use reusable PaperCard.
Introduced a new `PaperCard` component for consistent and reusable card styling across the app, replacing inline card styles. Added subtle animations and paper edge effects to enhance the visual design and provide a polished user experience. Updated existing components to integrate with the new `PaperCard` while maintaining backward compatibility.
2026-02-03 10:54:43 +01:00
b442a95c8d Improve mobile performance and scrolling behavior
Replaced fine-grained noise patterns with coarser ones to reduce repaints and enhance performance. Disabled `background-attachment: fixed` to avoid scroll lag on mobile devices and ensured smoother scrolling. Also adjusted minor styles for better compatibility and user experience on iOS.
2026-02-03 10:36:45 +01:00
fdaf126e57 Refactor and enhance styles across the application
This commit tidies up the styles by improving readability, reformatting inline styles, and introducing consistent spacing. It also includes accessibility improvements such as setting input attributes and fixing iOS-specific issues like input zoom and overflow handling. Small UI adjustments and background behavior fixes enhance the overall user experience.
2026-02-03 10:25:47 +01:00
75c344f3af Add password visibility toggle and candle glow effect
Introduced a toggle button to reveal or hide the password field for better user experience. Additionally, added a candle glow animation and background layer styling for a more immersive visual appearance. Minor refactoring of related styles was also performed.
2026-02-03 10:04:09 +01:00
0ae178a3db Revamp login UI for a polished user experience
The login page has been redesigned to enhance visual appeal and usability. It now features a clean, centered layout, improved styles, and clearer messaging for users. Added a subtle background and animations to create a polished and engaging look.
2026-02-03 09:58:25 +01:00
5b6c7c8e61 Enhance and standardize background and layout styling
Refactored background styling logic to ensure consistent rendering on both `html` and `body` elements. Introduced radial gradients and fixed overscroll behavior. Updated `minHeight` property to use `100dvh` for improved viewport handling.
2026-02-03 09:54:55 +01:00
d01919381a Enhance UI with animations, fonts, and improved visuals
Added custom animations (fadeIn, popIn, and rowPulse) for smoother transitions and visual effect. Integrated Google Fonts to improve typography and updated background design to enrich user experience. Styles were refined for better consistency and responsiveness across elements.
2026-02-03 09:48:56 +01:00
a2937cc17b Add a help modal to the application.
A new modal for help has been implemented to guide users in navigating the app. It includes detailed instructions, explanations for status symbols and note-taking, and is accessible via a new "Help" button in the UI. Styling updates and utility functions for the modal have also been added.
2026-02-03 09:34:08 +01:00
5a1a984245 Refactor status rendering for clarity and style consistency
Centralized status symbol and color with helper functions for easier updates and maintenance. Simplified UI by consolidating status columns into a single styled column with dynamic content.
2026-02-03 09:25:24 +01:00
46c12557a6 Simplify item status cycling logic
Replaced long-press and multiple buttons with a single click-based cycle for item status changes (unknown → green → red → gray → unknown). Removed redundant code and associated styles for a cleaner and more intuitive user experience.
2026-02-03 09:19:27 +01:00
e8be5a5893 Add "maybe" status option and long-press functionality
This update introduces a new "maybe" status for entries, represented by a distinct UI button and background. Additionally, long-press functionality has been implemented, allowing users to toggle the "confirmed" status through prolonged interaction. UI components and styles have been updated to reflect these changes, improving usability.
2026-02-03 09:11:04 +01:00
718ef2adc6 Enhance entry styling based on status
Updated the UI to change background, text color, and opacity for entries based on their status. This improves visual clarity and user feedback when toggling an entry's crossed-out state.
2026-02-03 08:57:02 +01:00
87057e6e1c Add modal for user creation in Admin Panel
A modal was implemented to simplify user creation in the Admin Panel. It features a cleaner UI with input fields for email, password, and roles, along with reset and close functionalities. Existing form reset logic was refactored for reuse, and styles were added for the modal.
2026-02-03 08:52:17 +01:00
8838ca1755 Add Admin Panel and improve UI styling
Implemented an Admin Panel for managing users, including creation and display features. Enhanced the overall UI with a more consistent and polished design, applying a parchment/board game aesthetic and additional layout refinements.
2026-02-03 08:46:58 +01:00