-
Notifications
You must be signed in to change notification settings - Fork 77
Prefill fields in record submitter if possible #298
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
base: master
Are you sure you want to change the base?
Conversation
a4798fa to
7261733
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #298 +/- ##
==========================================
- Coverage 36.16% 36.04% -0.13%
==========================================
Files 121 121
Lines 5837 5857 +20
==========================================
Hits 2111 2111
- Misses 3726 3746 +20 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks a lot for this! I really like having it pre-select the demon as well. But I really don't think the submitter needs to be (or should be) on its own page. Could you revert that part of this PR? |
Why do you think that? This PR originally started as just adding prefilling, but while doing so it felt like I would have to “pollute” multiple routes with logic and data just for the record submitter. I think having a single form instance on a dedicated page, rather than a collapsible widget that is inserted on multiple pages, would simplify code, especially for future modifications like in this case, form prefilling. My motivation for this change is almost purely technical implementation. I did consider how a page instead of a widget would impact the user and figured it doesn't. On the other hand the technical benefits I see are
I don't mind reverting this change (it would in fact make this PR much smaller), but I genuinely think this is an improvement. |
|
Sure, its simpler implementation wise, but i think for the user its a bit nicer to not have to navigate to a separate page, and also that a page with just the record submitter on it would simply look really empty |
This reverts commit 7261733.
|
Here you go. Personally don't like it, but done as requested. |
e942259 to
36b92a3
Compare
Record submitter has been moved to own page/demonlist/submit-record.Remove all previous record submitter instances.Removesubmittersearch parameter from/demonlist.demon=<position>search parameter).Fixes #293.
TODOs
valueattribute??)Remove any resulting obsolete JS logic, if there is anyLicense Acceptance
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.