Development/services#19
Open
vugarsafarzada wants to merge 56 commits into
Open
Conversation
- Add Service types and services-api.ts with full CRUD + lifecycle - Replace ServicesStrategyPage with functional ServicesUsoPage - Service create/edit form with context selector (individual/branch) - Lifecycle actions: submit, pause, resume, archive, delete - Rejection reason display with resubmit capability Closes #9
…BrandForm pattern Replace AlertDialog modal with a full-page ServiceFormPage that follows the established BrandForm layout: sticky header with back button and mode badge, two-column desktop shell (sidebar for photos + desktop aside actions, main stack for form sections with step badges), mobile footer for actions. Upgrade atoms: Combobox replaces native <select> for brand/branch selection, Switch replaces radio buttons for the branch context toggle, ImageCropModal (16:9) handles photo uploads instead of raw file input.
… popup renders above it
…ncements - Add services section to BrandDetail with lazy-loaded branch services - Service detail modal in BrandDetail with full info and photo gallery - Add Featured Services section to BrandsUcrPage discovery page - Service detail modal in BrandsUcrPage with price/duration/address - Pass featuredServices from brands/page.tsx server component Closes #10
Development/9
Development/10
… configurable shell content variant
… replace native time inputs in branch forms
…ents, and implement birthday validation logic
… formatting and labels
… base root font size to 16px
…profile panel background colors
…bar to support mobile responsive state
…ove color palette consistency
…sidebar and improve user-avatar loading performance
…into service management pages
…nd gallery component
…d enable resubmission for paused services
… logo display to service card
feat(moderation): build admin moderation workspace UI
… navigation and action components.
…ons, services, and team management modules
…bar event-driven data syncing
… banner UI components
…to normalize queue items and return void on actions
…update review workflow navigation
…orkspaces and add social links editor component
…ion and apply styling overrides
…rid layout and alignment
…urfaceHeader molecule
…feedback banners to use it
…play in ServicesUsoPage
Removed per-component locale copy objects (type XxxCopy, EN/TR/AZ/RU constants, getCopy functions) from 10 components and replaced with the centralised useLocale() messages system. Files migrated: - rich-text-editor: toolbar tooltips - theme-switcher: ThemeCopy (all 18 locales) - brand-detail: BranchStudioCopy + ServicesCopy - branch-modal: StudioCopy - branch-page: StudioCopy - brand-team-workspace: WorkspaceCopy - brands-ucr-page: ServiceDiscoveryCopy - notification-transfer-page: TeamInvitationCopy + NotificationCenterCopy - services-strategy-page: StrategyCopy - services-uso-page: PageCopy Added theme and services namespaces to Messages type. Added ~250 new keys across brands, theme and services namespaces. Updated all 18 locale files. Zero TypeScript errors.
Deleted 14 locale files (de, ar, es, fr, zh, ja, hi, la, fa, it, uk, pt, he, uz). Updated i18n/config.ts to reflect the four supported locales. Removed getLocaleDirection RTL logic as no RTL locales remain.
…d labels fieldDuration/fieldPrice/fieldAddress were used as detail panel labels causing verbose Russian translations like 'Длительность (минуты)'. Added labelDuration/labelPrice/labelAddress keys with short translations to all 4 locale files and wired them into the detail view.
…name FormFooter to FormActions
…hism styles and backdrop filters
…nternationalization support
…tegrate rating metadata in marketplace and service pages
… services on user profile page
…anagement, and localized UI components.
…tering, and updated navigation logic
… page with API integration
…g service data models with branch context, and improving marketplace UI counts and search request handling.
…ich text formatting
…secure rich text parsing
…ice management to support brand-based assignments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR turns the frontend service/discovery branch into a full product surface for service authoring, marketplace browsing, service detail, favorites, moderation, richer brand/profile data, and the supporting shared UI/API infrastructure.
Linked Issues
Closes #9
Closes #10
References #13, which is already closed and implemented here.
Partially addresses #7 and #12.
What Changed
USO service workspace
Marketplace, discovery, and UCR views
Favorites
Admin moderation workspace
Brand, branch, and social profile updates
nametokeyto match backend category i18n contracts.Rich text and shared UI infrastructure
Navigation, layout, and visual polish
Internationalization
az,en,ru, andtr.API and type contracts
Dependencies Added
date-fnsandreact-day-pickerfor date/calendar UI.Review Notes
#7is only partially addressed: this PR improves brand/branch metadata, social links, forms, and moderation visibility, but it does not fully complete slot-based brand creation/payment rules.#12is only partially addressed: this PR touches notification/reservation placeholders and service ratings, but full reservation management and post-completion review workflows remain separate.Suggested Verification
pnpm lint.pnpm build.