Skip to content

Commit 0d0eb40

Browse files
martin-henzgerhean
authored andcommitted
Mission editing master (#519)
* update js-slang imports, and use null for empty list * pass tests * pass tests * format all external libraries with prettier * Update README.md * missionOverviews missionOverviews can now be added * minorOverviewChanges * minorOverviewChanges1 * AddedAssignmentSupport * minorOverviewChanges2 * placed xmlpharser in alt file * update js-slang to version 0.2.0 * update acorn, fix order of imports * update readme * created editing folder copy of assessment, may be merged later * added interface * library parsing * Local storage Missions are now loaded in local storage * packages fixed * export library * Added Template Reset Feature * Added UI to edit assessmentsOverview * Moved edititngOverviewCard logic new file edititngOverviewCard * export added * minor debugging * fixed xmlParser * added autofocus * sync stuff * Added EditAssessment component * Bug fixes * More bug fixes * move importfilecomponents * localretrive functions added * Added EditingAssessmentForm to edit missions * Bug fixes and added MakeMission button * Use alpha version of js-slang, with verbose messages and native enabled * Update js-slang to alpha-3 * Bug fixes * Added toggle editing mode * Edited style * Bug fixes * overhaulStuff * click to edit added mcq not working * mcq question tabs added * added incubator * code refactoring editing content tab * cleanup unused code * minor clean * code refactoring assessment templates * Added manageQuestion tab * enzyme update * add example xml * library selection added * code clean moved new stuff to incubator folder setup new tests * removed editing from assessment * Update NavigationBar.tsx.snap * Prettify * Update index.tsx * yarn format * bug fixes * yarn format * Mission editing slang (#479) * bug fixes * yarn format * moved editing side content tabs * Update EditingWorkspace.tsx * seperated question template tab * update question template tab * tab clean up * added ManageQuestionTab * complete split up of editingContentsTab * yarn format * Update QuestionTemplateTab.tsx * signal unsavedChanges * GlobalDeployment Added * yarn format * Update GlobalDeploymentTab.tsx nicer symbol editing * nicer buttons * Mission editing slang (#483) * Update GlobalDeploymentTab.tsx nicer symbol editing * nicer buttons * made local deployment and added globals editing * yarn format * Merge branch 'pr/486' into mission-editing * minor bug fix * Mission editing update (#486) * Update GlobalDeploymentTab.tsx nicer symbol editing * nicer buttons * made local deployment and added globals editing * yarn format * minor bug fix * Auto update overview maxGrade/Xp * xp bug fix * Update NavigationBar.tsx.snap * Update EditingWorkspace.tsx * Reset button added * fixed bugs globals fixed previous button fixed new template fixed added manual library refresh fixed graderdeployment * yarn format * Mission editing slang (#489) * Added Template Reset Feature * Update GlobalDeploymentTab.tsx nicer symbol editing * nicer buttons * made local deployment and added globals editing * yarn format * minor bug fix * Auto update overview maxGrade/Xp * xp bug fix * Update NavigationBar.tsx.snap * Update EditingWorkspace.tsx * Reset button added * fixed bugs globals fixed previous button fixed new template fixed added manual library refresh fixed graderdeployment * yarn format * placeholder for overview card * Mission editing slang (#496) * Added Template Reset Feature * Update GlobalDeploymentTab.tsx nicer symbol editing * nicer buttons * made local deployment and added globals editing * yarn format * minor bug fix * Auto update overview maxGrade/Xp * xp bug fix * Update NavigationBar.tsx.snap * Update EditingWorkspace.tsx * Reset button added * fixed bugs globals fixed previous button fixed new template fixed added manual library refresh fixed graderdeployment * yarn format * placeholder for overview card * better placeholders * Merge pull request #12 from source-academy/mission-editing (#498) * fix import for firefox (#499) * Mission editing slang (#500) * fix import for firefox * increase abstraction removed numberRange from textArea Reduced save frequency of solutionTemplate * an update (#501) * Removed previous button on first question, added divider * Yarn format * Changeded help description * fix import for firefox * max width for globals * symbols aligned * increase abstraction removed numberRange from textArea Reduced save frequency of solutionTemplate * manage questions give warning * UI change for deployment tab * Mission editing slang (#502) * Removed previous button on first question, added divider * Yarn format * Changeded help description * fix import for firefox * max width for globals * symbols aligned * increase abstraction removed numberRange from textArea Reduced save frequency of solutionTemplate * manage questions give warning * UI change for deployment tab * fixed maxGrade and maxXP calculation * added local/global switch * adjust mcq options * split question template tab added suggested answer editing * swap answer and solutionTemplate internal change * add reading * add grading deployment * Mission editing slang (#503) * Removed previous button on first question, added divider * Yarn format * Changeded help description * fix import for firefox * max width for globals * symbols aligned * increase abstraction removed numberRange from textArea Reduced save frequency of solutionTemplate * manage questions give warning * UI change for deployment tab * fixed maxGrade and maxXP calculation * added local/global switch * adjust mcq options * split question template tab added suggested answer editing * swap answer and solutionTemplate internal change * add reading * add grading deployment * clone question shift question added * fixed symbol formating * Mission editing slang (#505) * Removed previous button on first question, added divider * Yarn format * Changeded help description * fix import for firefox * max width for globals * symbols aligned * increase abstraction removed numberRange from textArea Reduced save frequency of solutionTemplate * manage questions give warning * UI change for deployment tab * fixed maxGrade and maxXP calculation * added local/global switch * adjust mcq options * split question template tab added suggested answer editing * swap answer and solutionTemplate internal change * add reading * add grading deployment * clone question shift question added * fixed symbol formating * changed manage questions ui * yarn format * added more overview options * add editing persist * Update ManageQuestionTab.tsx * Mission editing slang (#512) * Removed previous button on first question, added divider * Yarn format * Changeded help description * fix import for firefox * max width for globals * symbols aligned * increase abstraction removed numberRange from textArea Reduced save frequency of solutionTemplate * manage questions give warning * UI change for deployment tab * fixed maxGrade and maxXP calculation * added local/global switch * adjust mcq options * split question template tab added suggested answer editing * swap answer and solutionTemplate internal change * add reading * add grading deployment * clone question shift question added * fixed symbol formating * changed manage questions ui * yarn format * added more overview options * add editing persist * Update ManageQuestionTab.tsx * small updates editor value now saved * temp remove editor functionalites * yarn format * Mission editing slang (#517) * Removed previous button on first question, added divider * Yarn format * Changeded help description * fix import for firefox * max width for globals * symbols aligned * increase abstraction removed numberRange from textArea Reduced save frequency of solutionTemplate * manage questions give warning * UI change for deployment tab * fixed maxGrade and maxXP calculation * added local/global switch * adjust mcq options * split question template tab added suggested answer editing * swap answer and solutionTemplate internal change * add reading * add grading deployment * clone question shift question added * fixed symbol formating * changed manage questions ui * yarn format * added more overview options * add editing persist * Update ManageQuestionTab.tsx * small updates editor value now saved * temp remove editor functionalites * yarn format * remove edit persist * Update context.ts * super refactoring * screenshot update * more refactor * Merge master into mission-editing * Update README.md * remove Carriage Return * Update test.sh * fix merge compatibility Compatibility with collab editing fixed. Local storage methods are now mostly abstracted to xml parse helper.
1 parent 5b2a865 commit 0d0eb40

30 files changed

+8276
-4914
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ Note that this copies your files over, any future changes will not be reflected.
4949

5050
You may try [this](https://medium.com/@alexishevia/the-magic-behind-npm-link-d94dcb3a81af) for a smoother experience.
5151

52-
## For Editing And Creating New Local XML Missions
53-
54-
1. Use the branch 'mission-editing' in cadet-frontend
55-
2. Run in browser with npm start
56-
2. Go to Incubator tab.
57-
5852
## Application Structure
5953

6054
1. `actions` contains action creators, one file per reducer, combined in index.
@@ -70,4 +64,4 @@ You may try [this](https://medium.com/@alexishevia/the-magic-behind-npm-link-d94
7064

7165
## TypeScript Coding Conventions
7266

73-
We reference [this guide](https://github.com/piotrwitek/react-redux-typescript-guide).
67+
We reference [this guide](https://github.com/piotrwitek/react-redux-typescript-guide).

0 commit comments

Comments
 (0)