Skip to content

v1.1.0

Compare
Choose a tag to compare
@nmetulev nmetulev released this 10 Dec 04:30

This release introduces the mgt-get component, the Proxy provider, and many improvements and bug fixes to existing components:

New Component: mgt-get

A new component that allows you to make any GET query from Microsoft Graph directly in your HTML. The component does not provide a default UI and requires the developer to write a template. Read the docs for more details

Example

<mgt-get resource="/me/messages" version="beta" scopes="mail.read" max-pages="2">
  <template>
    emails: {{value.length}}
  </template>
  <template data-type="loading">
    loading
  </template>
</mgt-get>

New Provider: ProxyProvider

A new provider that proxies all Microsoft Graph requests to your own backend. This enables developers to still use server side authentication while enabling all the components to access the Microsoft Graph. Read the docs for more details

Updates and Fixes

Person Card

  • Added inherit-details attribute to make it easier to re-template the person card component in mgt-person - #155
  • Added new way to render flyouts and ensure they are always within window bounds when possible - #222
  • Fixed in issue where mailto link was blocked in an iframe - #201
  • Fixed issue opening person-card with touch - #228

People Picker

  • Added selectedPeople property to get and set the selected people - #157
  • Added new loading view when the graph call takes longer than 400ms - #163
  • Added the loading and error templates - #163
  • Added hover states when hovering over people that can be selected - #163
  • Updated cursor to react appropriately when hovering over people and buttons - #163
  • Fixed issue where the wrong image would be displayed for a person - #188

Person

  • Added image to data context for default template - #177 (thanks Michael Huynh)
  • Fixed an issue where the color of the person could not be updated - #166 (thanks Harrison)
  • Fixed initials not resizing with the component - #200
  • Fixed issue where person with and without image were not rendered the same - #207
  • Fixed an issue where the person-card was closing too soon - #209

Tasks

  • Added ability to assign or change assignment of people - #188
  • Added person card on hover of assigned people - #188
  • Added new templates for tasks (task and task-details) - #188
  • Added new property (isNewTaskVisible) to programmatically show the new task view - #188
  • Added the taskClick event that fires when a task is clicked or tapped - #188
  • Added new attribute (group-id) to only load tasks for a specific group - #190 (thanks Iryna Mykoliuk)
  • Added new function property (taskFilter) to allow filtering of tasks - #211
  • Fixed an issue where the the timezone was not handled appropriately and would break adding tasks - #171

Login

  • Fixed issue where sign out was not doing a real sign out - #225

Agenda

  • Added eventClick event when event is clicked or taped - #181

People

  • Added person-card attribute to enable person card on hover or click - #188
  • Added user-ids attribute to populate component with only user ids - #188
  • Fixed an issue where images with and without initials were missaligned - #175 (thanks Loagan Arnett)
  • Fixed alignment of overflow count - #208

Templates

  • Optimized slot re-rendering - #186 (thanks Michael Huynh)
  • Added $index and $parent properties - #196
  • Fixed exception when empty template was used in a component - #156
  • Fixed an issue where template children were rendered out of order - #195