Skip to content

Conversation

pan93412
Copy link
Member

@pan93412 pan93412 commented Nov 27, 2024

Remarks:

  • Adapt for EasyAdmin "Pretty URL" feature.
    • docker: refresh the broken cache of Symfony when building
    • admin: remove batch actions (unsupported in Pretty URL)
    • events: use Pretty URL to the feedback URL
  • Replace deprecated icon names in EasyAdmin
  • Lazy-loading and remove unneeded components.
    • chart.js: mark to lazy load
    • bootstrap: refactor SCSS structure
    • bootstrap: leave only the components we do use
    • controllers: only load Bootstrap when we need it
    • challenge/executor: lazy loading CodeMirror editor
    • remove reduntant import and await
  • Reindex the questions when the question is updated
  • Migrate to SQL runner v2: https://github.com/database-playground/sqlrunner-v2
    • Drop out LockFactory since SQL runner v2 handles it well

@pan93412 pan93412 self-assigned this Nov 27, 2024
Also fix some bugs in SQL Runner SDK:

* Simplify exceptions (500 -> RunnerException)
* getContent() should not throws on non-200 errors
* Fix payload JSON casting
@pan93412 pan93412 changed the title Maintaince (2024-11-27) Maintainance (2024-11-27) Nov 27, 2024
@pan93412 pan93412 marked this pull request as ready for review November 27, 2024 18:31
@pan93412 pan93412 merged commit 31d48e5 into master Nov 27, 2024
2 checks passed
@pan93412 pan93412 deleted the maintainance-241127 branch November 27, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant