-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add edit funtionality to mgt-todo (#2783)
add edit todo functionality rewrite edit option to apply focus on input element, remove the fluent-checkbox wrapper on todo tasks, fix @keydown function, add Radio svg to fix incomplete checkbox fix dot icon, fix title display add edit date funtionality --------- Co-authored-by: Gavin Barron <[email protected]> Co-authored-by: Musale Martin <[email protected]>
- Loading branch information
1 parent
59cccb0
commit 64acd1f
Showing
6 changed files
with
342 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
packages/mgt-components/src/components/mgt-todo/mgt-todo.tests.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* ------------------------------------------------------------------------------------------- | ||
* Copyright (c) Microsoft Corporation. | ||
* Licensed under the MIT License. | ||
* ------------------------------------------------------------------------------------------- | ||
*/ | ||
|
||
import { expect } from '@open-wc/testing'; | ||
import { MockProvider, Providers } from '@microsoft/mgt-element'; | ||
import { MgtTodo, registerMgtTodoComponent } from './mgt-todo'; | ||
|
||
describe('mgt-todo - tests', () => { | ||
before(() => { | ||
registerMgtTodoComponent(); | ||
Providers.globalProvider = new MockProvider(); | ||
}); | ||
|
||
it('has required scopes', () => { | ||
expect(MgtTodo.requiredScopes).to.have.members(['tasks.readwrite', 'tasks.read']); | ||
}); | ||
}); |
Oops, something went wrong.