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

BC-4229-Removing nexboards #3412

Merged
merged 21 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,6 @@
"toTask": "Zur Aufgabe"
},
"text": {
"announcement": "<b>Wichtige Ankündigung:</b> Das Tool neXboard wird durch <b>tldraw</b> ersetzt. Sichern Sie Ihre Inhalte aus den neXboards, die Sie weiter verwenden wollen, bitte bis zum <b>15.03.2024</b>. Bis dahin können angelegte neXboards weiterhin verwendet werden. Hier finden Sie <a target=\"_blank\" class=\"alert-link\" rel=\"noopener noreferrer\" href=\"https://blog.dbildungscloud.de/von-nexboard-zu-tldraw/\">Möglichkeiten der Sicherung und weitere Informationen</a>.",
"emptyHomeworksInfo": "Keine gestellten Aufgaben. Du findest alle Aufgaben im Aufgaben-Bereich.",
"emptyNewsInfo": "Bisher gibt es keine News.",
"graded": "Bewertet",
Expand Down Expand Up @@ -3183,31 +3182,27 @@
"etherpad": "Etherpad",
"geoGebraWorksheet": "GeoGebra Arbeitsblatt",
"material": "Lern-Material",
"neXboard": "neXboard",
"text": "Text",
"h5p": "H5P"
},
"input": {
"brainstormAboutXYZ": "Brainstorming zum Thema XYZ",
"createNewNeXboard": "Neues neXboard anlegen",
"createsListInEtherpad": "Erstellt im nachfolgenden Etherpad eine Pro-Contra-Liste zum Thema XYC",
"createsListInNeXboard": "Erstellt im nachfolgendem neXboard eine Pro-Contra-Liste zum Thema XYC",
"createsListInNeXboard": "Erstellt im nachfolgendem Whiteboard eine Pro-Contra-Liste zum Thema XYC",
"GeoGebraEnterId": "GeoGebra Material-ID eingeben, z.B. kEBfU7AR",
"keepNeXboard": "neXboard beibehalten",
"sectionTitle": "Titel des Abschnitts",
"selectNeXboard": "neXboard auswählen"
"sectionTitle": "Titel des Abschnitts"
},
"label": {
"descriptionEtherpad": "Beschreibung des Etherpads",
"descriptionNeXboard": "Beschreibung des neXboards",
"descriptionNeXboard": "Beschreibung des Whiteboards",
"internalLink": "URL der Aufgabe",
"lockSection": "Abschnitt sperren",
"nameOfEtherpad": "Name des Etherpads",
"nameOfNeXboard": "Name des neXboards",
"nameOfNeXboard": "Name des Whiteboards",
"openSection": "Abschnitt entsperren",
"selectNeXboard": "neXboard auswählen",
"theLinkHasToBeginWith": "Der Link muss mit '{{- baseUrl}}/homework' beginnen! Die Schüler:innen müssen Zugriff auf die Aufgabe haben, um diese hier eingebunden zu sehen. Achtung: Wenn du dieses Thema oder den ganzen Kurs per Sharing-Code mit einer anderen Lehrkraft teilst, werden die auf diese Weise eingebundenen Aufgaben derzeit nicht berücksichtigt.",
"youllFindTheIdOn": "Die Material-ID finden Sie in der URL zu dem GeoGebra-Arbeitsblatt, was sie online abgespeichert haben. Bei z.B. https://www.geogebra.org/m/e6g4adXp ist die Material-ID 'e6g4adXp'"
"youllFindTheIdOn": "Die Material-ID finden Sie in der URL zu dem GeoGebra-Arbeitsblatt, was sie online abgespeichert haben. Bei z.B. https://www.geogebra.org/m/e6g4adXp ist die Material-ID 'e6g4adXp'",
"nexboardInfo": "Wie angekündigt, wurde das Whiteboard-Tool neXboard am 15. März 2024 von unserer Plattform entfernt. Als Ersatz ist nun das innovative Whiteboard-Tool tldraw im Spaltenboard verfügbar. Besuchen Sie unseren Blogbeitrag für detaillierte Anleitungen und Informationen."
}
}
},
Expand Down
17 changes: 6 additions & 11 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,6 @@
"toTask": "To the task"
},
"text": {
"announcement": "<b>Important announcement:</b> The neXboard tool will be replaced by <b>tldraw</b>. Please back up your content from the neXboards that you wish to continue using by <b>15.03.2024</b>. Until then, neXboards you have created can still be used. Here you can find <a target=\"_blank\" class=\"alert-link\" rel=\"noopener noreferrer\" href=\"https://blog.dbildungscloud.de/von-nexboard-zu-tldraw/\">backup options and further information</a>.",
"emptyHomeworksInfo": "No assigned tasks. You can find all tasks in the tasks area.",
"emptyNewsInfo": "So far there is no news.",
"graded": "Graded",
Expand Down Expand Up @@ -3183,31 +3182,27 @@
"etherpad": "Etherpad",
"geoGebraWorksheet": "GeoGebra worksheet",
"material": "Learning material",
"neXboard": "neXboard",
"text": "Text",
"h5p": "H5P"
},
"input": {
"brainstormAboutXYZ": "Brainstorming on the topic XYZ",
"createNewNeXboard": "Create new neXboard",
"createsListInEtherpad": "Creates in the following Etherpad a Pro-Contra list on the topic XYC",
"createsListInNeXboard": "Creates in the following neXboard a Pro-Contra-list on the topic XYC",
"createsListInNeXboard": "Create a pro-con list on the topic of XYC on the following whiteboard",
"GeoGebraEnterId": "Enter GeoGebra Material ID, e.g. kEBfU7AR",
"keepNeXboard": "Maintain neXboard",
"sectionTitle": "Title of the section",
"selectNeXboard": "Select neXboard"
"sectionTitle": "Title of the section"
},
"label": {
"descriptionEtherpad": "Description of the Etherpad",
"descriptionNeXboard": "Description of the neXboard",
"descriptionNeXboard": "Description of the whiteboard",
"internalLink": "URL of task",
"lockSection": "Lock section",
"nameOfEtherpad": "Name of the Etherpad",
"nameOfNeXboard": "Name of the neXboard",
"nameOfNeXboard": "Name of the whiteboard",
"openSection": "Unlock section",
"selectNeXboard": "Select neXboard",
"theLinkHasToBeginWith": "The link must begin with '{{- baseUrl}} / task'! Students must have access to the task to see it included here. Attention: If you share this topic or the entire course with another teacher using a sharing code, the tasks integrated in this way will currently not be considered.",
"youllFindTheIdOn": "You can find the material ID in the URL to the GeoGebra worksheet, which you have saved online. At e.g. https://www.geogebra.org/m/e6g4adXp the material ID is 'e6g4adXp'"
"youllFindTheIdOn": "You can find the material ID in the URL to the GeoGebra worksheet, which you have saved online. At e.g. https://www.geogebra.org/m/e6g4adXp the material ID is 'e6g4adXp'",
"nexboardInfo": "As announced, the whiteboard tool neXboard was removed from our platform on 15 March 2024. As a replacement, the innovative whiteboard tool tldraw is now available in the column board. Visit our blog post for detailed instructions and information."
}
}
},
Expand Down
17 changes: 6 additions & 11 deletions locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,6 @@
"toTask": "A la tarea"
},
"text": {
"announcement": "<b>Anuncio importante:</b> La herramienta neXboard será sustituida por <b>tldraw</b>. Por favor, haga una copia de seguridad del contenido de los neXboards que desee seguir utilizando antes del <b>15 de marzo de 2024</b>. Los neXboards que haya creado podrán seguir utilizándose hasta entonces. Aquí encontrará <a target=\"_blank\" class=\"alert-link\" rel=\"noopener noreferrer\" href=\"https://blog.dbildungscloud.de/von-nexboard-zu-tldraw/\">opciones de copia de seguridad y más informaciones</a>.",
"emptyHomeworksInfo": "No hay tareas asignadas. Puedes encontrarar todas las tareas en el área de tareas.",
"emptyNewsInfo": "Hasta el momento no hay noticias.",
"graded": "Calificado",
Expand Down Expand Up @@ -3183,31 +3182,27 @@
"etherpad": "Etherpad",
"geoGebraWorksheet": "Hoja de trabajo de GeoGebra",
"material": "Material de aprendizaje",
"neXboard": "neXboard",
"text": "Texto",
"h5p": "H5P"
},
"input": {
"brainstormAboutXYZ": "Lluvia de ideas sobre el tema XYZ",
"createNewNeXboard": "Crear un nuevo neXboard",
"createsListInEtherpad": "Crea en el siguiente Etherpad una lista Pro-Contra sobre el tema XYC",
"createsListInNeXboard": "Crea en el siguiente neXboard una lista Pro-Contra sobre el tema XYC",
"createsListInNeXboard": "Crea una lista de pros y contras sobre el tema de XYC en la siguiente pizarra",
"GeoGebraEnterId": "Introduce el ID del material de GeoGebra, por ejemplo, kEBfU7AR",
"keepNeXboard": "Mantener neXboard",
"sectionTitle": "Título de la sección",
"selectNeXboard": "Seleccionar neXboard"
"sectionTitle": "Título de la sección"
},
"label": {
"descriptionEtherpad": "Descripción de Etherpad",
"descriptionNeXboard": "Descripción de neXboard",
"descriptionNeXboard": "Descripción de la pizarra",
"internalLink": "URL de la tarea",
"lockSection": "Bloquear sección",
"nameOfEtherpad": "Nombre de Etherpad",
"nameOfNeXboard": "Nombre de neXboard",
"nameOfNeXboard": "Nombre de la pizzara",
"openSection": "Desbloquear sección",
"selectNeXboard": "Seleccionar neXboard",
"theLinkHasToBeginWith": "El enlace debe comenzar con '{{- baseUrl}} / ¡tareas! Los estudiantes deben tener acceso a las tareas para verlas incluidas aquí. Atención: si compartes este tema o todo el curso con otro profesor usando un código para compartir, las tareas integradas de esta manera no se tendrán en cuenta.",
"youllFindTheIdOn": "Puedes encontrar la ID del material en la URL de la hoja de trabajo de GeoGebra que has guardado en línea. Por ejemplo, en https://www.geogebra.org/m/e6g4adXp, la ID del material es 'e6g4adXp'"
"youllFindTheIdOn": "Puedes encontrar la ID del material en la URL de la hoja de trabajo de GeoGebra que has guardado en línea. Por ejemplo, en https://www.geogebra.org/m/e6g4adXp, la ID del material es 'e6g4adXp'",
"nexboardInfo": "Como se anunció, la herramienta de pizarra neXboard se eliminó de nuestra plataforma el 15 de marzo de 2024. Como reemplazo, la innovadora herramienta de pizarra blanca tldraw está ahora disponible en el tablero de columnas. Visite nuestra entrada del blog para obtener instrucciones e información detalladas."
}
}
},
Expand Down
17 changes: 6 additions & 11 deletions locales/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"welcome": "Вітаємо"
},
"text": {
"announcement": "<b>Важливе оголошення:</b> Інструмент neXboard буде замінено на <b>tldraw</b>. Будь ласка, створіть резервну копію вашого контенту на дошках neXboards, які ви хочете продовжувати використовувати, до <b>15 березня 2024</b> року. Створені вами дошки neXboards можна буде використовувати до цього часу. Тут ви можете знайти <a target=\"_blank\" class=\"alert-link\" rel=\"noopener noreferrer\" href=\"https://blog.dbildungscloud.de/von-nexboard-zu-tldraw/\">варіанти резервного копіювання та додаткову інформацію</a>.",
"notFound": "Активних записів не знайдено.",
"emptyHomeworksInfo": "Усі домашні завдання показуються в розділі домашніх завдань.",
"emptyNewsInfo": "Немає останніх новин. Перегляньте розділ новин, щоб бути в курсі.",
Expand Down Expand Up @@ -2162,32 +2161,28 @@
"input": {
"sectionTitle": "Назва розділу",
"brainstormAboutXYZ": "Мозковий штурм на тему XYZ",
"createNewNeXboard": "Створити новий neXboard",
"createsListInEtherpad": "Створює в наступному Etherpad список Pro-Contra на тему XYC",
"createsListInNeXboard": "Створює в наступному neXboard Pro-Contra-список на тему XYC",
"GeoGebraEnterId": "Введіть ідентифікатор матеріалу GeoGebra, напр. kEBfU7AR",
"keepNeXboard": "Підтримувати neXboard",
"selectNeXboard": "Вибрати neXboard"
"createsListInNeXboard": "Створіть список за і проти на тему XYC на наступній дошці",
"GeoGebraEnterId": "Введіть ідентифікатор матеріалу GeoGebra, напр. kEBfU7AR"
},
"button": {
"geoGebraWorksheet": "Бланк завдання GeoGebra",
"text": "Текст",
"material": "Навчальний матеріал",
"etherpad": "Etherpad",
"neXboard": "neXboard",
"h5p": "H5P"
},
"label": {
"descriptionEtherpad": "Опис Etherpad",
"descriptionNeXboard": "Опис neXboard",
"descriptionNeXboard": "Опис дошки",
"lockSection": "Заблокувати розділ",
"nameOfEtherpad": "Назва Etherpad",
"nameOfNeXboard": "Назва neXboard",
"nameOfNeXboard": "Назва дошки",
"openSection": "Розблокувати розділ",
"selectNeXboard": "Вибрати neXboard",
"theLinkHasToBeginWith": "Посилання має починатися з «{{- baseUrl}} / домашнє завдання»! Учні повинні мати доступ до домашнього завдання, щоб побачити його тут. Увага: якщо ви поділитеся цією темою або всім курсом з іншим викладачем за допомогою поширеного коду, завдання, інтегровані таким чином, наразі не розглядатимуться.",
"youllFindTheIdOn": "Ідентифікатор матеріалу можна знайти в URL-адресі робочого аркуша GeoGebra, який ви зберегли в Інтернеті. Напр., на вебсторінці https://www.geogebra.org/m/e6g4adXp ідентифікатор матеріалу — \"e6g4adXp\"",
"internalLink": "URL-адреса завдання"
"internalLink": "URL-адреса завдання",
"nexboardInfo": "Як ми вже повідомляли, інструмент для створення дошок neXboard було видалено з нашої платформи 15 березня 2024 року. Замість нього тепер доступний інноваційний інструмент для роботи з дошкою tldraw у колонній дошці. Відвідайте наш блог для отримання детальних інструкцій та інформації."
},
"aria_label": {
"chooseContent": "Вибрати типи контенту для своєї теми",
Expand Down
20 changes: 0 additions & 20 deletions static/scripts/topicEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ class TopicBlockList extends React.Component {
* Render the list items.
*/
render() {
const neXboardEnabled = ($contentBlocksContainer.data('nexboardenabled') === true);
const h5pEditorEnabled = ($contentBlocksContainer.data('h5peditorenabled') === true);
return (
<div>
Expand Down Expand Up @@ -372,14 +371,6 @@ class TopicBlockList extends React.Component {
onClick={this.addBlock.bind(this, TopicResources)}>
{`+ ${$t('topic.topicEdit.button.material')}`}
</button>
{neXboardEnabled ? <button
type="button"
className="btn btn-secondary"
data-testid="topic-addcontent-nexboard-btn"
aria-label={$t('global.button.add')}
onClick={this.addBlock.bind(this, TopicNexboard)}>
{`+ ${$t('topic.topicEdit.button.neXboard')}`}
</button> : '' }
<button
type="button"
className="btn btn-secondary"
Expand Down Expand Up @@ -1017,17 +1008,6 @@ class TopicNexboard extends TopicBlock {
{(this.props.content || {}).description}
</textarea>
</div>
<div className="form-group">
<label>{$t('topic.topicEdit.label.selectNeXboard')}</label>
<select name={`contents[${this.props.position}][content][board]`}
className="chosen-select"
data-placeholder={$t('topic.topicEdit.input.selectNeXboard')}
id={(this.state.id)}
value={(this.props.content || {}).board}>
{(this.props.content || {}).board ? <option value={this.props.content.board}>{$t('topic.topicEdit.input.keepNeXboard')}</option> : ''}
<option value={this.state.newBoard} >{$t('topic.topicEdit.input.createNewNeXboard')}</option>
</select>
</div>
<input type="hidden" name={`contents[${this.props.position}][content][url]`}
value={(this.props.content || {}).url } />
</div>
Expand Down
23 changes: 0 additions & 23 deletions static/styles/dashboard/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -298,26 +298,3 @@
max-width: 85%;
}
}

.dashboard-notification {
display: flex;
color: #424242;
border: solid $secondaryColor;
border-radius: 4px;
border-width: 8px 1px 1px;
margin-top: 3rem;
padding: .75rem 1.25rem .75rem 0;

.dashboard-notification-text {
margin: 0
}

.alert-link {
font-weight: $alert-link-font-weight;
color: darken(#424242, 10%);
}

.externalLink:after {
display: none !important;
}
}
9 changes: 5 additions & 4 deletions static/styles/topics/topics.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@
}

.info-custom {
background-color: $colorGrey;
border-color: $colorLightGrey;
background-color: $colorWhite;
border-color: $colorInfo;
color: $fontColor;
display: flex;
flex-direction: row;
align-items: center;
align-items: flex-start;
border-top-width: 8px;
gap: 18px;

i {
margin: auto;
color: $colorInfo;
}
}
3 changes: 0 additions & 3 deletions views/dashboard/dashboard.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@
{{#ifeq (getConfig "DASHBOARD_ANNOUNCEMENT_ENABLED") true}}
{{#ifneq (getConfig "DASHBOARD_ANNOUNCEMENT_ROLES") ""}}
{{#if (userHasRoleFromArray (getConfig "DASHBOARD_ANNOUNCEMENT_ROLES") ../currentUser)}}
<div class="alert dashboard-notification" role="alert">
<i class="fa fa-fw fa-lightbulb-o fa-lg" style="margin: 6px 0.5rem 0 0.5rem; color: #38677A" aria-hidden="true"></i><p class="dashboard-notification-text">{{{$t "dashboard.text.announcement"}}}</p>
</div>
{{/if}}
{{/ifneq}}
{{/ifeq}}
Expand Down
6 changes: 4 additions & 2 deletions views/topic/components/content-neXboard.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<h2 class="h4">{{title}}</h2>
<p>{{content.description}}</p>
<iframe src="{{content.url}}?disableConference=true&username={{userInitials}}" style="width: 100%; height: 400px; resize: vertical; overflow: auto;"></iframe>
<a href="{{content.url}}?disableConference=true&username={{userInitials}}" target="_blank" class="pull-right">{{$t "global.link.openInNewTab" }}</a>
<div class="alert info-custom" role="alert">
<i class="fa fa-info-circle"></i>
<div>{{{$t "topic.topicEdit.label.nexboardInfo"}}}</div>
</div>
Loading