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

chore(settings): disable identity service login ui features #4125

Merged
merged 4 commits into from
Nov 1, 2020

Conversation

Ankhell
Copy link
Contributor

@Ankhell Ankhell commented Aug 15, 2020

Contains

Added new prop "overrideChildEnabledProp" to AbstractWidget to avoid overriding of child enabled property during initialization (In this exact case - by UIBox), modified UIFormat to process enabled field after Layout content initialization, disabled Identity Service Login features in UI

Contributes to #4104

…overriding of child enabled property during initialization by UIBox, modified UIFormat to process enabled field after Layout content initialization, disabled Identity Service Login features in UI
@Cervator
Copy link
Member

Thanks for the PR @Ankhell ! I hope you don't mind hanging on for just a bit, we're in the middle of extracting our UI system this weekend (and maybe a bit longer) which might mean this change would have to be replicated / moved to its new repo https://github.com/MovingBlocks/TeraNUI and specifically its v1.x branch.

Will get to this as soon as otherwise able :-)

@Cervator Cervator added the Topic: UI/UX Requests, Issues and Changes related to screens, artwork, sound and overall user experience label Aug 15, 2020
@Cervator
Copy link
Member

Alright, TeraNUI is officially live! #4017 has been merged.

@Ankhell would you be up for replicating this change in a PR made against https://github.com/MovingBlocks/TeraNUI/tree/release/v1.x ? It should be about the same code.

You can re-embed the TeraNUI source into a game engine workspace with groovyw lib get TeraNUI which should place the source under libs/TeraNUI (you may then have to check out the release/v1.x branch for the library) - you should find the exact same classes in there, you would then just push it to a fork of TeraNUI you'd make and create a new PR there. Testing the game should work the same after you've retrieved the library code :-)

If any questions feel free to hop on Discord for live chat sometime!

@Ankhell
Copy link
Contributor Author

Ankhell commented Aug 19, 2020

@Cervator Sure thing I would do that as soon as I would have some spare time (:

@pollend
Copy link
Member

pollend commented Aug 29, 2020

the relevant code for this has been moved to this module: @Ankhell https://github.com/MovingBlocks/TeraNUI

@jdrueckert jdrueckert changed the title fixes #4104 fix(#4104): disable identity service login ui features Sep 9, 2020
@jdrueckert
Copy link
Member

Hi @Ankhell, quickly checking in: What do you think when you'll find "some spare time"? 🙃 More like this week / this month / next month / before the end of the year?
And please don't mistake this for putting pressure on you, I'm just interested in the topic ;)

@Ankhell
Copy link
Contributor Author

Ankhell commented Sep 9, 2020

Hi @Ankhell, quickly checking in: What do you think when you'll find "some spare time"? 🙃 More like this week / this month / next month / before the end of the year?
And please don't mistake this for putting pressure on you, I'm just interested in the topic ;)

I'm terribly sorry for being lost, moved AbstactWidget part to TeraNUI MovingBlocks/TeraNUI#28 and left everything else here, hope that's what I was supposed to do

@jdrueckert
Copy link
Member

@Ankhell Thanks for the update and the PR on TeraNUI!
Ideally, these changes should go against release/v1.x as that's the TeraNUI release Terasology works with atm.
Probably it's okay, though, to do it against master and cherry-pick the change to release/v1.x afterwards, right @Cervator / @skaldarnar ?

@Ankhell
Copy link
Contributor Author

Ankhell commented Sep 9, 2020

@jdrueckert moved PR to the correct branch MovingBlocks/TeraNUI#29

@Cervator
Copy link
Member

All good with the new branch, thanks @Ankhell 👍

@jdrueckert I don't know cherry pick well enough to really have an idea if it'll work well in both directions. I get the feeling Git will probably be able to recognize the same commits, but am less sure how much hassle it would be for us to catch all the commits to cherry pick. No worries on this change for now at least :-)

@jdrueckert
Copy link
Member

So I finally got to try this out (naturally in combination with MovingBlocks/TeraNUI#29). However, I found that the main menu UI still shows elements related to the identity storage service:
image
image

@Ankhell Did I misunderstand the intended effect of the PR? I thought these UI features were to be removed by your PR? Please correct me if I'm wrong 😅

@Ankhell
Copy link
Contributor Author

Ankhell commented Sep 19, 2020

@jdrueckert according to the name of this issue #4104 it was necessary to disable that part of UI, not to remove it, am I right, @skaldarnar ?

@jdrueckert
Copy link
Member

@Ankhell As skal is currently sitting behind the wheel (at 200 km/h ^^) let me answer this: The identity Server currently doesn't work. That's why we don't want it to be visible to the users at the moment, that includes removing it the two elements I mentioned above from the UI.
The settings UI elements can stay though as we hope to get it to work again in the short- to midterm future. However, disabling any related buttons (I'm currently on the phone and not sure at the moment how exactly this looks like in the settings) would make sense.

@jdrueckert
Copy link
Member

Hi @Ankhell any news yet? Did you find some time to take out the UI parts or do you need explicit confirmation by @skaldarnar 😅

Copy link
Member

@skaldarnar skaldarnar left a comment

Choose a reason for hiding this comment

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

This does not solve the issue completely, but it's a step in the right direction. Will follow-up on the main menu notification in a separate PR.

@skaldarnar skaldarnar changed the title fix(#4104): disable identity service login ui features chore(settings): disable identity service login ui features Nov 1, 2020
@skaldarnar skaldarnar added this to the v4.1.0 milestone Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: UI/UX Requests, Issues and Changes related to screens, artwork, sound and overall user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants