Skip to content

Refactor default page structure and fix minor bugs#19

Merged
reenatoteixeira merged 6 commits intostagefrom
refactor/default-page-structure
Mar 31, 2026
Merged

Refactor default page structure and fix minor bugs#19
reenatoteixeira merged 6 commits intostagefrom
refactor/default-page-structure

Conversation

@reenatoteixeira
Copy link
Copy Markdown
Member

This pull request introduces several enhancements and refinements across the clients, orders, and services modules, as well as shared UI components. The main changes include expanding the data models for clients, orders, and services, improving the layout and consistency of page headers and action buttons, and updating table and input field components for a more polished user experience.

Data Model Expansions:

  • Expanded the Client interface to include additional fields such as phone, taxId, birthDate, gender, city, state, address, and zipCode to support richer client data.
  • Expanded the Order interface with new fields like vendorId, status, canceledAt, cancelReason, subtotal, discount, total, discountCode, paymentMethod, paymentStatus, paymentDueDate, invoiceNumber, invoiceUrl, invoiceIssuedAt, and invoiceTaxId.
  • Expanded the Service interface to include shortDescription, imageUrl, price, promotionalPrice, promotionalPriceStart, promotionalPriceEnd, and status.

UI/UX Improvements for Pages:

  • Updated the layout of the Clients, Orders, Services, and Dashboard pages for more consistent spacing and alignment, including improved header and button positioning. [1] [2] [3] [4] [5] [6] [7]
  • Added new columns to the clients table for phone and location (city and state).

Shared Component Enhancements:

  • Updated the Table component for better responsiveness and appearance, and improved the empty state with a new icon and clearer messaging. [1] [2]
  • Refactored the TableHead component to use a custom search input with an icon and improved placeholder behavior, removing dependency on InputField. [1] [2]
  • Modified InputField styles to improve background handling and visual consistency. [1] [2]

@reenatoteixeira reenatoteixeira self-assigned this Mar 31, 2026
@reenatoteixeira reenatoteixeira added the enhancement New feature or request label Mar 31, 2026
@reenatoteixeira reenatoteixeira merged commit 8dff494 into stage Mar 31, 2026
2 checks passed
@reenatoteixeira reenatoteixeira deleted the refactor/default-page-structure branch March 31, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant