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

Fix up registration modal #816

Merged
merged 8 commits into from
Jul 24, 2024

Conversation

Arnei
Copy link
Member

@Arnei Arnei commented Jul 8, 2024

This contains various changes to the adopter registration modal that should bring it in line with how it used to work and just generally make it look a bit better. For a list of changes see the commit messages.

Arnei added 6 commits July 5, 2024 13:48
... instead of throwing a form right in their face.
Headers in the Adopte Registration had their top
and bottom cut off.
Now that we show the information first again,
it makes sense to go back to the information from
the form.
In order to avoid words sticking together.
Adds back the summary page to the adopter
registration which will show you exactly what
data is being sent.
Make the thank you sentence at the end of the
adopter registration a little more readable.
@Arnei Arnei added the type:enhancement New feature or request label Jul 8, 2024
Copy link
Contributor

github-actions bot commented Jul 8, 2024

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/opencast-admin-interface:pr-816

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/opencast-admin-interface:pr-816

It may take a few seconds for the interface to spin up.
It will then be available at http://127.0.0.1:3000.
For more options you can pass on to the proxy, take a look at the README.md.

Copy link
Contributor

github-actions bot commented Jul 8, 2024

This pull request is deployed at test.admin-interface.opencast.org/816/2024-07-24_14-56-51/ .
It might take a few minutes for it to become available.

@lkiesow
Copy link
Member

lkiesow commented Jul 9, 2024

Not sure if it's part of what you intended to fix with this pull request, but I noticed that one major issue is that the statistical information are not displayed at all:

Screenshot from 2024-07-09 22-06-05

This is how this looked in the old interface:

Screenshot from 2024-07-09 22-06-56

@Arnei
Copy link
Member Author

Arnei commented Jul 10, 2024

Thanks for the info, did not notice statistical information is displayed here. Will look into it.

If the user agrees to sending usage statistics,
show them what statistics they are sending.
@lkiesow
Copy link
Member

lkiesow commented Jul 18, 2024

While there is now a section “statistical information”, that section is just empty. That doesn't seem right?
Screenshot from 2024-07-18 23-28-55

@gregorydlogan
Copy link
Member

gregorydlogan commented Jul 23, 2024

The reason Lars isn't seeing the statistical data is because he told Opencast not to send it. If you turn it on you see the data as expected. The bug here is that the whole UI component (Statistical Information, the textarea) should disappear if stats aren't being generated. Probably. It's still going to send the empty json object, but it won't contain data.

Edit: The previous behaviour was to replace those UI components with a simple No statistics data will be shared. From legacy.opencast.org:

image

gregorydlogan added a commit to gregorydlogan/opencast-admin-interface that referenced this pull request Jul 23, 2024
…rface into main

Pull request opencast#816

  Fix up registration modal
Instead of showing the user an empty json,
properly tell them that no statistics data will
be shared with their adopter registration if they
don't want to.
@gregorydlogan gregorydlogan merged commit 33def3c into opencast:main Jul 24, 2024
5 checks passed
@gregorydlogan gregorydlogan self-assigned this Jul 24, 2024
@lkiesow
Copy link
Member

lkiesow commented Jul 30, 2024

The reason Lars isn't seeing the statistical data is because he told Opencast not to send it. If you turn it on you see the data as expected.

@gregorydlogan, that's an incorrect assumption. I've selected to send user statistics, but this doesn't work unless you selected it in a previous registration attempt. I've filed the issue as #858. I've also added a video demoing the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants