Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

greeting_app.py.

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
python
領域
frontend

調査の方向性

The body contains a complete sample app but does not state what change is wanted. Start by checking the repository’s examples and contribution guidance to see whether greeting_app.py is intended to be added or modified. Done cannot be determined from the issue text alone.

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

説明

import flet as ft

def main(page: ft.Page):
# Configure page settings
page.title = "Greeting App"
page.vertical_alignment = ft.MainAxisAlignment.CENTER
page.horizontal_alignment = ft.CrossAxisAlignment.CENTER

# Define controls
name_input = ft.TextField(label="Enter your name", width=300)
greeting_text = ft.Text(value="", size=20, weight=ft.FontWeight.BOLD)

# Event handler for the button click
def greet_click(e):
    name = name_input.value.strip()
    if name:
        greeting_text.value = f"Hello, {name}!"
    else:
        greeting_text.value = "Hello, Stranger!"
    page.update()

greet_button = ft.ElevatedButton("Greet Me", on_click=greet_click)

# Add controls vertically using a Column
page.add(
    ft.Column(
        controls=[
            name_input,
            greet_button,
            greeting_text,
        ],
        alignment=ft.MainAxisAlignment.CENTER,
        horizontal_alignment=ft.CrossAxisAlignment.CENTER,
        spacing=20,
    )
)

if name == "main":
ft.app(target=main)

主要言語
Python
スター
17.4k
フォーク
737
平均マージ
1日 8時間
マージ済み PR(30日)
46

環境構築

はじめの一歩

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

flet-dev/flet のほかの issue

flet-dev/flet の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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