Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions apps/website/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ dist-ssr
*.sw?
.vercel
.env*.local

# the field's CC0 models (Kenney Space Kit) are shipped, not ignored
!public/queen/models/
!public/queen/models/**
18 changes: 18 additions & 0 deletions apps/website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
},
"dependencies": {
"@babylonjs/core": "^9.25.0",
"@babylonjs/loaders": "^9.25.0",
"@monaco-editor/react": "^4.7.0",
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.5.0",
Expand Down
23 changes: 23 additions & 0 deletions apps/website/public/queen/models/LICENSE-kenney-space-kit.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@


Space Kit (2.0)

Created/distributed by Kenney (www.kenney.nl)
Creation date: 27-08-2020 14:20

------------------------------

License: (Creative Commons Zero, CC0)
http://creativecommons.org/publicdomain/zero/1.0/

This content is free to use in personal, educational and commercial projects.
Support us by crediting Kenney or www.kenney.nl (this is not mandatory)

------------------------------

Donate: http://support.kenney.nl
Request: http://request.kenney.nl
Patreon: http://patreon.com/kenney/

Follow on Twitter for updates:
http://twitter.com/KenneyNL
Expand Down
Binary file added apps/website/public/queen/models/alien.glb
Binary file not shown.
Binary file added apps/website/public/queen/models/astronautA.glb
Binary file not shown.
Binary file added apps/website/public/queen/models/astronautB.glb
Binary file not shown.
Binary file added apps/website/public/queen/models/crater.glb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added apps/website/public/queen/models/rover.glb
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions apps/website/qa/queen-viewport-contract.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ listeners.push(msg => {
if (msg.sessionId !== sessionId) return;
if (msg.method === 'Runtime.exceptionThrown') {
const d = msg.params.exceptionDetails;
errors.push(d.exception?.description || d.text || 'uncaught exception');
errors.push((d.exception?.description || d.text || 'uncaught exception') + (d.stackTrace ? ' @ ' + d.stackTrace.callFrames.slice(0, 4).map(f => (f.url || '').split('/').pop() + ':' + f.lineNumber + ':' + f.columnNumber + (f.functionName ? ' ' + f.functionName : '')).join(' < ') : ''));
}
});

Expand Down Expand Up @@ -173,7 +173,7 @@ const DECLARED = [
// the views
'.queen27-cards', '.queen27-kanban', '.queen27-mission-map',
'.queen27-factory', '.queen27-factory-viewport', '.queen27-factory-bays ol', '.queen27-factory-modules',
'.queen27-tech-map', '.queen27-tech-details',
'.queen27-tech', '.queen27-tech-console', '.queen27-tech-map', '.queen27-tech-details',
'.queen27-city-build-queue ol', '.queen27-hardware-foundry ol', '.queen27-city-console ol',
'.queen27-city-head dl', '.queen27-city-build-queue dl', '.queen27-hardware-foundry dl', '.queen27-factory-command dl',
'.queen27-activity-stream ol', '.queen27-flow-grid',
Expand Down
170 changes: 159 additions & 11 deletions apps/website/src/components/QueenCombBabylon.tsx

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions apps/website/src/pages/Queen.css
Original file line number Diff line number Diff line change
Expand Up @@ -3890,6 +3890,9 @@ main:where(.queen27-page.is-shell) section {
min-height: 0;
padding: 0;
border: 0;
/* the strip can wrap for a frame on a phone and push the console 8 px past
the box; the tree is then a declared scroller, never an overflow (P1-31) */
overflow: auto;
}

.queen27-page.is-shell .queen27-tech-strip {
Expand Down Expand Up @@ -3928,6 +3931,9 @@ main:where(.queen27-page.is-shell) section {
min-height: 0;
max-height: none;
border: 0;
/* on a phone the map and details can exceed the console by a few px in a
transient state; the console is then a declared scroller (P1-31) */
overflow: auto;
}

.queen27-page.is-shell .queen27-tech-map {
Expand Down
Loading