Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ab7d7f8
Infrastructure for SSM
rwiltfon Oct 17, 2025
8d9db8c
added websocket connection back into frontend
marcosfrenkel Oct 17, 2025
8a9e638
Added page 1 and 2 of ssm
marcosfrenkel Oct 18, 2025
2ba934a
Moved rotator fetch call to calls.tsx
marcosfrenkel Oct 18, 2025
9df8d2a
Refactored calls to use env variables instead of being hard coded
marcosfrenkel Oct 18, 2025
dd0952f
ssm2 page 2 for requesting follower
marcosfrenkel Oct 19, 2025
f5a2ae7
Page 3 with questions is functional
marcosfrenkel Oct 20, 2025
f5b8f26
Update .gitignore and package.json for local environment configuration
marcosfrenkel Oct 24, 2025
dc98c52
Infrastructure for SSM
rwiltfon Oct 17, 2025
30e5afa
added websocket connection back into frontend
marcosfrenkel Oct 17, 2025
fce9afa
Added page 1 and 2 of ssm
marcosfrenkel Oct 18, 2025
5b95bd4
Moved rotator fetch call to calls.tsx
marcosfrenkel Oct 18, 2025
4732143
Refactored calls to use env variables instead of being hard coded
marcosfrenkel Oct 18, 2025
219c398
ssm2 page 2 for requesting follower
marcosfrenkel Oct 19, 2025
990b7d2
Page 3 with questions is functional
marcosfrenkel Oct 20, 2025
c63993a
Update .gitignore and package.json for local environment configuration
marcosfrenkel Oct 24, 2025
3197966
Merge remote-tracking branch 'origin/infrastructure-ssm' into infrast…
marcosfrenkel Oct 26, 2025
5c27fa1
Fixed double env issue
marcosfrenkel Oct 27, 2025
5e1de74
Minor tweaks to paths
marcosfrenkel Oct 28, 2025
ba312ef
Added emoji picker
marcosfrenkel Oct 28, 2025
c3c6e07
ok basic scrolling when clicked on the background works.
marcosfrenkel Oct 28, 2025
284df59
Scroll works
marcosfrenkel Oct 28, 2025
9fa3fe6
Added page 4 for displaying the emoji
marcosfrenkel Oct 30, 2025
6b91825
Moved some text around and real questions.tsx
marcosfrenkel Oct 30, 2025
4cd66a1
Questions are specific for follower and leader now
marcosfrenkel Nov 3, 2025
b3e95aa
Modal box is now consistent with the rest of the games
marcosfrenkel Nov 3, 2025
a937a92
Add Next button to navigate to the second page
marcosfrenkel Nov 3, 2025
46180f7
Refactor page component to use Suspense for loading state and update …
marcosfrenkel Nov 3, 2025
c822652
fixes angle selection threshold
marcosfrenkel Nov 4, 2025
52dabeb
fixes angle selection threshold v2
marcosfrenkel Nov 4, 2025
f128b33
fixes angle selection threshold v3
marcosfrenkel Nov 4, 2025
44259b6
fixes angle selection threshold v4
marcosfrenkel Nov 4, 2025
e527a54
adding logging call
marcosfrenkel Nov 5, 2025
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
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

# next.js
/.next/
/.next-a/
/.next-b/
/out/

# production
Expand All @@ -26,14 +28,14 @@ yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local
.env.local*

# vercel
.vercel

# typescript
*.tsbuildinfo
# next-env.d.ts
next-env.d.ts

.env

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,19 @@ The frontend expects the PQN Node API to be running at `http://127.0.0.1:8000` b
To configure the API endpoints, create a `.env.local` file in the root of the project:

```bash
NEXT_PUBLIC_API_ADDRESS=127.0.0.1:8000
NEXT_PUBLIC_TIMETAGGER_ADDRESS=127.0.0.1:8000
NEXT_PUBLIC_FOLLOWER_NODE_ADDRESS=127.0.0.1:8000
```

Replace the addresses with your actual Node API endpoints if they differ from the defaults.

### Environment Variables

- `NEXT_PUBLIC_API_ADDRESS` - The base address of the PQN Node API (default: `127.0.0.1:8000`). Used for all HTTP and WebSocket connections.
- `NEXT_PUBLIC_TIMETAGGER_ADDRESS` - The address of the timetagger device (default: `127.0.0.1:8000`).
- `NEXT_PUBLIC_FOLLOWER_NODE_ADDRESS` - The address of the follower node (default: `127.0.0.1:8000`).

## Learn More

- [pqn-stack](https://github.com/PublicQuantumNetwork/pqn-stack) - Backend software stack and complete project documentation
Expand Down
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />
/// <reference path="./.next-b/types/routes.d.ts" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
4 changes: 3 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
distDir: process.env.BUILD_DIR || '.next'
};

export default nextConfig;
Loading