Skip to content
Open
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8d92173
implemented textarea with special symbols buttons
ashwin6-dev Jan 20, 2026
3f1863b
fixed ResponseArea Loading Error by changing responseType to SANDBOX
HarrySu123 Jan 20, 2026
386f6c7
implemented drawing and photo mode, but preview not available yet (im…
HarrySu123 Jan 26, 2026
c886eda
implemented truth table ui
ashwin6-dev Feb 3, 2026
3294edd
fixed answer updating issues and changed truth table to use dropdowns
ashwin6-dev Feb 4, 2026
1fcfc9c
implemented wizard component with truth table
ashwin6-dev Feb 4, 2026
9ada330
fixed truth table not showing issue by renaming index to SANDBOX
HarrySu123 Feb 4, 2026
784ceae
let user configure the table themselves
ashwin6-dev Feb 10, 2026
613bdef
Merge branch 'main' of https://github.com/ashwin6-dev/prop-logic-resp…
ashwin6-dev Feb 10, 2026
1a814df
removed omni input temporarily
ashwin6-dev Feb 17, 2026
6cc6370
feat: done the wiring withthe frontend, certain schema might need cha…
HongleiGu Feb 17, 2026
c0ad390
feat: wizard contains marking parameters
ashwin6-dev Feb 19, 2026
9bf9191
special characters keyboard fixed. now adds to cursor position
ashwin6-dev Mar 2, 2026
e20e41a
factored special characters keyboard out into its own component
ashwin6-dev Mar 3, 2026
4bf2ae0
added ability to remove rows and cols from truth table
ashwin6-dev Mar 3, 2026
33fffb0
added XOR to special characters
ashwin6-dev Mar 10, 2026
1e3260a
removed package-lock.json
ashwin6-dev Mar 10, 2026
a2492e6
added yarn.lock to .gitignore
ashwin6-dev Mar 10, 2026
ff5ac18
only show truth table button if answer expects it
ashwin6-dev Mar 10, 2026
99ca3e1
restored original yarn.lock
ashwin6-dev Mar 10, 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
2 changes: 1 addition & 1 deletion externals/api/fetcher.ts
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be commited as a change?

Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export const fetchData = <TData, TVariables>(
_options?: unknown,
): (() => Promise<TData>) => {
return null as any
}
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this file be commited?

Empty file.
120 changes: 44 additions & 76 deletions externals/styles/fonts.tsx
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why was this workaround necessary? This would be good to feedback.

Original file line number Diff line number Diff line change
@@ -1,80 +1,48 @@
import { Fira_Sans, Fira_Mono, Lato, Roboto } from 'next/font/google'
// Vite-compatible font loader (replaces next/font/google)
// Since this is a Vite build, we can't use next/font/google which requires Next.js compiler
// Instead, we create compatible objects and inject Google Fonts via CSS

export const roboto = Roboto({
subsets: ['latin'],
weight: ['400', '700'],
style: ['normal', 'italic'],
fallback: [
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
],
variable: '--font-roboto',
preload: false,
})
// Helper function to create a font object compatible with next/font/google structure
function createFontObject(fontFamily: string, fallback: string[] = []) {
const fallbackStr = fallback.length > 0 ? `, ${fallback.join(', ')}` : ''
return {
style: {
fontFamily: `"${fontFamily}"${fallbackStr}`,
},
variable: `--font-${fontFamily.toLowerCase().replace(/\s+/g, '-')}`,
}
}

export const firaSans = Fira_Sans({
subsets: ['latin'],
weight: ['300', '400', '500', '600', '700'],
style: ['normal', 'italic'],
fallback: [
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
],
variable: '--font-fira-sans',
preload: false,
})
// Inject Google Fonts CSS if not already injected
if (typeof document !== 'undefined') {
const fontLinkId = 'google-fonts-vite-loader'
if (!document.getElementById(fontLinkId)) {
const link = document.createElement('link')
link.id = fontLinkId
link.rel = 'stylesheet'
link.href =
'https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Fira+Sans:wght@300;400;500;600;700&family=Fira+Mono:wght@400&family=Lato:wght@400&display=swap'
document.head.appendChild(link)
}
}

export const firaMono = Fira_Mono({
subsets: ['latin'],
weight: ['400'],
fallback: [
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
],
variable: '--font-fira-mono',
preload: false,
})
const robotoFallback = [
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
]

export const lato = Lato({
subsets: ['latin'],
weight: ['400'],
style: ['normal', 'italic'],
fallback: [
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
],
variable: '--font-lato',
preload: false,
})
export const roboto = createFontObject('Roboto', robotoFallback)

export const firaSans = createFontObject('Fira Sans', robotoFallback)

export const firaMono = createFontObject('Fira Mono', robotoFallback)

export const lato = createFontObject('Lato', robotoFallback)
Loading