Update requirement files with new feature templates and fix backend API error message, along with mobile project config updates and documentation improvements

This commit is contained in:
louiscklaw
2025-06-13 12:11:47 +08:00
parent f23a6b7d9c
commit 346992d4ec
3102 changed files with 220182 additions and 2896 deletions

View File

@@ -35,12 +35,8 @@ interface AboutProps {}
const EventDetail: React.FC<AboutProps> = () => {
const [showPopover, setShowPopover] = useState(false);
const [popoverEvent, setPopoverEvent] = useState<MouseEvent>();
const [location, setLocation] = useState<
'madison' | 'austin' | 'chicago' | 'seattle'
>('madison');
const [conferenceDate, setConferenceDate] = useState(
'2047-05-17T00:00:00-05:00'
);
const [location, setLocation] = useState<'madison' | 'austin' | 'chicago' | 'seattle'>('madison');
const [conferenceDate, setConferenceDate] = useState('2047-05-17T00:00:00-05:00');
const selectOptions = {
header: 'Select a Location',
@@ -65,11 +61,7 @@ const EventDetail: React.FC<AboutProps> = () => {
</IonButtons>
<IonButtons slot="end">
<IonButton onClick={presentPopover}>
<IonIcon
slot="icon-only"
ios={ellipsisHorizontal}
md={ellipsisVertical}
></IonIcon>
<IonIcon slot="icon-only" ios={ellipsisHorizontal} md={ellipsisVertical}></IonIcon>
</IonButton>
</IonButtons>
</IonToolbar>
@@ -99,13 +91,12 @@ const EventDetail: React.FC<AboutProps> = () => {
<p className="ion-padding-start ion-padding-end">
The Ionic Conference is a one-day event happening on{' '}
{displayDate(conferenceDate, 'MMM dd, yyyy')}, featuring talks from
the Ionic team. The conference focuses on building applications with
Ionic Framework, including topics such as app migration to the
latest version, React best practices, Webpack, Sass, and other
technologies commonly used in the Ionic ecosystem. Tickets are
completely sold out, and we're expecting over 1,000 developers —
making this the largest Ionic conference to date!
{displayDate(conferenceDate, 'MMM dd, yyyy')}, featuring talks from the Ionic team. The
conference focuses on building applications with Ionic Framework, including topics such
as app migration to the latest version, React best practices, Webpack, Sass, and other
technologies commonly used in the Ionic ecosystem. Tickets are completely sold out, and
we're expecting over 1,000 developers — making this the largest Ionic conference to
date!
</p>
<h3 className="ion-padding-top ion-padding-start">Details</h3>
@@ -126,9 +117,7 @@ const EventDetail: React.FC<AboutProps> = () => {
</IonItem>
<IonItem button={true} id="open-date-input">
<IonLabel>Date</IonLabel>
<IonText slot="end">
{displayDate(conferenceDate, 'MMM dd, yyyy')}
</IonText>
<IonText slot="end">{displayDate(conferenceDate, 'MMM dd, yyyy')}</IonText>
<IonPopover
id="date-input-popover"
trigger="open-date-input"
@@ -139,9 +128,7 @@ const EventDetail: React.FC<AboutProps> = () => {
<IonDatetime
max="2056"
value={conferenceDate}
onIonChange={(e) =>
setConferenceDate(e.detail.value! as string)
}
onIonChange={(e) => setConferenceDate(e.detail.value! as string)}
presentation="date"
></IonDatetime>
</IonPopover>
@@ -153,9 +140,7 @@ const EventDetail: React.FC<AboutProps> = () => {
<IonList lines="none">
<IonItem>
<IonLabel>Wifi network</IonLabel>
<IonLabel className="ion-text-end">
ica{displayDate(conferenceDate, 'y')}
</IonLabel>
<IonLabel className="ion-text-end">ica{displayDate(conferenceDate, 'y')}</IonLabel>
</IonItem>
<IonItem>
<IonLabel>Password</IonLabel>

View File

@@ -49,12 +49,8 @@ interface AboutProps {}
const MemberProfile: React.FC<AboutProps> = () => {
const [showPopover, setShowPopover] = useState(false);
const [popoverEvent, setPopoverEvent] = useState<MouseEvent>();
const [location, setLocation] = useState<
'madison' | 'austin' | 'chicago' | 'seattle'
>('madison');
const [conferenceDate, setConferenceDate] = useState(
'2047-05-17T00:00:00-05:00'
);
const [location, setLocation] = useState<'madison' | 'austin' | 'chicago' | 'seattle'>('madison');
const [conferenceDate, setConferenceDate] = useState('2047-05-17T00:00:00-05:00');
const selectOptions = {
header: 'Select a Location',
@@ -97,11 +93,7 @@ const MemberProfile: React.FC<AboutProps> = () => {
</IonButtons>
<IonButtons slot="end">
<IonButton onClick={presentPopover}>
<IonIcon
slot="icon-only"
ios={ellipsisHorizontal}
md={ellipsisVertical}
></IonIcon>
<IonIcon slot="icon-only" ios={ellipsisHorizontal} md={ellipsisVertical}></IonIcon>
</IonButton>
</IonButtons>
</IonToolbar>