-
Notifications
You must be signed in to change notification settings - Fork 2
Pre-release merge for submission v0.1-alpha #80
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
Conversation
ARXIVNG-1396 update text and display for withdrawal template
ARXIVNG-1395 Presentation, copy, accessibility for JREF template
ARXIVNG-1382 adjust padding and margins for file tree
ARXIVNG-1360 ARXIVNG-1341 ARXIVNG-1342 Withdrawals, deletions, JREF, and more
| submit things. It will look something like this: | ||
|
|
||
| ``` | ||
| submission-bootstrap | 1 [email protected] eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzZXNzaW9uX2lkIjoiYWQyY2UxNmUtMjQwNi00NjgwLWI2NWItMDE3NGYyNDA0MzhlIiwic3RhcnRfdGltZSI6IjIwMTktMDItMTNUMTI6MjM6MzQuMjE2NzcxLTA1OjAwIiwidXNlciI6eyJ1c2VybmFtZSI6InBpY29saW5lMjA1OEBnbWFpbC5jb20iLCJlbWFpbCI6InBpY29saW5lMjA1OEBnbWFpbC5jb20iLCJ1c2VyX2lkIjoxLCJuYW1lIjp7ImZvcmVuYW1lIjoiTWF1cmEiLCJzdXJuYW1lIjoiWmFyZW1iYSIsInN1ZmZpeCI6IlBhbiJ9LCJwcm9maWxlIjp7ImFmZmlsaWF0aW9uIjoiQ29ybmVsbCBVbml2ZXJzaXR5IiwiY291bnRyeSI6InVzIiwicmFuayI6Mywic3VibWlzc2lvbl9ncm91cHMiOlsiZ3JwX3BoeXNpY3MiXSwiZGVmYXVsdF9jYXRlZ29yeSI6ImFzdHJvLXBoLkdBIiwiaG9tZXBhZ2VfdXJsIjoiIiwicmVtZW1iZXJfbWUiOnRydWV9LCJ2ZXJpZmllZCI6ZmFsc2V9LCJjbGllbnQiOm51bGwsImVuZF90aW1lIjoiMjAxOS0wMi0xM1QyMjoyMzozNC4yMTY3NzEtMDU6MDAiLCJhdXRob3JpemF0aW9ucyI6eyJjbGFzc2ljIjowLCJlbmRvcnNlbWVudHMiOlsiKi4qIl0sInNjb3BlcyI6WyJwdWJsaWM6cmVhZCIsInN1Ym1pc3Npb246Y3JlYXRlIiwic3VibWlzc2lvbjp1cGRhdGUiLCJzdWJtaXNzaW9uOnJlYWQiLCJ1cGxvYWQ6cmVhZCIsInVwbG9hZDp1cGRhdGUiLCJ1cGxvYWQ6ZGVsZXRlIiwidXBsb2FkOnJlYWRfbG9ncyJdfSwiaXBfYWRkcmVzcyI6bnVsbCwicmVtb3RlX2hvc3QiOm51bGwsIm5vbmNlIjpudWxsfQ.iNOiCGVIZi5iipElLRyUlnx9uucdK7aytjkvr87FTvI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these be example.org addresses?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They could... the idea with using mimesis is we're generating random (hopefully) fake addresses. Is the worry that these might actually exist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was just being über paranoid on a Monday--not with how mimesis is being used at bootstrap time (totally fine) but how the real-looking examples are being commemorated in the README (and indexed, etc.).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to be paranoid. Created #92
| data, code, headers = controller(request.method, request_data, | ||
| request.session, submission_id, | ||
| **kwargs) | ||
| except (BadRequest, InternalServerError) as e: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most definitely. https://arxiv-org.atlassian.net/browse/ARXIVNG-2196
| {% else %} | ||
| {% if key %}<span class="icon"><i class="fa fa-folder-open-o"></i></span>{{ key }}/{% endif %} | ||
| <ol class="{% if not key %}file-tree{% endif %}" style="list-style-type: none;"> | ||
| {% for k, subitem in item.items() %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created #83
| first_name=user.first_name, | ||
| last_name=user.last_name, | ||
| suffix_name=user.suffix_name, | ||
| endorsements=["*.*"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to have at least one user with limited/no endorsements. I notice also that the only table related to endorsements in the test DB is arXiv_endorsement_domains and it's empty.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created #90


Review will close at 1pm on Tuesday, June 4. Subsequent reviews will take place on an ongoing basis during alpha and beta testing.
This is a pre-alpha merge for v0.1 of the submission UI. The original goals for this release were:
The latter objective is covered by arXiv/arxiv-submission-core#64
Some of the major differences from the classic UI include:
Under the hood, we have broken out file management (upload), compilation, and plain text extraction as stand-alone services. See the arXiv submission docs for an overview.
Practically speaking, this means that:
How to review
Per the arXiv NG release process, alpha means that:
The first round of alpha testing will involve some volunteers outside the core ops team.
In advance of alpha, therefore, please take a look at the following things:
Previews
Submission dashboard
http://127.0.0.1:8000/

Verify contact information
http://127.0.0.1:8000/1/verify_user

Confirm authorship
http://127.0.0.1:8000/1/authorship

Select a license
http://127.0.0.1:8000/1/license

Accept submission policies
http://127.0.0.1:8000/1/policy

Primary classification
http://127.0.0.1:8000/1/classification

Cross-list categories
http://127.0.0.1:8000/1/cross_list

File upload
http://127.0.0.1:8000/1/file_upload


Compile PDF from source
http://127.0.0.1:8000/1/file_process



Core metadata
http://127.0.0.1:8000/1/add_metadata

Optional metadata
http://127.0.0.1:8000/1/add_optional_metadata

Final preview
Submission confirmation
Confirmation email (via MailHog)
You can access mailhog at http://127.0.0.1:8025

