18 Commits

Author SHA1 Message Date
Sebastian Serth
f8330b39fb Replace manual activerecord translations with helpers 2024-05-21 19:42:26 +02:00
Sebastian Serth
e551c8a699 Reorder translations and add missing prefixes
- files should be prefixed with code_ocean/
- the markdown editor is part of the application (helper)
2024-05-21 19:42:26 +02:00
Julia Casamitjana
17a4485ce2 Rename PagedownFormBuilder to MarkdownFormBuilder
The term 'Pagedown' was originally associated with the pagedown-bootstrap
library, which is no longer in use.
2024-04-26 13:31:49 +02:00
Julia Casamitjana
9c71c6667a Install and use ToastUi markdown editor
Replace all usages of pagedown-bootstrap editor with the new editor.
Add styles to ensure the editor preview matches the final output.
2024-04-26 13:31:49 +02:00
Sebastian Serth
9a9efd5caa Lint Slim files and fix offenses
The fixing was partially done manually and partially automatically.
2024-04-18 08:31:24 +02:00
Sebastian Serth
a99da79550 Disable sorttable on tables without rows
Otherwise, the first element of the table body is being fetched which might result in an error for empty tables.

Fixes CODEOCEAN-JZ
2023-03-14 18:27:38 +01:00
Sebastian Serth
8a055a0d68 Update Bootstrap from v4 to v5 2022-08-12 11:45:32 +02:00
Sebastian Serth
d223abfb5e Update from webpacker v5 to shakapacker v6.0.0.rc13
Using a two-step process is recommended:
332e25186a/docs/v6_upgrade.md
2022-08-12 10:22:55 +02:00
Sebastian Serth
b98c37ae64 Rename v4 FontAwesome icons to match v5/v6 name
While FontAwesome provides aliases for all icons, we switch to the new names for consistency. See all changes at:
https://fontawesome.com/docs/web/setup/upgrade/upgrade-from-v4#icons-renamed-since-version-4
2022-08-09 14:17:32 +02:00
Sebastian Serth
d93e71dc28 Rename v5 FontAwesome icons to match v6 name
While FontAwesome provides aliases for all icons, we switch to the new names for consistency. See all changes at:
https://fontawesome.com/docs/web/setup/upgrade/whats-changed#icons-renamed-in-version-6
2022-08-09 14:17:32 +02:00
Sebastian Serth
a72c022e4a Fix numbering shown for nested tips 2021-02-01 15:55:56 +01:00
Sebastian Serth
a9008d2a26 Improve numbering format for tips 2020-10-25 17:24:25 +01:00
Sebastian Serth
23a045c630 [Cosmetic] Add newline to end of file 2020-10-14 14:34:27 +02:00
Sebastian Serth
2678d9ecdf Add admin UI to assign tips to exercises 2020-10-14 14:34:27 +02:00
Sebastian Serth
e550828c58 Add backend for tips and enable markdown support 2020-10-14 14:34:26 +02:00
Sebastian Serth
dce5998a2a Fix styling for multiple, nested cards 2020-10-14 14:34:26 +02:00
Sebastian Serth
edd8e3bb35 Store events for tip expanding and collapsing 2020-10-14 14:34:26 +02:00
Sebastian Serth
8f8a4f3cca Show tips when implementing an exercise 2020-10-14 14:34:26 +02:00