Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions src/edit_python_pe/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,22 @@ def on_mount(self) -> None:

# 2) Build the form portion, hidden at first
self.form_header = Static(FORM_HEADER, classes="header")
self.name_input = Input(placeholder=PLACEHOLDER_NAME)
self.email_input = Input(placeholder=PLACEHOLDER_EMAIL)
self.city_input = Input(placeholder=PLACEHOLDER_CITY)
self.homepage_input = Input(placeholder=PLACEHOLDER_HOMEPAGE)

self.who_area = TextArea()
self.python_area = TextArea()
self.contributions_area = TextArea()
self.availability_area = TextArea()
self.name_input = Input(placeholder=PLACEHOLDER_NAME,
tooltip="Your name will be displayed publicly on your python.pe profile. "
"Please use the name you wish to be known by in the community.")
self.email_input = Input(placeholder=PLACEHOLDER_EMAIL,
tooltip= "Your email may appear in the repository or site outputs. "
"Only provide an address you are comfortable sharing publicly.")
self.city_input = Input(placeholder=PLACEHOLDER_CITY,
tooltip="Your city/country helps community members find others nearby. "
"This will be publicly visible on your profile.")
self.homepage_input = Input(placeholder=PLACEHOLDER_HOMEPAGE,
tooltip="Your availability will be publicly visible to help community members know when they can reach out.")

self.who_area = TextArea(tooltip="This introduction will be publicly visible on your python.pe profile.")
self.python_area = TextArea(tooltip="Your Python experience and interests will be publicly visible.")
self.contributions_area = TextArea(tooltip="Your contribution history will be publicly visible to help showcase your work.")
self.availability_area = TextArea(tooltip="Your availability information will help community members know when they can reach out.")

self.social_container = Vertical()
self.alias_container = Vertical()
Expand Down