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

Implement views for file actions #87

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

JasonGrace2282
Copy link
Member

@JasonGrace2282 JasonGrace2282 commented Sep 12, 2024

This PR adds a marketplace for file actions.

How it looks on mobile

Changelog

  • Add a description field to FileAction
    • Right now it's a CharField(max_length=100), it should be discussed whether a TextField or a CharField with a larger length limit is needed.
  • Add a view for managing file actions
    • Teachers can add and remove file actions from their course here.
    • Redirects to a new create/edit view
  • Add a create/edit view.
    • If ?copy=1 is passed, it will create a copy of a file action.
  • Changes css rule .btn.btn-ion to .btn-ion
    • It was confusing if .btn did anything, or if you were supposed to do .btn.tin-btn, etc.

TODO

  • CSS
  • "Marketplace" for courses
  • Views
  • Docs
  • Tests

Closes #7

@JasonGrace2282 JasonGrace2282 added the enhancement New feature or request label Sep 12, 2024
@JasonGrace2282 JasonGrace2282 self-assigned this Sep 12, 2024
@JasonGrace2282 JasonGrace2282 force-pushed the file-action branch 4 times, most recently from 10115b6 to d0451eb Compare October 18, 2024 02:24
@JasonGrace2282
Copy link
Member Author

This PR is now ready to be tested and reviewed!
About documenting the usage of FileAction, I would prefer to merge #72 before writing docs about file actions here.

@JasonGrace2282 JasonGrace2282 marked this pull request as ready for review October 19, 2024 01:39
@JasonGrace2282 JasonGrace2282 requested a review from a team as a code owner October 19, 2024 01:39
@JasonGrace2282 JasonGrace2282 force-pushed the file-action branch 3 times, most recently from 0f0cc07 to b712a21 Compare October 19, 2024 02:36
css > js
Also fixes some other test stuff that makes
bad error messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement file actions management
1 participant