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

Add support for hiding/unhiding objects #884

Merged
merged 31 commits into from
Jul 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9a78a9b
feat: add `is_hidden` field to models
dodumosu Apr 19, 2022
8c34353
feat: add data migration
dodumosu Apr 20, 2022
5487018
feat: update list view and template
dodumosu Apr 22, 2022
efd7261
feat: remove hidden forms and events from UI
dodumosu Apr 22, 2022
477649d
feat: form list hiding (first version)
dodumosu Apr 25, 2022
f0a14ed
fix: ensure toggles work, backend and front end
dodumosu Apr 26, 2022
8bc623c
feat: make RR and QA dashboards inaccessible
dodumosu Apr 26, 2022
921f54e
chore: change logic
dodumosu Apr 26, 2022
515ca89
chore: update fixtures
dodumosu May 4, 2022
1e38016
fix: update fixtures
dodumosu May 4, 2022
ae7c882
fix: update fixtures
dodumosu May 4, 2022
b3d03c2
chore: remove unused import
dodumosu Aug 16, 2023
2ba60c7
feat: reorder migrations and fix rendering
dodumosu Aug 16, 2023
ed20655
feat: don't show hidden events
dodumosu Aug 16, 2023
442926e
fix: specify columns
dodumosu Mar 12, 2024
0cc4940
feat: explicitly make columns not nullable
dodumosu Mar 12, 2024
c070a27
chore: update migration so columns are not nullable
dodumosu Mar 12, 2024
55d7572
chore: change labels
dodumosu Mar 12, 2024
7e45fc9
chore: don't show submissions for archived forms
dodumosu Mar 12, 2024
dc3f7f3
chore: reorder migrations
dodumosu May 1, 2024
fc0d837
fix: set the server_default option on archivable models
dodumosu May 2, 2024
c004063
fix: use correct filter method
dodumosu May 13, 2024
8d4abaf
fix: workaround for flask-admin
dodumosu May 13, 2024
3bb957c
chore: minor refactor
dodumosu May 13, 2024
bc5c973
fix: override parent method in Event admin class
dodumosu May 14, 2024
d046314
chore: add hidden icon, remove default checked status on archived forms
dodumosu May 14, 2024
ad3610f
feat: add custom form converter
dodumosu May 14, 2024
09ff82f
feat: remove hidden location sets when creating/editing participant sets
dodumosu May 14, 2024
cf2be16
chore: refactor
dodumosu May 15, 2024
470ee6c
fix: archival buttons should respond to toggle all checkbox
dodumosu May 16, 2024
684ecfa
feat: various changes
dodumosu May 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: don't show hidden events
for checklist/survey generation
  • Loading branch information
dodumosu committed May 1, 2024
commit ed2065542df4f9adad08508b077667a20aea450a
4 changes: 3 additions & 1 deletion apollo/formsframework/views_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ def forms_list(view):
'forms': all_forms,
'checklist_forms': checklist_forms,
'survey_forms': survey_forms,
'events': models.Event.query.order_by('name').all(),
'events': models.Event.query.filter_by(
models.Event.is_hidden == False
).order_by('name').all(),
'roles': models.ParticipantRole.query.order_by('name').all(),
'location_types': models.LocationType.query.all(),
'breadcrumbs': breadcrumbs,
Expand Down