Tags: ticketz-oss/ticketz
Tags
fix tags not showing on ticket list - Updated `TagsLine` to destructure `ticket` prop for clarity - Improved readability by removing direct prop access - Preserved existing functionality for tag merging - Ensured compatibility with optional chaining syntax - No changes to the component's visual behavior - Code adheres to modern JavaScript best practices
Add support for numeric emoji icons in menus and queue options. - Introduced `emojiNumberOption` utility for numeric emoji mapping. - Updated menu and queue options to use numeric emojis if enabled. - Replaced redundant `showQueueMessageWithEmojis` function. - Simplified `showNumericIcons` setting retrieval logic. - Refactored frontend settings to handle `showNumericIcons` updates. - Adjusted UI labels and dropdowns for numeric emoji settings.
UpdateTicketService: fix starting rating at "justclose" action - Deleted `ratingAt` update in ticket tracking logic. - Removed unnecessary `rated` flag reset in ticket tracking. - Simplified ticket tracking logic for closed tickets. - Ensured no side effects from redundant updates. - Improved code readability and maintainability.
Disable autocomplete for password field in UserModal - fix #372 - Added `autoComplete: "off"` to inputProps of TextField - Prevents browser from autofilling sensitive fields - Ensures better user experience and data security - Modified `index.js` in `UserModal` component - Change applies to outlined, dense, fullWidth TextField
makes sure that transferMessage is sent after the queue change - Moved queue transfer logic to a more appropriate section of the code - Ensured logic only applies when `oldQueueId` and `queueId` are valid - Added checks to prevent execution for group tickets - Improved readability by consolidating related conditions - Removed redundant code for cleaner implementation - Preserved existing functionality for chatbot and ticket tracking
Add `dontRunChatbot` in UpdateTicketService to avoid duplicated sending - Updated `UpdateTicketService` call to include `dontRunChatbot` flag - Ensures chatbot does not run in specific ticket update scenarios - Improves handling of non-compliant payment queues - Enhances flexibility in ticket processing logic - Maintains backward compatibility with existing functionality
fix regression: Handle invalid input in `dateToClient` function. - Add a check for falsy `strDate` in `dateToClient` function. - Return an empty string if `strDate` is null or undefined. - Prevent potential runtime errors from invalid input. - Improve robustness of the `useDate` hook. - Ensure compatibility with edge cases in date parsing.
Refactor ticket update logic to replace tokenData with reqUserId. - Replaced `tokenData` with `reqUserId` in `UpdateTicketService`. - Removed `tokenData` property from the `Request` interface. - Added user lookup by `reqUserId` to determine `companyId`. - Updated error handling for missing `reqUserId` or `companyId`. - Adjusted permission checks to use `user` instead of `tokenData`. - Simplified and clarified related logic in the service.
add reference to contacts from Tag model - Import Contact and ContactTag models - Add \@hasmany relation for ContactTag - Add \@BelongsToMany relation for Contact - Remove generic type from Tag model class - Ensure proper formatting and structure adjustments - Fix missing newline at end of file
PreviousNext