Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI/UX] Studio Update - Tailwind components for studio #10075

Merged
merged 274 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from 210 commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
4760410
add ovverride to checkbox story
SYBIOTE Apr 9, 2024
c49815a
file browser, texture, image and image preview, input group partial
SYBIOTE Apr 15, 2024
a5a70dd
remove type errors with override
aditya-mitra Apr 16, 2024
9946d1c
audio, folder, material , model and prefab
SYBIOTE Apr 16, 2024
04205bc
add default props
SYBIOTE Apr 16, 2024
2e5ac00
progress bar
SYBIOTE Apr 16, 2024
7403b3a
transform node editor
SYBIOTE Apr 17, 2024
910845e
correct checkbox and extend its props
aditya-mitra Apr 18, 2024
b2c7821
remove editor tsconfig changes
aditya-mitra Apr 18, 2024
096475f
match boolean input checkbox with foundation design
aditya-mitra Apr 18, 2024
4b6c67a
Merge branch 'dev' into advanced-mode
SYBIOTE Apr 18, 2024
2a5e98f
light node editors, partial
SYBIOTE Apr 19, 2024
c7d4062
remove override usage
aditya-mitra Apr 19, 2024
a4a998a
Merge remote-tracking branch 'origin/advanced-mode' into advanced-mode
aditya-mitra Apr 19, 2024
f0bd32f
added the color input
aditya-mitra Apr 19, 2024
0f676ff
added colorinput to ambient light editor
aditya-mitra Apr 19, 2024
0700413
added colorinput and corrected checkbox alignment
aditya-mitra Apr 19, 2024
93df81a
interaction node editors and fixes
SYBIOTE Apr 22, 2024
7b42fbf
Merge branch 'dev' into advanced-mode
aditya-mitra Apr 22, 2024
b17591f
added media node editor and array input group
aditya-mitra Apr 22, 2024
302bd45
Merge branch 'dev' into advanced-mode
aditya-mitra Apr 23, 2024
82d2ba1
rename color input to color and remove from input folder
SYBIOTE Apr 23, 2024
d8beec1
fix string input to match design
aditya-mitra Apr 23, 2024
9dddad0
Merge remote-tracking branch 'origin/advanced-mode' into advanced-mode
aditya-mitra Apr 23, 2024
7315171
load dark theme by default
aditya-mitra Apr 23, 2024
6efafab
match select input with design
aditya-mitra Apr 23, 2024
5ac6810
Merge branch 'dev' into advanced-mode
aditya-mitra Apr 23, 2024
8697798
misc node editors
SYBIOTE Apr 23, 2024
7be8bbc
Merge branch 'advanced-mode' of https://github.com/EtherealEngine/eth…
SYBIOTE Apr 23, 2024
740a48e
remove document styles and add wekbit slider and moz range classes to…
aditya-mitra Apr 24, 2024
bf6ee3b
Merge branch 'dev' into advanced-mode
aditya-mitra Apr 24, 2024
de3a2c3
fix and simplify numeric input
aditya-mitra Apr 24, 2024
78d2144
fix boolean input border
aditya-mitra Apr 24, 2024
9d1bb43
gallery node editor
SYBIOTE Apr 24, 2024
b23d60d
Merge branch 'advanced-mode' of https://github.com/EtherealEngine/eth…
SYBIOTE Apr 24, 2024
9e33d17
fix string input height
aditya-mitra Apr 24, 2024
51a8cd7
Merge remote-tracking branch 'origin/advanced-mode' into advanced-mode
aditya-mitra Apr 24, 2024
033a105
fix string input alignment
aditya-mitra Apr 24, 2024
71eb37e
revert link editor inputs
aditya-mitra Apr 24, 2024
af60067
image grid and volumetric node editor
SYBIOTE Apr 24, 2024
4b67b38
particle node editor
SYBIOTE Apr 24, 2024
80d4dee
fix gallery and image grid for heading positioning
aditya-mitra Apr 25, 2024
915e0a1
Merge branch 'dev' into advanced-mode
aditya-mitra Apr 25, 2024
9a7c412
added the collider and trigger editors
aditya-mitra Apr 25, 2024
54fa544
added license
aditya-mitra Apr 25, 2024
d5953f8
added the textbox editor
aditya-mitra Apr 25, 2024
6244d2d
simplify the styles for input group and make it more adherent to the …
aditya-mitra Apr 26, 2024
d4a32b6
Merge branch 'dev' into advanced-mode
aditya-mitra Apr 29, 2024
200ae67
Merge branch 'dev' into advanced-mode
aditya-mitra Apr 30, 2024
2c03f1a
simplify property group and node editor
aditya-mitra Apr 30, 2024
1dd758c
fix css in editors
aditya-mitra Apr 30, 2024
64e76b5
properties panel
SYBIOTE Apr 30, 2024
94c1450
properties panel , replace old properties with new ones in Component…
SYBIOTE Apr 30, 2024
396df6c
add comments
SYBIOTE Apr 30, 2024
c819639
comment out portal path to prevent errors
SYBIOTE Apr 30, 2024
3f4e2fc
viewport panel partial
SYBIOTE Apr 30, 2024
9e74af1
add viewport panel title
SYBIOTE Apr 30, 2024
aaa87ca
Merge branch 'dev' into advanced-mode
aditya-mitra May 1, 2024
82f49f3
icons for component editors
aditya-mitra May 1, 2024
6050ae6
finished viewport panel
SYBIOTE May 1, 2024
41180dd
add License
SYBIOTE May 1, 2024
08238f4
scene panel partial
SYBIOTE May 1, 2024
d18c86d
add License
SYBIOTE May 1, 2024
943ef09
add panel titles
SYBIOTE May 1, 2024
d7689bf
fix title content
SYBIOTE May 1, 2024
00651ef
Merge branch 'dev' into advanced-mode
SYBIOTE May 2, 2024
0f645cd
designs for new scene panel, partial functionality
SYBIOTE May 2, 2024
684550b
heirachy panel partial
SYBIOTE May 2, 2024
411aafa
Merge branch 'dev' into advanced-mode
aditya-mitra May 6, 2024
36143c9
added editor 2 route as `/studio2`
aditya-mitra May 6, 2024
9552659
Merge branch 'dev' into advanced-mode
SYBIOTE May 6, 2024
0ac3efa
added editor2container
aditya-mitra May 6, 2024
d7000b2
Merge remote-tracking branch 'origin/advanced-mode' into advanced-mode
aditya-mitra May 6, 2024
392cbeb
heirachy panel
SYBIOTE May 6, 2024
c9f16a5
Merge branch 'advanced-mode' of https://github.com/EtherealEngine/eth…
SYBIOTE May 7, 2024
e9ee147
Merge branch 'dev' into advanced-mode
SYBIOTE May 7, 2024
56c7aaa
get page showing
SYBIOTE May 7, 2024
309d03f
remove comments from node editors
SYBIOTE May 7, 2024
4e0a0d1
remove comments from panels
SYBIOTE May 7, 2024
98ecd84
fix scene panel index
SYBIOTE May 7, 2024
719d248
make tool bar partial
SYBIOTE May 7, 2024
03e47e1
minor adjustment to dock designs
SYBIOTE May 7, 2024
fa1cddc
Merge branch 'dev' into advanced-mode
aditya-mitra May 8, 2024
bce3a4d
make the toolbar more adherent
aditya-mitra May 8, 2024
b7ddbd9
fixed the panel fonts
aditya-mitra May 8, 2024
1da4f17
introduce project page before studio
SYBIOTE May 8, 2024
f042247
fix scenes panel
SYBIOTE May 8, 2024
fa138d9
engine canvas in viewport
SYBIOTE May 9, 2024
54f85ad
added the tools inside viewport
aditya-mitra May 9, 2024
659e5d5
fixed the viewport fallback
aditya-mitra May 9, 2024
c05c465
make the rc-dock pixel perfect
aditya-mitra May 9, 2024
185bbb3
fix rename in scene panel
SYBIOTE May 9, 2024
622556b
add delete scene functionality
SYBIOTE May 9, 2024
1fd2884
add clickaway listener
SYBIOTE May 9, 2024
8e2367a
partiallly function components and heirarchy panel
SYBIOTE May 10, 2024
35a2d32
polish heirarchy panel
SYBIOTE May 10, 2024
97d3b65
fix viewport resize
SYBIOTE May 10, 2024
ebd3dda
Merge branch 'dev' into advanced-mode
aditya-mitra May 10, 2024
8e172dd
fix the hierarchy panel styles
aditya-mitra May 10, 2024
011bcba
correct the scenes panel
aditya-mitra May 10, 2024
1cc699e
context menu for heirarchy panel
SYBIOTE May 11, 2024
91371bc
add selection border for heirarchy node
SYBIOTE May 11, 2024
e7513b5
Merge branch 'advanced-mode' of https://github.com/EtherealEngine/eth…
SYBIOTE May 11, 2024
f387fd4
resolve merge conflict
SYBIOTE May 11, 2024
41590ca
fix panel z-index
SYBIOTE May 11, 2024
aacc7b0
fix margins between scene thumbnails
aditya-mitra May 13, 2024
d8b9d71
use tailwind buttons on context menu
aditya-mitra May 13, 2024
2aa29bc
added ground plane,collider,rigibbody editors
aditya-mitra May 14, 2024
cb7be27
added geometry and mesh editors
aditya-mitra May 14, 2024
7a123dc
fix vector3 input and scrubber
aditya-mitra May 15, 2024
9c5dc76
fixes in collider component
aditya-mitra May 15, 2024
beb95c3
fix select styles
aditya-mitra May 15, 2024
65d8985
minor translation and input fixes
aditya-mitra May 15, 2024
6c9cea2
partial file browser
SYBIOTE May 15, 2024
7acab41
add License
SYBIOTE May 15, 2024
4a6788d
Merge branch 'advanced-mode' of https://github.com/EtherealEngine/eth…
SYBIOTE May 15, 2024
7431f44
Merge branch 'dev' into advanced-mode
SYBIOTE May 15, 2024
a65c564
remove material dialog
aditya-mitra May 15, 2024
bc9d87c
Merge remote-tracking branch 'origin/advanced-mode' into advanced-mode
aditya-mitra May 15, 2024
01d9f50
correct ts errors in schema
aditya-mitra May 16, 2024
bc5eb8e
added save and save as dialogs in new toolbar
aditya-mitra May 16, 2024
7054e11
added import settings panel
aditya-mitra May 16, 2024
2d8b277
completed the toolbar and functionalites
aditya-mitra May 16, 2024
707f15e
remove material ui references
aditya-mitra May 16, 2024
a0557f2
toolbar main menu
SYBIOTE May 16, 2024
a3cb3d6
text align left for file table
achen5671 May 16, 2024
04374d0
component element list
SYBIOTE May 16, 2024
fc18b5e
Merge branch 'advanced-mode' of https://github.com/EtherealEngine/eth…
SYBIOTE May 16, 2024
2ad502a
revert changes to toolbar
SYBIOTE May 16, 2024
10682ce
make pointer anchor to canvas space from window space
SYBIOTE May 16, 2024
7ae4f62
center text in element list
SYBIOTE May 17, 2024
d2b97f4
update folder
achen5671 May 17, 2024
2116d50
Merge branch 'dev' into advanced-mode
SYBIOTE May 17, 2024
581d1c5
Merge branch 'dev' into advanced-mode
aditya-mitra May 20, 2024
3af6d02
Merge branch 'advanced-mode' into ac-align-table-header
aditya-mitra May 20, 2024
4d9dd61
fix import errors
aditya-mitra May 20, 2024
0f0eefa
Merge branch 'advanced-mode' into ac-align-table-header
aditya-mitra May 20, 2024
0cff831
Merge pull request #10179 from EtherealEngine/ac-align-table-header
aditya-mitra May 20, 2024
d6bc78f
Merge pull request #10178 from EtherealEngine/ac-hero-icon-folder
aditya-mitra May 20, 2024
64a436a
Merge branch 'dev' into advanced-mode
aditya-mitra May 20, 2024
29a8c02
revert changes in editor container
aditya-mitra May 20, 2024
aa7dea6
add missing css in editor2container
aditya-mitra May 20, 2024
e0a8a2a
revert unwanted changes in editor package
aditya-mitra May 20, 2024
012ee38
highlight file view mode
achen5671 May 20, 2024
e5b6137
refactor file view mode for scalability
achen5671 May 20, 2024
6c22b77
Merge branch 'dev' into advanced-mode
SYBIOTE May 20, 2024
a34d23d
constrain LoadingView size
dtlehrer May 20, 2024
7555688
fix hierarchy panel styling regressions
SYBIOTE May 20, 2024
0bc063a
Merge remote-tracking branch 'origin/dev' into advanced-mode
SYBIOTE May 20, 2024
8bb06a0
Merge pull request #10196 from EtherealEngine/ac-studio-highlight-sel…
aditya-mitra May 21, 2024
9687780
Merge branch 'dev' into advanced-mode
aditya-mitra May 21, 2024
fa382c7
remove unnecessary functionalities and files
aditya-mitra May 21, 2024
052814b
remove accidently added gltf file
aditya-mitra May 21, 2024
8b9c463
text no wrap on nodename
achen5671 May 21, 2024
4d9387c
dont wrap text
achen5671 May 21, 2024
936b660
cleanup with hierarchy menu
achen5671 May 21, 2024
38d6dc5
Merge remote-tracking branch 'origin/advanced-mode' into ac-polish-he…
achen5671 May 21, 2024
a1a05cd
reposition ContextMenu when necessary to avoid bottom overflow
dtlehrer May 21, 2024
87dbd4b
make the menu scrollable if it is too tall for the parent component
dtlehrer May 21, 2024
39b2cdb
show cursor-pointer on PanelDragContainer
dtlehrer May 21, 2024
862de23
update PanelDragContainer
dtlehrer May 21, 2024
bccd169
refactor
dtlehrer May 21, 2024
2dcbf27
add unique keys to prevent studio warnings
dtlehrer May 21, 2024
4086df8
assets panel new design
SYBIOTE May 21, 2024
55434a5
Merge branch 'advanced-mode' of https://github.com/EtherealEngine/eth…
SYBIOTE May 21, 2024
6cb8a2e
Merge branch 'dev' into advanced-mode
SYBIOTE May 21, 2024
d4fef1f
fix imports
SYBIOTE May 21, 2024
626b654
assets categories
SYBIOTE May 21, 2024
91b240e
Merge pull request #10211 from EtherealEngine/studio-fix-unique-key-w…
aditya-mitra May 22, 2024
f9671b1
Merge pull request #10210 from EtherealEngine/studio-context-menu
aditya-mitra May 22, 2024
29935ef
Merge branch 'advanced-mode' into ac-polish-heirarchy-design
aditya-mitra May 22, 2024
e9efca1
remove comments
aditya-mitra May 22, 2024
3522473
Merge pull request #10207 from EtherealEngine/ac-polish-heirarchy-design
aditya-mitra May 22, 2024
65b5c85
revert tailwind select
aditya-mitra May 22, 2024
fe63fef
Merge remote-tracking branch 'origin/advanced-mode' into advanced-mode
aditya-mitra May 22, 2024
d4dc03b
Merge branch 'dev' into advanced-mode
SYBIOTE May 22, 2024
9da03bd
clean up file browse menus
achen5671 May 22, 2024
f4120bc
material panel partial
SYBIOTE May 22, 2024
4d58ce9
fix margin in assets panel
SYBIOTE May 22, 2024
42fd959
update FilesPanel text colors
dtlehrer May 22, 2024
138de71
add overflow to material panel
aditya-mitra May 23, 2024
680d8e9
`currentValue` in select
aditya-mitra May 23, 2024
755d033
remove unwanted added storybook files
aditya-mitra May 23, 2024
98f1737
revert unwanted ui primitives
aditya-mitra May 23, 2024
5418e17
stuff
achen5671 May 23, 2024
99dacf5
file browser grid styling + update state onClick
dtlehrer May 23, 2024
c8e42cb
rm extra left margin
dtlehrer May 23, 2024
a8203a4
cleanup
dtlehrer May 23, 2024
b8a0075
style dock-tab variants
dtlehrer May 23, 2024
1eccfec
add padding to scene overflow
achen5671 May 23, 2024
4e1f5fd
edit upload assets btn
dtlehrer May 23, 2024
a838166
style FileBrowserContentPanel
dtlehrer May 23, 2024
841036b
make the studio and files loading spinner smaller
aditya-mitra May 24, 2024
e7d0d3b
Merge branch 'advanced-mode' into studio-smaller-loadingview
aditya-mitra May 24, 2024
c624c45
Merge pull request #10198 from EtherealEngine/studio-smaller-loadingview
aditya-mitra May 24, 2024
112f04c
correct file browser list view rendering
aditya-mitra May 24, 2024
cdbd92d
revert input and confirmdialog
aditya-mitra May 24, 2024
c334cf6
add cursor in file browser items
aditya-mitra May 24, 2024
a07774f
Merge branch 'dev' into advanced-mode
SYBIOTE May 24, 2024
82c83e2
loader size correction in editor router
aditya-mitra May 24, 2024
d907acb
fix trigger component editor
aditya-mitra May 24, 2024
21fb05a
material editor
SYBIOTE May 24, 2024
6adb1d4
Merge branch 'advanced-mode' of https://github.com/EtherealEngine/eth…
SYBIOTE May 24, 2024
393c3ed
revert changes
SYBIOTE May 24, 2024
a068f47
text styling for component list and default transform for all components
SYBIOTE May 24, 2024
1d8aa29
Merge branch 'ac-polish-browse-file-menu' into studio-style-filebrows…
achen5671 May 24, 2024
b62df4b
Merge branch 'advanced-mode' into studio-style-filebrowsercontentpanel
dtlehrer May 24, 2024
87d05ca
use h-full & w-full
dtlehrer May 24, 2024
eb67272
update breadcrumb cursor + refactor tooltip
dtlehrer May 24, 2024
bdae5eb
adjust file browser text colors
dtlehrer May 24, 2024
7043e0d
Update ContextMenu.tsx
dtlehrer May 24, 2024
f0f41bb
update scene item dimensions
achen5671 May 24, 2024
d4adeaa
Merge branch 'studio-style-filebrowsercontentpanel' of https://github…
achen5671 May 24, 2024
9b123e4
style search input
dtlehrer May 24, 2024
e79662b
Merge branch 'studio-style-filebrowsercontentpanel' of https://github…
dtlehrer May 24, 2024
612f145
make viewport pointer realtive to panel
SYBIOTE May 24, 2024
dc69ce7
Merge branch 'dev' into advanced-mode
aditya-mitra May 28, 2024
406dd65
change studio2 to `studio` and studio to `studio-old`
aditya-mitra May 28, 2024
9eecc4d
remove useAllComponents usages
aditya-mitra May 28, 2024
1bd0932
remove simple advanced toggle for now
aditya-mitra May 28, 2024
aa181e3
added render mode tools
aditya-mitra May 28, 2024
5fcebd0
Merge branch 'dev' into advanced-mode
SYBIOTE May 28, 2024
109332f
minor styling improvements
SYBIOTE May 28, 2024
9ceb037
improve render panel
SYBIOTE May 28, 2024
11ed97c
Move studio registries to a more appropriate directory
HexaField May 29, 2024
e49ffb0
license
HexaField May 29, 2024
d35f48e
fix import
HexaField May 29, 2024
01bcd31
Merge pull request #10232 from EtherealEngine/studio-style-filebrowse…
aditya-mitra May 29, 2024
4a68f47
Merge branch 'dev' into advanced-mode
aditya-mitra May 29, 2024
f076bbf
Merge pull request #10268 from EtherealEngine/move-studio-registries-…
aditya-mitra May 29, 2024
c8eb85b
remove editor tailwind config
aditya-mitra May 29, 2024
b733bce
Merge remote-tracking branch 'origin/advanced-mode' into advanced-mode
aditya-mitra May 29, 2024
bdea395
use tooltips instead of button titles
aditya-mitra May 29, 2024
a71c6fd
implement assets category tree view
aditya-mitra May 29, 2024
f83f4d4
Merge branch 'dev' into advanced-mode
SYBIOTE May 29, 2024
ebfd566
adjust slider to correct dynamic styling
SYBIOTE May 29, 2024
f5fdda3
revert tailwind select
aditya-mitra May 30, 2024
9c3c0cb
revert tooltip
aditya-mitra May 30, 2024
551cae4
fix all lint errors
aditya-mitra May 30, 2024
5d31dfb
Merge branch 'dev' into advanced-mode
aditya-mitra May 30, 2024
d4e6240
fix dev lint errors
aditya-mitra May 30, 2024
d5ebdad
automated prettier format
aditya-mitra May 30, 2024
1650943
fix slider
SYBIOTE May 30, 2024
306be4b
Merge branches 'advanced-mode' and 'advanced-mode' of https://github.…
SYBIOTE May 30, 2024
4bf77e2
fix incorrect component editor
SYBIOTE May 30, 2024
05ac44b
fix miscellaneous bugs for the new studio (#10280)
aditya-mitra May 30, 2024
444f509
fix model component stalling studio
SYBIOTE May 30, 2024
0ed82e9
Merge branch 'advanced-mode' of https://github.com/EtherealEngine/eth…
SYBIOTE May 30, 2024
5abe3a1
add comp style, fix old pop over
DanielBelmes May 30, 2024
a4061b5
Merge branch 'dev' into advanced-mode
DanielBelmes May 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/client-core/i18n/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"loadingProjects": "Loading projects...",
"loadingEngine": "Loading engine...",
"loadingEditor": "Loading editor...",
"loadingStudio": "Loading studio...",
"loadingRoutes": "Loading routes...",
"loadingRoute": "Loading route...",
"loadingAuth": "Loading auth routes...",
Expand Down
56 changes: 50 additions & 6 deletions packages/client-core/i18n/en/editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"error": "Error",
"errorMsg": "There was an unknown error.",
"generateScreenshot": "Generating Project Screenshot",
"newScene": "Create Scene",
"newScene": "Add Scene",
"saving": "Saving Project",
"savingError": "Error Saving Project",
"savingErrorMsg": "There was an error when saving the project.",
Expand Down Expand Up @@ -99,6 +99,8 @@
"toolbar": {
"lbl-publish": "Publish",
"lbl-published": "Published",
"lbl-simple": "Simple",
"lbl-advanced": "Advanced",
"gizmo": {
"description": "Transform Gizmo",
"translate": "[T] Translate",
Expand Down Expand Up @@ -205,7 +207,13 @@
},
"envmap": {
"name": "Environment Map",
"description": "environment map properties"
"description": "environment map properties",
"lbl-source": "Envmap Source",
"lbl-color": "Envmap Color",
"lbl-bake": "Envmap Bake",
"lbl-textureType": "Texture Type",
"lbl-textureUrl": "Texture URL",
"lbl-intensity": "Envmap Intensity"
},
"trigger": {
"name": "Trigger",
Expand Down Expand Up @@ -267,6 +275,7 @@
"media": {
"name": "Media",
"description": "Audio and video playback",
"path": "Path",
"paths": "Source Paths",
"playmode": "Play Mode",
"playtitle": "Play",
Expand All @@ -292,6 +301,12 @@
"description": "A mesh is a collection of vertices, edges, and faces that describe the shape of a 3D object.",
"geometryEditor": "Geometry Editor",
"materialEditor": "Material Editor",
"geometry": {
"name": "Name:",
"count": "Count:",
"itemSize": "Item Size:",
"recalculateNormals": "Recalculate Normals"
},
"material": {
"name": "Name",
"source": "Source",
Expand Down Expand Up @@ -340,7 +355,8 @@
"lbl-friction":"Friction",
"lbl-restitution":"Restitution",
"lbl-collisionLayer":"Collision Layer",
"lbl-collisionMask":"Collision Mask"
"lbl-collisionMask":"Collision Mask",
"lbl-removeMesh": "Remove Mesh"
},
"camera": {
"name": "Camera",
Expand Down Expand Up @@ -381,7 +397,8 @@
"title": "Loop Animation",
"description": "Looped animation associated with your 3d model, loaded from a GLTF URL or file.",
"lbl-loopAnimation": "Loop Animation",
"lbl-timeScale": "Time Scale"
"lbl-timeScale": "Time Scale",
"lbl-animationPack": "Animation Pack (via Mixamo Rig)"
},
"variant": {
"name": "Variant",
Expand Down Expand Up @@ -819,6 +836,7 @@
"lbl-useGlobalTransform": "Use Global Transform"
},
"triggerVolume": {
"name": "Trigger",
"description": "Sets a property on the target object on enter and leave.",
"lbl-target": "Object",
"lbl-onenter": "On Enter",
Expand Down Expand Up @@ -957,7 +975,30 @@
"clippingMax": "clip.max",
"glyphResolution": "glyph.resolution",
"glyphDetail": "glyph.detail",
"gpuAccelerated": "GPU Accelerated"
"gpuAccelerated": "GPU Accelerated"
},
"textBox": {
"name": "Textbox Component",
"description": "An XRUI text box component",
"lbl-text": "Text",
"lbl-family": "Family",
"lbl-size": "Size",
"lbl-fontStroke": "Font Stroke",
"lbl-fontColor": "Font Color",
"lbl-cornerRadius": "Corner Radius",
"lbl-backgroundColor": "Background Color",
"lbl-opacity": "Opacity",
"lbl-padding": "Padding"
},
"gallery": {
"name": "Gallery Component",
"description": "XRUI Gallery Component",
"lbl-imageGrid": "ImageGrid Component",
"lbl-thumbnail": "Thumbnail",
"lbl-outfitURL": "Outfit URL",
"lbl-performerURL": "Performer URL",
"lbl-asset": "Asset",
"assets": "Assets"
}
},
"projects": {
Expand Down Expand Up @@ -1137,11 +1178,13 @@
"lbl": "Hierarchy",
"info": "The scene Hierarchy contains all element currently in your scene (assets, lighting, items from the tool menu, etc).",
"lbl-rename": "Rename",
"lbl-renameScene": "Rename Scene",
"lbl-duplicate": "Duplicate",
"lbl-group": "Group",
"lbl-copy": "Copy",
"lbl-paste": "Paste",
"lbl-delete": "Delete",
"lbl-deleteScene": "Delete Scene",
"lbl-expandAll": "Expand All",
"lbl-collapseAll": "Collapse All",
"lbl-explode": "Explode Objects",
Expand Down Expand Up @@ -1213,7 +1256,8 @@
"saveScene": {
"title": "Save",
"lbl-thumbnail": "Generate thumbnail & envmap",
"lbl-confirm": "Save Scene"
"lbl-confirm": "Save Scene",
"info-confirm": "Are you sure you want to save the scene?"
},
"saveNewScene": {
"title": "Save As",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-core/src/common/services/ThemeService.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const themes = {
export const ThemeState = defineState({
name: 'ThemeState',
initial: {
theme: 'light' as 'light' | 'dark' | 'custom'
theme: 'dark' as 'light' | 'dark' | 'custom'
},

setTheme: (theme: 'light' | 'dark' | 'custom') => {
Expand Down
75 changes: 75 additions & 0 deletions packages/client/src/pages/editor2/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/*
CPAL-1.0 License

The contents of this file are subject to the Common Public Attribution License
Version 1.0. (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
https://github.com/EtherealEngine/etherealengine/blob/dev/LICENSE.
The License is based on the Mozilla Public License Version 1.1, but Sections 14
and 15 have been added to cover use of software over a computer network and
provide for limited attribution for the Original Developer. In addition,
Exhibit A has been modified to be consistent with Exhibit B.

Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
specific language governing rights and limitations under the License.

The Original Code is Ethereal Engine.

The Original Developer is the Initial Developer. The Initial Developer of the
Original Code is the Ethereal Engine team.

All portions of the code written by the Ethereal Engine team are Copyright © 2021-2023
Ethereal Engine. All Rights Reserved.
*/

import { t } from 'i18next'
import React, { Suspense, useEffect } from 'react'

import LoadingView from '@etherealengine/ui/src/primitives/tailwind/LoadingView'

import { RouterState } from '@etherealengine/client-core/src/common/services/RouterService'
import { PopupMenuInline } from '@etherealengine/client-core/src/user/components/UserMenu/PopupMenuInline'
import { AuthState } from '@etherealengine/client-core/src/user/services/AuthService'
import { userHasAccess } from '@etherealengine/client-core/src/user/userHasAccess'
import { EditorPage, useStudioEditor } from '@etherealengine/editor/src/pages/Editor2Page'
import { getMutableState, useHookstate } from '@etherealengine/hyperflux'
import { Route, Routes, useLocation } from 'react-router-dom'

const EditorRouter = () => {
const ready = useStudioEditor()

if (!ready) return <LoadingView spinnerOnly message={t('common:loader.loadingStudio')} />

return (
<Suspense fallback={<LoadingView spinnerOnly message={t('common:loader.loadingStudio')} />}>
<PopupMenuInline />
<Routes>
<Route path="*" element={<EditorPage />} />
</Routes>
</Suspense>
)
}

const EditorProtectedRoutes = () => {
const location = useLocation()
const authState = useHookstate(getMutableState(AuthState))
const user = authState.user
const isAuthorized = useHookstate<boolean | null>(null)

useEffect(() => {
if (user.scopes.value) {
const hasAccess = userHasAccess('editor:write')
if (!hasAccess) {
RouterState.navigate('/', { redirectUrl: location.pathname })
isAuthorized.set(false)
} else isAuthorized.set(true)
}
}, [user.scopes])

if (!isAuthorized.value) return <LoadingView fullScreen className="h-8 w-8" title={t('common:loader.auth')} />

return <EditorRouter />
}

export default EditorProtectedRoutes
46 changes: 46 additions & 0 deletions packages/editor/src/components/Editor2Container.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/** references https://github.com/ticlo/rc-dock/blob/master/dist/rc-dock.css */

.dock-top .dock-bar {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
background: transparent;
}

.dock-panel {
border: none;
}

.dock.dock-top {
background: var(--bg-primary);
}

.dock-nav-list {
background: var(--bg-surface-main);
justify-content: center;
align-items: center;
}

.dock-top .dock-bar {
border-bottom: none !important;
}

.dock-tab {
background: transparent;
margin: 0;
border-bottom: none !important;
}

.dock-tab > div {
padding: 0 !important;
}

.dock-ink-bar {
display: none;
}

.dock-tab-close-btn{
display: none;
}

.dock-bar.drag-initiator{
padding: 0;
}