arXiv / arXiv/html_feedback

Report Issue feature does not work

Open
#319 1 comment 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

Trying to report an issue via the "Report Issue" feature on the paper HTML version page does not work.

After filling in the report, clicking the "Submit in Github" button does nothing.

### (Optional:) Please add any files, screenshots, or other information here.

1. Browse to https://arxiv.org/html/2309.00495v3 on Firefox 121.0.1/linux
2. Click "Report Issue" on upper right
3. Fill in "Title:" and "Description:" fields
4. Click "Submit in Github"
5. Nothing happens. The "Report Issue" popup on the page does not close.

In the browser console the following error messages can be seen:
````
Uncaught TypeError: toc_m is null
https://arxiv.org/static/browse/0.3.4/js/addons.js:246
EventListener.handleEvent* https://arxiv.org/static/browse/0.3.4/js/addons.js:236
EventListener.handleEvent* https://arxiv.org/static/browse/0.3.4/js/addons.js:209
2 [addons.js:246:9](https://arxiv.org/static/browse/0.3.4/js/addons.js)

Uncaught ReferenceError: currentAnchorNode is not defined
submitBugReport https://arxiv.org/static/browse/0.3.4/js/feedbackOverlay.js:434
EventHandlerNonNull* https://arxiv.org/static/browse/0.3.4/js/feedbackOverlay.js:665
EventListener.handleEvent* https://arxiv.org/static/browse/0.3.4/js/feedbackOverlay.js:634
[feedbackOverlay.js:434:17](https://arxiv.org/static/browse/0.3.4/js/feedbackOverlay.js)
````
The second one appears when "Submit in Github" is clicked.

### (Required) What is this issue most closely related to? Select one.

Formula

### Internal issue ID

N/A

### Paper URL

https://arxiv.org/html/2309.00495v3

### Browser

Firefox 121.0.1

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Reproduce the report on https://arxiv.org/html/2309.00495v3 with Firefox, then inspect addons.js around line 246 and feedbackOverlay.js around lines 434 and 634-665. Confirm the reported console errors and trace the Submit in Github flow; done means the report can be submitted and the overlay behaves as expected without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.