Comments (5)
For pl-file-editor the typical use is that you can add to the bottom of your question.html:
<pl-submission-panel>
<pl-file-preview></pl-file-preview>
</pl-submission-panel>
from prairielearn.
If you want to see a formatted preview of your markdown submission instead, you can use:
<pl-submission-panel>
<pl-xss-safe submitted-file-name="set1.md" language="markdown"></pl-xss-safe>
</pl-submission-panel>
from prairielearn.
I'll do that in the future; thanks! For folks who do not use this though, I wonder if one of the three options above might be a better default than a blank box? Most other elements show some representation of the submitted answer by default rather than a blank box.
from prairielearn.
@mwest1066 can probably talk to this further, but I believe changing this now may affect a lot of courses that rely on the current behavior.
from prairielearn.
I agree that the current behavior is not good, and that we really should have some kind of default submission display. The backward compatibility problem that @jonatanschroeder mentions is definitely a problem, however. @nwalters512 tagging you in on this in case you've got any good ideas.
from prairielearn.
Related Issues (20)
- Running instruction HOT 6
- LLM Autograding MVP HOT 1
- Jupyterlab workspace: implement gosu-helper functionality or equivalent
- Plan for question versioning
- Random reordering of some assessment columns in exported gradebooks HOT 1
- Errors generating files in workspaces
- Add CI tests for dynamic workspace files
- Provide a way for element dependencies to be listed in a specific order HOT 1
- Add CI test for submission panel socket retrieval in external grading question
- Text overflow in Mobile view for pl-order-blocks component
- Add error handling if _workspace_files has invalid format
- Console error on assessment statistics page in obscure scenarios
- "Report an issue" button broken on manual grading instance question page
- Manual grading: show which questions have rubrics set up
- File processes do not handle URI decoding correctly
- Review consistency of file name restrictions in instructor file operations
- Bug: handling of line breaks in rubric item settings
- yarn install failed HOT 2
- bug: Sync code for shared questions doesn't check if question has been deleted
- bug on crash when cannot found course path and saml still try to work when disable. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prairielearn.