Open Issues Need Help
View All on GitHubAI Summary: This issue requires the creation of two React Query hooks for handling payment-related operations in the frontend. One hook will manage the initiation of payments, returning a Paystack URL and reference, while the other will fetch a member's payment history with pagination and filtering capabilities. Both hooks need to be implemented in the specified directory and integrate with existing API client and query key management.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating a new React component, `MemberStatsCards.tsx`, for the member dashboard. This component will fetch member activity statistics using a specific hook and display them in four distinct stat cards: active bookings, total spent, invoice count, and last check-in. It also requires implementing a loading skeleton and ensuring consistent styling with existing dashboard components.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves integrating a new `MemberStatsCards` component and displaying recent bookings and payments for regular members on their dashboard. Admins should continue to see their existing analytics, while members will see personalized stats and activity lists. The data will be fetched using the `useGetMemberDashboard` hook.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a `TwoFactorModal` component in the frontend. The modal will handle both enabling and disabling two-factor authentication (2FA) for users. The enable flow is a three-step wizard involving QR code scanning, TOTP verification, and backup code display, while the disable flow is a single step requiring the user's password.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding four new GET endpoints to the `DashboardController` in the backend. These endpoints will expose member-specific dashboard data, including general stats, recent bookings, recent payments, and invoices. Crucially, all data returned must be strictly scoped to the authenticated user making the request, and the endpoints should be accessible to any authenticated user.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new admin analytics page at `frontend/app/admin/analytics/page.tsx`. The page will display various business intelligence metrics, including revenue, bookings, and occupancy stat cards, a 6-month revenue trend bar chart, and leaderboards for top workspaces and members. A date range filter will allow admins to customize the displayed data.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating two new React Query hooks for the frontend. One hook will fetch admin analytics data, supporting optional date range filtering, and the other will fetch data for the member dashboard. Both hooks need to be properly integrated with the project's existing API client and query key management system, including defining TypeScript interfaces for the returned data.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new backend provider to fetch data for a member's personal dashboard. It involves calculating specific statistics like active bookings and total spending, and retrieving the most recent bookings and payments. The data should be fetched efficiently using a parallel query for a single API call.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves extending the `DashboardModule` in the backend to support analytics queries. It requires making several entity repositories available for injection and creating a new `AnalyticsQueryDto` for optional date range filtering. Additionally, two provider stubs need to be registered within the module.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves implementing the final piece of the admin analytics backend: a live occupancy snapshot. It requires creating a new method to calculate occupied, available, and total seats, along with occupancy percentage, and then integrating this into a comprehensive `getFullAdminDashboard` method. Finally, an API endpoint will be exposed to serve this data to administrators.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves adding new admin analytics features to the backend, specifically focusing on booking activity and leaderboards. It requires implementing methods to retrieve booking statistics by status and trend, as well as ranking top workspaces and members based on booking counts, revenue, and payment amounts. The implementation will be done within the existing `AdminAnalyticsProvider` class and will include date range filtering.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating a new `AdminAnalyticsProvider` class in the backend to calculate and return financial statistics. It requires implementing two methods: `getRevenueStats` to aggregate revenue data from successful payments (total, monthly, and a 6-month trend) and `getInvoiceStats` to provide counts and total amounts for all invoices. Both methods should support optional date range filtering.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new backend endpoint and provider to fetch a paginated, searchable, and filterable list of platform members for administrators. The endpoint needs to handle various query parameters for searching by name/email and filtering by role/status, while ensuring sensitive user data is excluded from the response.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the development of a new frontend page at `frontend/app/(auth)/verify-2fa/page.tsx` to handle two-factor authentication (2FA) verification. Users will enter either a TOTP code or a backup code to complete their login after submitting their initial credentials. The page needs to handle missing parameters, provide two distinct input modes, integrate with authentication hooks, manage loading and error states, and be accessible as a public route.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new backend provider and controller endpoint to fetch aggregated membership statistics. The provider should efficiently calculate total, active, suspended, and new members for the current month using a single database query. The endpoint will then expose these stats to an admin page, ensuring proper routing and role-based access control.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves adding two new methods to the existing `JwtHelper` class in the backend. These methods will generate a temporary JWT for a 2FA pending state and verify such tokens, ensuring they are short-lived and specifically marked for the 2FA flow. This is crucial for securing the 2FA login process.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new backend provider to manage Time-based One-Time Password (TOTP) settings for users. It involves implementing functionality to check a user's 2FA status (enabled and remaining backup codes) and to disable 2FA, which necessitates password verification for security. The new provider will be integrated into the existing authentication module.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the implementation of multiple React Query hooks in the frontend to manage the full lifecycle of Two-Factor Authentication (2FA). These hooks will interact with backend API endpoints for checking status, setup, confirmation, disabling, and verification during login, ensuring proper data fetching and state management.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating a new backend provider to handle the second factor of two-factor authentication (2FA). It needs to verify either a Time-based One-Time Password (TOTP) code from an authenticator app or a single-use backup code. Upon successful verification, it should issue the full set of access and refresh tokens, similar to a standard login.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves implementing a two-factor authentication (2FA) setup process for users. It requires creating a `SetupTotpProvider` class to handle generating TOTP secrets and QR codes for initial setup, and then verifying user-submitted TOTP codes to enable 2FA and generate secure, one-time backup codes. The process includes error handling for non-existent users, already enabled 2FA, and invalid verification codes.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of an admin page to manage members. It involves displaying headline statistics, a searchable and filterable table of members, and action buttons for managing member status and roles. Irreversible actions must include confirmation prompts.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating two new React Query hooks for the admin members management section. One hook will fetch a paginated and filterable list of members, while the other will handle status updates for individual members. Both hooks need to integrate with existing API clients and query key management, and the status update hook should invalidate relevant queries upon successful mutation.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new provider and the modification of an existing endpoint to handle four distinct member status updates (suspend, activate, promote, demote) via a single PATCH request. The implementation must include robust error handling for non-existent users, attempts to modify admin accounts, self-modification, and no-op actions, while ensuring sensitive user data is excluded from the response.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new 'Notifications' page in the frontend application. This page will display a paginated list of a member's full notification history, allowing them to mark individual or all notifications as read. It will be accessible from the bell dropdown and integrate with existing hooks for fetching and marking notifications.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires installing two npm packages, 'otplib' and 'qrcode', in the backend project to support 2FA functionality. Additionally, two new columns, 'totpSecret' and 'totpBackupCodes', need to be added to the User entity in TypeScript to store the TOTP secret and hashed backup codes, respectively. Both new columns should be nullable and excluded from API responses for security.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves setting up foundational elements for member management in the backend. It requires creating a `MembershipStatus` enum, adding a corresponding column to the `User` entity, and defining DTOs for querying and updating member status. Additionally, a new `MembersController` needs to be scaffolded and registered within the `UsersModule`.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves modifying the backend login flow to handle two-factor authentication (2FA). When a user has 2FA enabled, the login process will now return a temporary token and require further verification, while users without 2FA will experience the existing login flow unchanged. It also introduces new endpoints and DTOs for managing 2FA operations.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating three new React Query hooks for managing notification data in the frontend. These hooks will handle fetching a list of notifications, marking a single notification as read, and marking all notifications as read. The implementation requires integrating with an existing API client and query key management system, ensuring proper invalidation for UI updates.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue proposes adding a new backend endpoint, `PATCH /notifications/read-all`, to allow users to mark all their unread notifications as read in a single action. This involves a bulk update operation scoped to the requesting user and requires careful routing to avoid conflicts with other notification endpoints.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires defining TypeScript type definitions for the notifications feature in the frontend. It involves creating specific union types and interfaces for notification data and responses, ensuring code clarity and type safety before further development of notification-related components and hooks.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a `NotificationBell` component in the frontend. It should display a bell icon with an unread notification count badge, and when clicked, show a dropdown with recent notifications. The component needs to handle marking notifications as read individually or all at once, and navigate to a full notifications page.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires implementing a backend endpoint to mark a single notification as read. The endpoint should accept a notification ID, verify ownership by the requesting user, update the notification's read status, and return a success message. This is a straightforward CRUD operation with basic authorization checks.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating a new backend provider in the notifications module to allow other modules (bookings, payments) to create in-app notifications for users. The provider will expose a `notify` method that persists notification records and must be exported and imported into consuming modules. Calls to this provider should be fire-and-forget to avoid breaking calling flows.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves setting up the foundational structure for a new Notifications module in the backend. It requires creating a `Notification` entity with specific fields and relationships, a `NotificationType` enum, and basic stubs for the module, service, and controller. The new module will also need to be integrated into the main application module.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new backend endpoint, `GET /notifications`, to allow users to retrieve their notifications. The endpoint needs to support pagination and return both the paginated list of notifications and a separate count of unread notifications. The implementation should be scoped to the current user and organized within a dedicated provider class.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the development of a new frontend page for members to view their invoices. The page will display a list of invoices with key details, offer filtering by status, and provide functionality to view invoice details and download them as PDFs. It needs to integrate with an existing hook for fetching data and handle loading and empty states.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating a dynamic invoice detail page in Next.js App Router. The page will display comprehensive invoice information, including member and workspace details, total amount, and payment status. It will also provide functionality to download the invoice as a PDF and navigate back to the invoice list.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating two React Query hooks in the frontend application to manage invoice data. One hook will fetch a paginated list of invoices with filtering capabilities, while the other will retrieve a single invoice by its ID. Both hooks will utilize the existing `apiClient` and query key management system, ensuring proper data fetching and caching for the member invoices and invoice detail pages.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires defining TypeScript type definitions for invoice-related data within the frontend codebase. The goal is to create an `InvoiceStatus` type and an `Invoice` interface with specific properties, ensuring these types accurately represent API responses and are shared across various invoice-related components. The implementation should only involve type declarations and pass TypeScript compilation checks.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a `PdfInvoiceProvider` in the backend to generate downloadable PDF invoices. The provider will accept an invoice object and use the `pdfkit` library to create a formatted PDF document containing specific invoice details. The generated PDF will be returned as a Buffer for use in email attachments and download endpoints.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new frontend page at `frontend/app/payments/page.tsx` for members to view their payment history. The page should display details like booking, amount, status, and date, with filtering options and a "Pay Now" button for outstanding payments. It also needs to be integrated into the dashboard layout, protected routes, and sidebar navigation.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating a new React component for handling Paystack inline payments within the ManageHub frontend. The component will wrap the Paystack JS SDK, fetch payment details from the backend, and display an inline payment popup to users, managing success and cancellation callbacks.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires implementing an asynchronous email notification for successful payments. After a payment is confirmed via a webhook, a payment receipt email should be sent to the member. This email needs to include specific details about the booking and payment, and its sending should not block the webhook response.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires modifying the backend to send an email notification to members when an invoice is ready. The email should include a PDF attachment of the invoice. This involves updating the `EmailService` to handle attachments, creating a new Handlebars template for the notification, and integrating the email sending logic into the invoice generation process.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves implementing backend API endpoints for retrieving and downloading invoices. It includes a paginated list endpoint for all invoices (with role-based filtering) and a specific endpoint to download an invoice as a PDF, ensuring proper authorization and response formatting.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new backend provider responsible for automatically generating unique, sequential invoice numbers upon successful payment confirmation. The provider will be triggered by a Paystack webhook and must handle potential duplicate invoice generation by checking for existing records.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new `Invoices` module in the backend. It involves defining an `Invoice` entity with specific fields for financial records, including monetary values stored in kobo and derived Naira. The module will also include an enum for invoice status and basic service and controller stubs.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires defining TypeScript type definitions for the payments feature in the frontend. It involves creating interfaces for payment records, status, and the response from initiating a payment, ensuring these types are exported from a specific file and pass TypeScript compilation checks.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires implementing an email notification for failed payment attempts. A new Handlebars template will be created to include payment details like amount and transaction reference. An `EmailService` method will be added to send this email after a payment failure is detected in the webhook handler.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the implementation of two new backend API endpoints for managing payments. The `GET /payments` endpoint will provide a paginated list of payments, filtering by user role to show either all payments (for admins) or only the current user's payments (for regular users). The `GET /payments/:id` endpoint will retrieve a single payment by its UUID, with access control to ensure users can only view their own payments.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of an admin page to manage all bookings. It involves displaying bookings in a table with filtering by status, and enabling actions like confirming, cancelling, or completing bookings. Destructive actions must include a confirmation step, and the UI needs to handle loading states, pagination, and empty states.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new backend endpoint `/payments/initiate` that will handle the initiation of payment transactions for bookings. The endpoint will validate the booking, interact with the Paystack API to generate a payment URL, and record a pending payment in the database. It also specifies error handling for various scenarios and the structure of the response to the frontend.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires implementing a backend webhook handler for Paystack payments. The handler must securely verify incoming requests from Paystack using request signatures and then update payment and booking statuses based on the event type (e.g., 'charge.success', 'charge.failed'). Unrecognized events should be handled gracefully to avoid retries.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires setting up the foundational structure for a new Payments module in the backend. It involves defining a `Payment` entity with specific fields and relationships, creating an enum for payment statuses, and scaffolding the module, service, and controller files. The goal is to establish an audit trail for all financial transactions on the platform.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating a modal component for booking a workspace. Users will select a plan, dates, and seat count, with a live total price displayed. Upon submission, a booking will be created with a 'PENDING' status, and a success message will be shown.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the development of a "My Bookings" page for members within their dashboard. The page should display a list of all bookings with their status, allow filtering by status, and enable cancellation of pending or confirmed bookings. It also needs to handle loading states, empty states, and pagination.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating custom React Query hooks for the admin bookings management page. It requires implementing hooks to fetch all bookings with pagination and filtering, and a mutation hook to update the status of individual bookings. Upon successful updates, the admin bookings query should be invalidated to reflect the changes.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of two React Query hooks for the frontend: one to fetch a member's bookings with pagination and filtering, and another to create new bookings. These hooks will utilize the existing `apiClient` and query key management system, ensuring that the member's bookings list is automatically refreshed after a new booking is made.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of TypeScript type definitions for booking-related data within the frontend application. The goal is to define interfaces for booking status, plan types, and the overall booking structure, ensuring a clear contract for API responses and UI components. This will lay the groundwork for developing booking-related features.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires implementing an email notification for members when their booking is cancelled. The email should be sent by the backend and include details about the booking and who initiated the cancellation. A new Handlebars template and a method in the EmailService will be needed to fulfill this.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires implementing an email notification for users upon successful booking creation. It involves creating a Handlebars template for the email content, adding a method to the `EmailService` to send this email, and integrating this service into the booking creation process. The email should be sent asynchronously to avoid blocking the HTTP response.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the implementation of backend endpoints for managing booking statuses. Admins will be able to confirm, cancel, and complete bookings, while members can cancel their own pending bookings. Each status transition must include validation to ensure the booking is in an appropriate state for the requested change.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the implementation of two backend API endpoints for retrieving bookings. The `GET /bookings` endpoint should support pagination and filtering by status, with different data access scopes for 'ADMIN' and 'USER' roles. The `GET /bookings/:id` endpoint should retrieve a single booking, enforcing ownership for 'USER' roles and handling not found scenarios.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new backend endpoint (`POST /bookings`) to handle workspace reservations. The endpoint will accept booking details, calculate the total cost based on plan type, duration, and seat count, and save the booking with a 'PENDING' status. It also includes validation for workspace existence and pricing, and requires the creation of a DTO for request data.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue focuses on setting up the foundational structure for a new 'Bookings' module in the backend. It involves defining the `Booking` entity with specific fields and relationships using TypeORM, creating necessary enums for status and plan types, and scaffolding the basic `BookingsModule`, `BookingsService`, and `BookingsController` within the NestJS application.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a member-facing check-in/check-out page for workspaces. The page will dynamically display either available workspaces for check-in or the user's active session details for check-out. It needs to integrate with existing API endpoints for fetching bookings and tracking workspace sessions, and handle user interactions with loading states and feedback.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the implementation of three React Query hooks for managing workspace check-in and check-out functionality. These hooks will interact with specific API endpoints to fetch the user's active session, perform check-in mutations, and execute check-out mutations. The implementation also includes setting up query keys and ensuring type safety.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the development of a reusable modal component for the admin interface to create and edit workspaces. The modal should handle both creation and editing flows, validate input fields, manage price conversions from Naira to kobo, and integrate with backend mutations for creating and updating workspaces. It also needs to display loading states and automatically refresh the workspace list upon successful submission.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of an admin page to manage all workspaces, including inactive ones. Admins will be able to view workspaces in a table, filter and paginate them, toggle their active status, and access a modal for creating or editing workspaces. The page must be protected and only accessible to admin users.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a member-facing page to list all available workspaces. The page should display workspace details in card format, support real-time search filtering, and include loading and empty states. It needs to be integrated within the authenticated dashboard layout using Next.js App Router and React Query.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of four TanStack React Query hooks for the frontend admin workspace management. These hooks will handle fetching, creating, updating, and toggling the active status of workspaces, integrating with existing API clients and query key management. Successful implementation will ensure automatic data invalidation for a seamless user experience.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires defining TypeScript interfaces for workspace and workspace log data within the frontend codebase. These interfaces will serve as the contract for API responses and UI components, ensuring type safety and consistency for the workspace and check-in/out features. The goal is to create these definitions without any runtime code or enums, and to ensure they pass TypeScript compilation checks.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves adding two new backend endpoints for workspace tracking. The first is a `PATCH` endpoint to mark a user as checked out of a specific session, including validation checks. The second is a `GET` endpoint to retrieve the user's currently active check-in session.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves creating a new backend endpoint for users to check into a workspace. The endpoint will validate that a user is not already checked in and that the specified workspace exists and is active. Upon successful check-in, a new record will be created in the database, and the user will receive a success response.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves setting up the backend infrastructure for tracking workspace occupancy. It requires creating a `WorkspaceLog` entity to record check-in and check-out times, and scaffolding the `WorkspaceTrackingModule`, `Service`, and `Controller` to manage this data. The module will integrate with existing `User` and `Workspace` entities.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the implementation of admin-only backend endpoints for managing workspaces. Admins will be able to create new workspaces, update existing ones, and toggle their active status. These operations will be secured using role-based access control, ensuring only users with ADMIN, SUPER_ADMIN, or STAFF roles can perform them. The implementation involves creating DTOs for data validation and integrating with existing workspace management logic.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the implementation of two new read-only API endpoints for workspaces. The first endpoint, `GET /workspaces`, will provide a paginated and searchable list of active workspaces. The second endpoint, `GET /workspaces/:id`, will return the details of a specific workspace. Both endpoints will be protected by JWT authentication and should adhere to existing backend patterns.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves setting up the foundational backend structure for managing coworking spaces. It requires creating a `Workspace` entity with specific fields, a NestJS module, and stub service and controller files. The goal is to prepare the backend for future features related to workspace management, ensuring monetary values are stored correctly in kobo.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the creation of a new, self-contained `InvoicesModule` within the backend. This module will handle the generation, storage, and retrieval of auto-numbered invoices, including PDF-ready download payloads and a void workflow. It will expose several API endpoints for managing invoices and should not modify any existing code.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue proposes the creation of a new, independent `PaymentsModule` that will serve as an internal ledger for all payment transactions. It needs to support multiple payment providers, handle webhook ingestion in a provider-agnostic way, and include functionality for initiating refunds. The module will be entirely new, with no modifications to existing code.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires the implementation of a new `FeedbackModule` within the backend, designed to handle structured user feedback. It needs to support anonymous submissions, various feedback types (bug reports, feature requests, general comments, ratings), and administrative functionalities for viewing, filtering, updating status, and aggregating statistics.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue focuses on implementing the core booking functionality for workspaces. It involves creating a `book_workspace` function that handles member authentication, time validation, workspace availability checks, payment processing, and persistent storage of booking details. Additionally, it requires implementing three query functions to retrieve booking information by ID, member, or workspace.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue identifies several design gaps in a workspace booking contract, including the use of signed integers for financial fields, missing booking lifecycle states, an incomplete workspace type enum, a lack of detail for workspace availability, and undocumented string length constraints. Addressing these will improve type safety, error coverage, and extensibility, preventing subtle bugs and ambiguous failures.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding initialization and query functions to a smart contract. The `initialize` function will set the admin and payment token addresses, preventing re-initialization. Two query functions, `admin` and `payment_token`, will be added to retrieve these configured values.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding two new integration tests to a smart contract. The first test verifies that member and workspace booking indexes are correctly updated after multiple bookings. The second test ensures that a workspace's hourly rate update is only applied to subsequent bookings, not existing ones.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding three new integration tests for the `check_availability` function in the workspace booking contract. These tests will verify the core functionality of checking slot availability, the impact of explicitly setting workspace availability to false, and ensuring that multiple workspaces maintain independent availability states.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding three new tests to verify the booking lifecycle in a Soroban contract. The tests will cover cancelling a booking with a full refund, completing a booking by an admin, and ensuring that attempting to cancel an already cancelled booking results in a panic. This builds upon previous work and focuses on the state transitions of bookings.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding two new tests to the workspace booking contract. The first test, `test_book_workspace_success`, will verify a successful booking by checking token transfers, cost calculation, and booking status. The second test, `test_book_workspace_conflict_fails`, will ensure that overlapping booking attempts result in a panic with a specific error code.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding three new tests to verify workspace registration functionality within a smart contract. The tests will cover successful registration with all fields validated, rejection of duplicate workspace IDs, and rejection of registration attempts by non-administrator users. These tests build upon existing initialization tests and are crucial for ensuring the contract's robustness.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves setting up the testing environment for a Soroban contract. It requires creating a new test file with necessary imports and helper functions for contract and token setup, as well as time advancement. The core tasks are to implement two tests: one verifying successful contract initialization and another ensuring that attempting to initialize the contract twice results in a panic.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue focuses on implementing administrative functions for managing workspaces within a system. It involves creating new workspaces, updating their availability and pricing, and retrieving workspace information. The implementation requires admin privileges for modification operations and includes error handling for invalid inputs and missing data.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves implementing a public `check_availability` query function in a smart contract. This function will combine checks for workspace availability and time slot conflicts to determine if a booking is possible. Upon successful implementation, the contract's test module will be enabled, signifying feature completion.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves implementing two state transitions for bookings: cancellation and completion. The `cancel_booking` function allows either the booking member or an admin to cancel a booking, triggering a refund and setting the status to 'Cancelled'. The `complete_booking` function, restricted to admins, marks an active booking as 'Completed'. Both functions require robust error handling for scenarios like non-existent bookings, unauthorized callers, and incorrect booking statuses.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue focuses on setting up the foundational structure for a Soroban smart contract on the Stellar network. It involves defining necessary crate attributes, modules, re-exports, imports, and a `DataKey` enum for storage. The primary task is to implement private helper functions for accessing contract state, such as retrieving the admin address.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue identifies several design flaws in the payment escrow contract's core data types. Key problems include using signed integers for non-negative amounts, lacking enforced string length limits, not distinguishing terminal states in the escrow status, using ambiguous `u64` for timestamps, and missing fields for resolution reasons and audit trails on resolved escrows.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue aims to improve the error handling within a payment escrow smart contract. It identifies missing error variants for edge cases, overlapping error semantics, incomplete documentation, and a lack of forward compatibility for error codes. The goal is to ensure every failure mode has a specific, documented error, leading to better developer experience and easier debugging.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue involves adding three new tests to validate the escrow creation functionality in a smart contract. The tests will cover the successful creation of an escrow with correct fund locking and state, as well as two error cases: attempting to create an escrow with a duplicate ID and attempting to create an escrow with a zero amount. These tests are crucial for ensuring the contract's robustness and correct handling of inputs.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding four new tests to verify the admin's ability to release funds to a beneficiary or refund them to a depositor. The tests should cover the successful execution of these actions, as well as guard cases that prevent unauthorized calls and double settlements.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding two new tests to the `payment_escrow` contract's test suite. The first test will verify that depositor and beneficiary indexes correctly accumulate across multiple escrows. The second test will ensure that updating the dispute window configuration applies to newly created escrows but not existing ones.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.
AI Summary: This issue requires adding six new tests to the Soroban contract's test suite. These tests will cover the dispute mechanism, including raising disputes within and after the allowed window, resolving disputes in favor of the beneficiary or depositor, and preventing resolution on non-disputed escrows. The goal is to ensure the dispute flow behaves as specified.
ManageHub is a comprehensive management system for tech hubs, designed to streamline user and workspace management. It features biometric authentication for staff and users to clock in and out efficiently, enhancing security and operational oversight.