Buttons and links need JavaScript, also to open another page
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- accessibility, backend
調査の方向性
Start by locating makeButton() and makeLink() and the settings, command bar, and page type actions listed in the issue. Trace how each action is routed and how forms include CSRF tokens, then identify which page-opening controls need real URLs and which commands need form submission. Done means those navigation and command actions work without JavaScript while retaining their current behavior with JavaScript.
索引モデルが issue の本文から書いたものです。
説明
Problem
Almost every button in Hypha needs JavaScript. makeButton() makes an <input type="button" onclick="hypha(…)">, and makeLink() makes an <a href="javascript:…">. Without JavaScript (switched off, blocked, failed to load, a crawler, some assistive tools) nothing happens, also for buttons that only open another page:
- the settings: Systeem tools, Projectinstellingen, Markup, Theme, Stijlen, Site elementen, Menu, and Annuleren on every settings form;
- the index and settings icons in the command bar;
- edit, translate, cancel and save of the page types.
The status bar of the browser shows javascript:newPage(); and the like instead of an address.
Expected
- A button that only opens a page is a link with a real address.
- A button that sends a command (save, approve, …) posts its form, with the CSRF token, also without JavaScript.
- With JavaScript everything works as before.
Buttons that ask for a confirmation first (delete) and the popups (new page) can stay JavaScript in a first step: without a confirmation, a delete is riskier than a button that does nothing.
- 主要言語
- JavaScript
- スター
- 5
- フォーク
- 9
- 平均マージ
- 18時間 49分
- マージ済み PR(30日)
- 13
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PlanBCode/hypha のほかの issue
-
Component: User interface Impact: Low Level: Easy Pagetype: Peer reviewed article Type: Bug Value: Visitors
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
Impact: Medium Level: Easy Type: Bug Value: Users
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Impact: Low Level: Easy Pagetype: Festival Type: Bug Value: Coders
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Impact: Medium Level: Easy Pagetype: Mailinglist Type: Bug Value: Users
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
Impact: Low Level: Easy Type: Bug Value: Coders
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
PlanBCode/hypha#586 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
PlanBCode/hypha の issue をすべて見る
似ている issue
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
LucasSantana-Dev/Lucky#2945 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
brijeshb42/monaco-vim#175 ·
-
good first issue
難易度 2/5 3〜5日 初心者へのやさしさ 62/100
paipai1999/POS-system#3 ·
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
r-afael/better-yt-recommendations#36 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
microsoft/playwright#43875 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信