Skip to content

Wipe out frontend#59

Merged
StoynovAngel merged 1 commit into
mainfrom
feat/delete-everything
Apr 30, 2026
Merged

Wipe out frontend#59
StoynovAngel merged 1 commit into
mainfrom
feat/delete-everything

Conversation

@StoynovAngel
Copy link
Copy Markdown
Owner

@StoynovAngel StoynovAngel commented Apr 30, 2026

Summary by CodeRabbit

  • Chores
    • Removed entire frontend application including authentication screens, company browsing interface, search functionality, dark mode support, multi-language localization, and state management systems.

@sonarqubecloud
Copy link
Copy Markdown

@StoynovAngel StoynovAngel merged commit 22f8744 into main Apr 30, 2026
6 of 7 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 30, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f57a001a-3ef6-4588-9ca7-3ab088003a76

📥 Commits

Reviewing files that changed from the base of the PR and between 698603e and 13476c4.

⛔ Files ignored due to path filters (5)
  • frontend/assets/adaptive-icon.png is excluded by !**/*.png
  • frontend/assets/favicon.png is excluded by !**/*.png
  • frontend/assets/icon.png is excluded by !**/*.png
  • frontend/assets/splash-icon.png is excluded by !**/*.png
  • frontend/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (59)
  • frontend/.env.example
  • frontend/.gitignore
  • frontend/.idea/.gitignore
  • frontend/App.tsx
  • frontend/app.config.ts
  • frontend/app.json
  • frontend/index.ts
  • frontend/metro.config.js
  • frontend/package.json
  • frontend/src/api/auth.ts
  • frontend/src/api/client.ts
  • frontend/src/api/companies.ts
  • frontend/src/components/AccessibilityMenu/AccessibilityMenu.styles.ts
  • frontend/src/components/AccessibilityMenu/AccessibilityMenu.tsx
  • frontend/src/components/BackButton/BackButton.styles.ts
  • frontend/src/components/BackButton/BackButton.tsx
  • frontend/src/components/BackgroundShapes/BackgroundShapes.styles.ts
  • frontend/src/components/BackgroundShapes/BackgroundShapes.tsx
  • frontend/src/components/CompanyCard/CompanyCard.styles.ts
  • frontend/src/components/CompanyCard/CompanyCard.tsx
  • frontend/src/components/GlassCard/GlassCard.styles.ts
  • frontend/src/components/GlassCard/GlassCard.tsx
  • frontend/src/components/LogoutButton/LogoutButton.styles.ts
  • frontend/src/components/LogoutButton/LogoutButton.tsx
  • frontend/src/components/ScreenContainer/ScreenContainer.styles.ts
  • frontend/src/components/ScreenContainer/ScreenContainer.tsx
  • frontend/src/components/SearchInput/SearchInput.styles.ts
  • frontend/src/components/SearchInput/SearchInput.tsx
  • frontend/src/constants/config.ts
  • frontend/src/constants/locales/bg.json
  • frontend/src/constants/locales/en.json
  • frontend/src/constants/theme.ts
  • frontend/src/hooks/useAuth.ts
  • frontend/src/hooks/useAuthState.ts
  • frontend/src/hooks/useCompanies.ts
  • frontend/src/hooks/useTranslation.ts
  • frontend/src/navigation/AuthStack.tsx
  • frontend/src/navigation/HomeStack.tsx
  • frontend/src/navigation/MainTabs.tsx
  • frontend/src/navigation/RootNavigator.styles.ts
  • frontend/src/navigation/RootNavigator.tsx
  • frontend/src/navigation/navigation.styles.ts
  • frontend/src/screens/BrowseCompanies/BrowseCompaniesScreen.styles.ts
  • frontend/src/screens/BrowseCompanies/BrowseCompaniesScreen.tsx
  • frontend/src/screens/Login/LoginScreen.styles.ts
  • frontend/src/screens/Login/LoginScreen.tsx
  • frontend/src/screens/Register/RegisterScreen.styles.ts
  • frontend/src/screens/Register/RegisterScreen.tsx
  • frontend/src/screens/SelectService/SelectServiceScreen.styles.ts
  • frontend/src/screens/SelectService/SelectServiceScreen.tsx
  • frontend/src/screens/ServiceOptions/ServiceOptionsScreen.styles.ts
  • frontend/src/screens/ServiceOptions/ServiceOptionsScreen.tsx
  • frontend/src/stores/authStore.ts
  • frontend/src/stores/localeStore.ts
  • frontend/src/stores/themeStore.ts
  • frontend/src/stores/token.ts
  • frontend/src/types/api.ts
  • frontend/src/types/navigation.ts
  • frontend/tsconfig.json

📝 Walkthrough

Walkthrough

The entire frontend directory structure is deleted, removing all React Native/Expo app source code including configuration files, components, screens, navigation, state management stores, API client, hooks, type definitions, and locale resources. The repository no longer contains the functional frontend application.

Changes

Cohort / File(s) Summary
Project Configuration
frontend/.env.example, frontend/.gitignore, frontend/.idea/.gitignore, frontend/app.config.ts, frontend/app.json, frontend/metro.config.js, frontend/package.json, frontend/tsconfig.json
Configuration, environment setup, and build/tooling definitions for Expo app are removed.
Root Entry Points
frontend/App.tsx, frontend/index.ts
App root component and Expo bootstrap registration are deleted.
API Layer
frontend/src/api/auth.ts, frontend/src/api/client.ts, frontend/src/api/companies.ts
HTTP client, authentication endpoints, and company data API wrapper are removed along with error handling and request/response interceptors.
UI Components
frontend/src/components/AccessibilityMenu/*, frontend/src/components/BackButton/*, frontend/src/components/BackgroundShapes/*, frontend/src/components/CompanyCard/*, frontend/src/components/GlassCard/*, frontend/src/components/LogoutButton/*, frontend/src/components/ScreenContainer/*, frontend/src/components/SearchInput/*
All reusable UI components and their associated style factories are removed.
Screen Implementations
frontend/src/screens/BrowseCompanies/*, frontend/src/screens/Login/*, frontend/src/screens/Register/*, frontend/src/screens/SelectService/*, frontend/src/screens/ServiceOptions/*
All screen components for authentication, service selection, and company browsing are removed.
Navigation Layer
frontend/src/navigation/AuthStack.tsx, frontend/src/navigation/HomeStack.tsx, frontend/src/navigation/MainTabs.tsx, frontend/src/navigation/RootNavigator.tsx, frontend/src/navigation/RootNavigator.styles.ts, frontend/src/navigation/navigation.styles.ts
Navigation stacks, routing logic, and navigation-related styles are removed.
State Management
frontend/src/stores/authStore.ts, frontend/src/stores/localeStore.ts, frontend/src/stores/themeStore.ts, frontend/src/stores/token.ts
Zustand stores for authentication, locale, theme, and secure token persistence are deleted.
Hooks
frontend/src/hooks/useAuth.ts, frontend/src/hooks/useAuthState.ts, frontend/src/hooks/useCompanies.ts, frontend/src/hooks/useTranslation.ts
Custom React hooks for authentication mutations, auth state hydration, data fetching, and localization are removed.
Constants & Types
frontend/src/constants/config.ts, frontend/src/constants/theme.ts, frontend/src/constants/locales/en.json, frontend/src/constants/locales/bg.json, frontend/src/types/api.ts, frontend/src/types/navigation.ts
API configuration, theme design tokens, translation resources (English and Bulgarian), and TypeScript type definitions are removed.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

  • AutoNow#33: Removes the frontend files and exports that this PR originally added (App component, configuration, components, hooks, stores, screens, types), reversing the initial frontend implementation.
  • AutoNow#38: Deletes the companies API and useCompanies hook that this PR added to frontend/src/api/companies.ts and frontend/src/hooks/useCompanies.ts.

Poem

🐰 Hoppy trails and digital tears,
A frontend fades through all these years,
Screens and stores and styles depart,
With every file, a fresh new start!
The deletion dance is finally done,
Ready now for what's to come!

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/delete-everything

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant