Skip to content

Commit

Permalink
Merge branch 'main' into fix/localization-typing
Browse files Browse the repository at this point in the history
  • Loading branch information
musale authored Feb 2, 2024
2 parents 4d72ef4 + c8c564d commit c4b0806
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,7 @@ export class MgtPlanner extends MgtTemplatedTaskComponent {
const taskTitle = html`
<fluent-text-field
autocomplete="off"
?autofocus=${this.isNewTaskVisible}
placeholder=${this.strings.newTaskPlaceholder}
.value="${this._newTaskName}"
class="new-task"
Expand Down
44 changes: 0 additions & 44 deletions samples/react-contoso/src/pages/HomePage.tsx
Original file line number Diff line number Diff line change
@@ -1,54 +1,10 @@
import * as React from 'react';
import { PageHeader } from '../components/PageHeader';
import {
FileList,
File,
Person,
Spinner,
Agenda,
PersonCard,
People,
Get,
ThemeToggle,
Picker,
TeamsChannelPicker
} from '@microsoft/mgt-react';
import { Messages } from '../components/Messages';
import { Loading } from '../components/Loading';
import { GetDefaultContent } from '../components/GetDefaultContent';

const HomePage: React.FunctionComponent = () => {
return (
<>
<ThemeToggle />
<TeamsChannelPicker />
<Picker
resource="me/todo/lists"
scopes={['tasks.read', 'tasks.readwrite']}
placeholder="Select a task list"
keyName="displayName"
/>
<FileList />
<Get resource="/me/messages" maxPages={1}>
<GetDefaultContent template="default" />
<Messages template="value"></Messages>
<Loading template="loading" message={'Loading your focused inbox...'}></Loading>
</Get>
<PageHeader title={'Home'} description={'Welcome to Contoso!'}></PageHeader>
<Spinner />
<People />
<File
driveId="b!M5IeZ2QKf0y18TIIXsDQkecHx1QrukxCte8X3n6ka6yn409-utaER7M2W9uRO4yB"
itemId="01WEUQSTSBWERA5VH4BFALQBXUDVUMT22G"
/>
<Person
personQuery="[email protected]"
personCardInteraction="click"
avatarType="initials"
avatarSize="auto"
/>
<Agenda />
<PersonCard personQuery="[email protected]" />
</>
);
};
Expand Down

0 comments on commit c4b0806

Please sign in to comment.