matrix-org / matrix-org/matrix.org

Mess with the Encryption section

Open
#839 0 comments 0 reactions 0 assignees View on GitHub
bug guides
Dominant language
JavaScript
Stars
616
Forks
463
Avg merge
2d 3h
Merged PRs (30d)
19

Description

The Encryption section in the matrix documentation shows some strange behavior, which is apparently caused by some js manipulation of the site.

When loading https://matrix.org/docs/develop/ freshly, the link to article _'End-to-End Encryption implementation guide'_ is wrong and points to https://matrix.org/docs/guides/implementing-stateres instead.

After clicking an arbitrary article and navigating back via the browser's return function, the link surprisingly is fixed and points to https://matrix.org/docs/guides/end-to-end-encryption-implementation-guide as it should. But now, the Encryption section has a duplicate _'An introduction to end-to-end encryption in Matrix and Riot'_ entry. With each repetition, a new such entry gets appended.

Tried this in Firefox, both with Linux and Android.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue on https://matrix.org/docs/develop/ in Firefox by loading the page, opening an arbitrary article, and navigating back. Inspect the JavaScript manipulation of the Encryption section and verify that the implementation-guide link remains correct and that the introduction entry is not appended repeatedly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.