Frontend: Duplicate role (row + detail kebab) + toast

オープン
#583 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
67/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
frontend

調査の方向性

Start by locating the Roles and Permissions table row kebab and the role-detail header kebab, then trace how those menus call role actions and show toasts. Add the duplicate action to both menus and connect it to the duplicate endpoint. Done means either source role type can be duplicated with one click, success and failure toasts appear as specified, and navigation happens only when the toast button is selected.

索引モデルが issue の本文から書いたものです。

説明

willow

Add "Duplicate" to the Roles and Permissions row kebab and the role-detail header kebab. Duplicate is immediate and fire-and-forget (per design): clicking it calls the duplicate endpoint directly — no dialog or wizard — and shows a success toast "Role duplicated successfully. You can view it in the Roles & Permissions table." with a "Go to Roles and permissions" button that navigates to the table.

Acceptance
  • Duplicate available from both kebab menus (for standard and custom source roles).
  • One click calls the duplicate endpoint with no intermediate form.
  • Success toast with the "Go to Roles and permissions" action; error toast on failure.
  • No navigation away on its own (user chooses via the toast button).

Design: https://www.figma.com/design/xnmQJq1cTRVqNrs31R8zDM/AuthZ---v2?node-id=40000174-2&p=f&t=AfaPxKGH7lD48V93-0

主要言語
Python
スター
0
フォーク
10
平均マージ
5日 12時間
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openedx/openedx-authz のほかの issue

openedx/openedx-authz の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。