Skip to content

Create App. - Feature Bundle - Dec 2020 #894

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

Merged
merged 16 commits into from
Dec 10, 2020
Merged

Create App. - Feature Bundle - Dec 2020 #894

merged 16 commits into from
Dec 10, 2020

Conversation

AleziaKurdis
Copy link
Contributor

Content of this feature bundle:

New "Tools" menu to the Create Application

image

The previous "Selection" and "Actions" menu has been renamed "Select" and "Edit".
We have now all the actions regrouped in the 3 menus: "Select", "Edit" and "Tools".

Some changes coming with this:
1- The menu "Teleport To Selected Entities" has been moved from the "Select" menu to the new "Tools" menu.

2- The "Hotkey" "G" is now used to toggle the grid (previously it was to align it to the selection). It was making sense to have G (for Grid) to manage the visibility of this one.

3- New "Hotkey" has been added to control the other actions related to the Grid:
"Activate/Deactivate Snap to Grid" can be triggered by clicking "H"
"Align Grid to Selected Entities" can be triggered by clicking "J"
"Align Grid to Avatar" can be triggered by clicking "K"

4- The actions: "Align Grid to Selected Entities" and "Align Grid to Avatar" will turn on the grid if it was not visible. (Doing this imply that you want to have the grid to be visible). But you will still need to do "Toggle Grid" (G) to turn the grid off.
Note that "Align Grid to Selected Entities" will happen only If there is at least one entity selected.

Main "Edit" menu

The 2 "Import Entities" actions have been brought back to the main "Edit" menu.
(Since there was no unanimity about their removal)

A separator has been added to regroup the Create App's menuItems.

image

Upgrade to current master
 Create App "tools" menu implementation
Create App "tools" menu implementation
Create App "tools" menu implementation
Create App "tools" menu implementation
Create App "tools" menu implementation
Create App "tools" menu implementation
Add Grid Actions Shortkeys

Toggle Grid	G
Activate/Deactivate Snap to Grid	H
Align Grid to Selected Entities	J
Align Grid to Avatar	K
Add Grid Actions Shortkeys

Toggle Grid	G
Activate/Deactivate Snap to Grid	H
Align Grid to Selected Entities	J
Align Grid to Avatar	K
Add Grid Actions Shortkeys

Toggle Grid	G
Activate/Deactivate Snap to Grid	H
Align Grid to Selected Entities	J
Align Grid to Avatar	K
Add Grid Actions Shortkeys

Toggle Grid	G
Activate/Deactivate Snap to Grid	H
Align Grid to Selected Entities	J
Align Grid to Avatar	K
@AleziaKurdis
Copy link
Contributor Author

AleziaKurdis commented Dec 1, 2020

This commit is fully functional, This means that it can be tested.
But "Do Not Merge" now.
I might add additional features in the next week.
or do readjustments depending some feedbacks?

1- Replace Overlays by Local Entities
2- Add the missing header with copyright and license 
(I have assumed that the author was the same person that make the grid parameter that is referenced there and only used in create App.)
3- Minor requested code change (0.0 instead of 0 in condition using real numbers)
@AleziaKurdis
Copy link
Contributor Author

Grid upgrade...
The Grid is now using a "local" Entity instead of a deprecated 3d Overlay.

Minor code changes
Minor code change
@AleziaKurdis
Copy link
Contributor Author

You can remove the "Do Not Merge" tag.
That will be all for this PR.
I expected to address the Grid issues with the Local mode, but the expected behavior is far to be clear.

@ctrlaltdavid ctrlaltdavid added CR Approved At least one code reviewer has approved the PR. and removed do not merge do not merge due to issues or pending updates needs CR (code review) labels Dec 3, 2020
@two-one-five two-one-five added this to the 2020.3.3 Release milestone Dec 3, 2020
@two-one-five two-one-five added the enhancement New feature or request label Dec 3, 2020
@Aitolda
Copy link
Collaborator

Aitolda commented Dec 4, 2020

Everything seems to be working as intended.

@SilverfishVR
Copy link
Contributor

PR894-740f7dd

Looks good 👍 👍 only issue I found is that the default width of the create window (in desktop) is too narrow to fit the new buttons:
Screenshot 2020-12-04 212220

Actually it is also too narrow for the Properties page to show properly so maybe the best solution is to just make the default wider?

@AleziaKurdis
Copy link
Contributor Author

Is this the tablet mode in Desktop?
( I would have expected this to do as in VR .. and be displayed in landscape)

Previously it was 490px wide (in Desktop)
Now it will be 750 px wide (in Desktop)
The properties tab is now with an acceptable size by default. (which is closer to the landscape display we have in HMD.)

No change in HMD or in-Tablet display.
In Desktop mode, the 2 import buttons
are now one over the other and full width.
The text was overlapping with the default Create Tools window size.
@AleziaKurdis
Copy link
Contributor Author

AleziaKurdis commented Dec 5, 2020

Create Tools window width (in Desktop mode)...
In desktop mode only, the default windows width is now 750px instead of 490px.
which is closer than what we have in HMD (which is landscape display)
the 2 Import buttons (only in HMD) are now one under the other, in full width.
No change in HMD.

Please test and let me know if this is fine.

@SilverfishVR
Copy link
Contributor

looks good to me, mind you, that's on a UWQHD monitor but as long as it fits in a full HD monitor (so you can resize it) I thinks it's good

@ctrlaltdavid ctrlaltdavid added needs CR (code review) and removed CR Approved At least one code reviewer has approved the PR. labels Dec 5, 2020
@ctrlaltdavid ctrlaltdavid added CR Approved At least one code reviewer has approved the PR. and removed needs CR (code review) labels Dec 5, 2020
@digisomni digisomni added QA Approved The PR has been tested successfully. and removed needs testing (QA) The PR is ready for testing labels Dec 10, 2020
@digisomni digisomni merged commit 3c44d11 into vircadia:master Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR Approved At least one code reviewer has approved the PR. enhancement New feature or request QA Approved The PR has been tested successfully.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants