[change:ux] Show subnet division rule organization field only if subnet organization field is set to shared

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

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

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

  • #1275 @peterisaac-00 による — マージされずにクローズ

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, python
領域
backend, frontend

調査の方向性

サブネット追加フォームとサブネット分割ルールモデルから始め、組織フィールドが現在どのように扱われているかに注目します。完了条件は、サブネットの組織が設定されている場合は分割ルールの組織フィールドが非表示になり、共有サブネットでは表示され、サブネットの組織が自動的に設定されることです。

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

説明

enhancement subnet-division-rules

In subnet > add, we should not show the subnet division rule organization field if the subnet has an organization set because it would be redundant, we have to ensure the system automatically sets the organization.

Screenshot from 2024-03-14 18-31-05

The second organization field in this case can just be hidden with JS.
Automatically filling the organization field on the subnet division rule can be done at model level if it isn't already handled.

主要言語
Python
スター
794
フォーク
339
平均マージ
10時間 24分
マージ済み PR(30日)
33

環境構築

はじめの一歩

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

openwisp/openwisp-controller のほかの issue

openwisp/openwisp-controller の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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