Skip to content
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1ea0757
Update design_guidelines.md
Aamirrafiqgfx Jan 6, 2026
c970996
Updated .gitignore
Aamirrafiqgfx Jan 6, 2026
a079630
Updated vite.config.ts
Aamirrafiqgfx Jan 6, 2026
4b46e65
Updated vite.config.ts
Aamirrafiqgfx Jan 7, 2026
50fc037
Added themeicon.switch
Aamirrafiqgfx Jan 7, 2026
225da62
Added themeicon.svg
Aamirrafiqgfx Jan 7, 2026
0b0c239
Added header-minimize.svg
Aamirrafiqgfx Jan 7, 2026
ed0b99f
Added demo-button-play.svg
Aamirrafiqgfx Jan 7, 2026
abece4e
Added search-icon.svg
Aamirrafiqgfx Jan 7, 2026
c7dbaf4
Added side-panel-switch-icon.svg
Aamirrafiqgfx Jan 7, 2026
78bf2f6
Added icon.png
Aamirrafiqgfx Jan 7, 2026
a67d54b
Updated Header.tsx
Aamirrafiqgfx Jan 7, 2026
15a0139
Updated header-minimize.svg
Aamirrafiqgfx Jan 7, 2026
0d136b7
Updated themeicon.svg
Aamirrafiqgfx Jan 7, 2026
fd43a9f
Updated demo-button-play.svg
Aamirrafiqgfx Jan 7, 2026
cd22edc
Updated search-icon.svg
Aamirrafiqgfx Jan 7, 2026
236b1d0
Updated side-panel-switch-icon.svg
Aamirrafiqgfx Jan 7, 2026
ae37c4b
Updated Header.tsx
Aamirrafiqgfx Jan 7, 2026
79b2ca5
Updated Header.tsx
Aamirrafiqgfx Jan 7, 2026
367f99f
Updated Header.tsx
Aamirrafiqgfx Jan 7, 2026
906729e
Updated Header.tsx
Aamirrafiqgfx Jan 7, 2026
71bd2cd
Updated icon.png
Aamirrafiqgfx Jan 7, 2026
68bb4c3
Updated Layout.tsx
Aamirrafiqgfx Jan 7, 2026
465b0b5
Updated Header.tsx
Aamirrafiqgfx Jan 7, 2026
7dc501c
Updated vite.config.ts
Aamirrafiqgfx Jan 7, 2026
14c4a2c
Added home-v2.tsx
Aamirrafiqgfx Jan 7, 2026
859ca28
Updated vite.config.ts
Aamirrafiqgfx Jan 7, 2026
b7e862a
Updated App.tsx
Aamirrafiqgfx Jan 7, 2026
0c088c5
Updated home-v2.tsx
Aamirrafiqgfx Jan 7, 2026
49d759a
Initial commit with updated project code
Aamirrafiqgfx Jan 11, 2026
b3fecc8
Resolve merge conflicts by keeping local updated code
Aamirrafiqgfx Jan 11, 2026
a01203a
Made all client-requested updates
anasafzaal2005 Jan 14, 2026
91cea4c
Deleted All the V1-V2 extra files, extra logo file in the assets, and…
anasafzaal2005 Jan 15, 2026
1376851
Now the app inherits system theme preferances behaves according to th…
anasafzaal2005 Jan 15, 2026
c0d4846
Added icons for every individual tool.
anasafzaal2005 Jan 15, 2026
73ae23d
Refactor code structure for improved readability and maintainability
anasafzaal2005 Jan 15, 2026
ac6aa81
Remove unused SVG paths from svg-paths.ts to streamline the codebase
anasafzaal2005 Jan 15, 2026
e5eb80e
Enhance Header and Layout components for demo state & Speed managemen…
anasafzaal2005 Jan 20, 2026
94a700c
Enhance Header component styling and layout for demo controls; add cl…
anasafzaal2005 Jan 20, 2026
4ef2e4f
Refactor Sidebar and tools data to streamline icon management; remove…
anasafzaal2005 Jan 21, 2026
c5b9042
Add keyboard shortcuts for theme toggle and sidebar collapse; impleme…
anasafzaal2005 Jan 21, 2026
7e0f6a1
Add tooltips to header toggle and menu button for improved accessibility
anasafzaal2005 Jan 21, 2026
31bd842
Refactor imports and improve component structure in Header, Layout, S…
anasafzaal2005 Jan 21, 2026
536c7c3
Fix button positioning in Layout and update Sidebar icon fallback; ad…
anasafzaal2005 Jan 21, 2026
d8d326e
demo.spec.ts tests passed successfully.
Aamirrafiqgfx Jan 24, 2026
3fc0773
menu-toggle.spec.ts & page-title.spec.ts test passed successfully
Aamirrafiqgfx Jan 25, 2026
afb8586
search.spec.ts test passed succesfully
Aamirrafiqgfx Jan 25, 2026
f7756c1
theme-toggle.spec.ts tests passed successfully
Aamirrafiqgfx Jan 25, 2026
b83537b
barcode-generator.spec.ts tests passed successfully.
Aamirrafiqgfx Jan 26, 2026
2906f20
search-replace.spec.ts tests passed successfully
Aamirrafiqgfx Jan 26, 2026
ff986b3
Fixed make ci errors in Layout.tsx and textarea.tsx files
anasafzaal2005 Jan 28, 2026
bee3d38
removed the pnpm-lock.yaml file
anasafzaal2005 Jan 28, 2026
21b7da3
Apply suggestion from @Copilot
spring1843 Jan 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ vite.config.ts.*
test-results
playwright-report
attached_assets
.env
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions client/assets/header-icons/demo-button-play.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions client/assets/header-icons/header-minimize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions client/assets/header-icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions client/assets/header-icons/search-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions client/assets/header-icons/side-panel-switch-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions client/assets/header-icons/themeicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,14 @@ function Router() {

function App() {
return (
<ThemeProvider>
<ThemeProvider defaultTheme="light">
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed default theme from system/user preference to hardcoded 'light'. This may not respect user's system dark mode preference. Consider using 'system' as default or documenting this breaking change.

Suggested change
<ThemeProvider defaultTheme="light">
<ThemeProvider defaultTheme="system">

Copilot uses AI. Check for mistakes.
<QueryClientProvider client={queryClient}>
<DemoProvider>
<TooltipProvider>
<Toaster />
<ScrollToTop />
<Router />
</TooltipProvider>
<TooltipProvider>
<Toaster />
<ScrollToTop />
<Router />
</TooltipProvider>
</DemoProvider>
</QueryClientProvider>
</ThemeProvider>
Expand Down
27 changes: 27 additions & 0 deletions client/src/components/figma/ImageWithFallback.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React, { useState } from 'react'

const ERROR_IMG_SRC =
'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODgiIGhlaWdodD0iODgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBvcGFjaXR5PSIuMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIzLjciPjxyZWN0IHg9IjE2IiB5PSIxNiIgd2lkdGg9IjU2IiBoZWlnaHQ9IjU2IiByeD0iNiIvPjxwYXRoIGQ9Im0xNiA1OCAxNi0xOCAzMiAzMiIvPjxjaXJjbGUgY3g9IjUzIiBjeT0iMzUiIHI9IjciLz48L3N2Zz4KCg=='

export function ImageWithFallback(props: React.ImgHTMLAttributes<HTMLImageElement>) {
const [didError, setDidError] = useState(false)

const handleError = () => {
setDidError(true)
}

const { src, alt, style, className, ...rest } = props

return didError ? (
<div
className={`inline-block bg-gray-100 text-center align-middle ${className ?? ''}`}
style={style}
>
<div className="flex items-center justify-center w-full h-full">
<img src={ERROR_IMG_SRC} alt="Error loading image" {...rest} data-original-url={src} />
</div>
</div>
) : (
<img src={src} alt={alt} className={className} style={style} {...rest} onError={handleError} />
)
}
21 changes: 21 additions & 0 deletions client/src/components/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// This component wraps all pages with the home page's exact header and sidebar
import { useLocation } from "wouter";
import Home from "@/pages/home";

interface AppLayoutProps {
children: React.ReactNode;
}

export function AppLayout({ children }: AppLayoutProps) {
const [location] = useLocation();
const isHomePage = location === "/";

// If it's the home page, just render it directly (it has its own layout)
if (isHomePage) {
return <>{children}</>;
}

// For all other pages, wrap them with the home page structure
// but replace the content area with the actual tool page
return <Home isToolPage={true}>{children}</Home>;

Check failure on line 20 in client/src/components/layout/AppLayout.tsx

View workflow job for this annotation

GitHub Actions / Continuous Integration

Type '{ children: ReactNode; isToolPage: boolean; }' is not assignable to type 'IntrinsicAttributes'.
}
Loading
Loading