Skip to content

Commit

Permalink
feat: rename mgt-tasks to mgt-planner (#2890)
Browse files Browse the repository at this point in the history
renames component to better suit current usage
removes dead code calling deprecated Graph APIs for Outlook Tasks
moves a number of strings into the localizable string collection for the component
updates the generate script for mgt-react to clean files at the start of generation

BREAKING CHANGE: mgt-tasks has been removed and replaced with mgt-planner. mgt-planner does not support data-source switching to fetch data from the outlook tasks apis any longer.
  • Loading branch information
gavinbarron committed Dec 1, 2023
1 parent 64acd1f commit df8af8c
Show file tree
Hide file tree
Showing 19 changed files with 146 additions and 756 deletions.
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -66,7 +66,7 @@ <h2>mgt-login</h2>
<!-- <h2>mgt-teams-channel-picker</h2>
<mgt-teams-channel-picker></mgt-teams-channel-picker> -->
<!-- <h2>mgt-tasks</h2>
<mgt-tasks></mgt-tasks> -->
<mgt-planner></mgt-planner> -->
<!-- <h2>mgt-agenda group-by-day</h2>
<mgt-agenda group-by-day></mgt-agenda> -->
<!-- <h2>mgt-people show-presence</h2>
Expand Down
4 changes: 2 additions & 2 deletions packages/mgt-components/src/components/components.ts
Expand Up @@ -17,7 +17,7 @@ import './mgt-people/mgt-people';
import './mgt-person-card/mgt-person-card';
import './mgt-person/mgt-person';
import './mgt-person/mgt-person-types';
import './mgt-tasks/mgt-tasks';
import './mgt-planner/mgt-planner';
import './mgt-teams-channel-picker/mgt-teams-channel-picker';
import './mgt-todo/mgt-todo';
import './mgt-contact/mgt-contact';
Expand All @@ -41,7 +41,7 @@ export * from './mgt-person-card/getMgtPersonCardScopes';
export * from './mgt-person-card/mgt-person-card';
export * from './mgt-person/mgt-person';
export * from './mgt-person/mgt-person-types';
export * from './mgt-tasks/mgt-tasks';
export * from './mgt-planner/mgt-planner';
export * from './mgt-teams-channel-picker/mgt-teams-channel-picker';
export * from './mgt-todo/mgt-todo';
export * from './mgt-contact/mgt-contact';
Expand Down
Expand Up @@ -1620,7 +1620,6 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
if ([';', ','].includes(keyName)) {
if (this.allowAnyEmail) {
event.preventDefault();
event.stopPropagation();
this.userInput = this.input.value;
this.handleAnyEmail();
}
Expand Down
Expand Up @@ -7,7 +7,7 @@

@import '../../styles/shared-styles';
@import '../../../../../node_modules/office-ui-fabric-core/dist/sass/References';
@import './mgt-tasks.theme';
@import './mgt-planner.theme';

$tasks-header-padding: var(--tasks-header-padding, 0 0 14px 0);
$tasks-header-margin: var(--tasks-header-margin, none);
Expand Down

0 comments on commit df8af8c

Please sign in to comment.