SEBSERV-502 added deprecation message

This commit is contained in:
anhefti 2024-02-28 10:59:42 +01:00
parent eac6bccb5f
commit 55501c36d4
2 changed files with 14 additions and 1 deletions

View file

@ -111,6 +111,13 @@ public class ProctoringSettingsPopup {
private final static LocTextKey RESET_SUCCESS_KEY =
new LocTextKey("sebserver.exam.proctoring.form.resetOk");
private final static LocTextKey DEPRECATION_MESSAGE =
new LocTextKey("sebserver.exam.proctoring.deprecation.message");
private final static LocTextKey DEPRECATION_NOTE =
new LocTextKey("sebserver.exam.proctoring.deprecation.title");
Function<PageAction, PageAction> settingsFunction(final PageService pageService, final boolean modifyGrant) {
return action -> {
@ -125,7 +132,7 @@ public class ProctoringSettingsPopup {
action.pageContext().getParent().getShell(),
pageService.getWidgetFactory())
.setDialogWidth(860)
.setDialogHeight(600);
.setDialogHeight(650);
final ResetButtonHandler resetButtonHandler = new ResetButtonHandler();
if (modifyGrant) {
@ -326,6 +333,10 @@ public class ProctoringSettingsPopup {
final RestService restService = this.pageService.getRestService();
final EntityKey entityKey = this.pageContext.getEntityKey();
final Composite warningPanel = this.pageService.getWidgetFactory().createWarningPanel(parent);
this.pageService.getWidgetFactory().labelLocalized(warningPanel, WidgetFactory.CustomVariant.TITLE_LABEL, DEPRECATION_NOTE);
this.pageService.getWidgetFactory().labelLocalized(warningPanel, WidgetFactory.CustomVariant.SUBTITLE, DEPRECATION_MESSAGE, null);
final Composite content = this.pageService
.getWidgetFactory()
.createPopupScrollComposite(parent);

View file

@ -830,6 +830,8 @@ sebserver.exam.proctoring.form.collect.strategy=Collecting Room Strategy
sebserver.exam.proctoring.form.collect.strategy.tooltip=This specifies the strategy how connecting SEB clients are collected into proctoring rooms
sebserver.exam.proctoring.form.collectingRoomSize=Collecting Room Size
sebserver.exam.proctoring.form.collectingRoomSize.tooltip=The size of proctor rooms to collect connecting SEB clients into.
sebserver.exam.proctoring.deprecation.title=Deprecation Note:
sebserver.exam.proctoring.deprecation.message=The SEB Server live proctoring integration with Zoom and Jitsi Meet has been deprecated since this version of SEB Server.<br/>This means live proctoring is still available for dedicated SEB versions, but not actively maintained and supported any more.
sebserver.exam.proctoring.form.appkey.jitsi=App Key
sebserver.exam.proctoring.form.appkey.jitsi.tooltip=The application key of the proctoring service server