Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge v4 to mgt-chat #3026

Merged
merged 62 commits into from
Feb 7, 2024
Merged

chore: merge v4 to mgt-chat #3026

merged 62 commits into from
Feb 7, 2024

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    4769ef7 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. fix: add method to clear selected channel in mgt-teams-channel-picker (

    …#2865)
    
    adds method to clear selected item from teams channel picker elements
    adds a story using selectionChanged event to show how clearSelectedItem can be uses
    Mnickii authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    c3a3d82 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    700f6ef View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Configuration menu
    Copy the full SHA
    f3e8599 View commit details
    Browse the repository at this point in the history
  2. fix: stop keydown from bubbling beyond people-picker (#2892)

    this ensures that keystrokes which might trigger in pages shortcuts in SharePoint don't reach those event listener and break the component experience
    gavinbarron authored Nov 30, 2023
    Configuration menu
    Copy the full SHA
    ad4cfa3 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. fix: ensure filtering of tasks actually works (#2894)

    refactor the filtering of data for display inside a getter that filtered the fetched data based on the current state of the component
    filtering happens on render now
    
    Co-authored-by: Nickii Miaro <[email protected]>
    gavinbarron and Mnickii authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    59cccb0 View commit details
    Browse the repository at this point in the history
  2. 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]>
    3 people authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    64acd1f View commit details
    Browse the repository at this point in the history
  3. feat: rename mgt-tasks to mgt-planner (#2890)

    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.
    gavinbarron authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    df8af8c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    992ab85 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. fix: mgt-person avatar size customization in vertical layout (#2875)

    Add custom avatar size tokens for components building from mgt-person
    Add login person custom avatar-size token
    Update css props in login, people and people-picker
    Add default values to css tokens
    Update JSDoc comments for person card with section css customization tokens
    Mnickii authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    4c41534 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. chore: add csp to storybook deployments (#2902)

    uses a post build script to rewrite the index.html file and inject a CSP meta tag
    gavinbarron authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    1796b6b View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. fix: update person details when mgt-person attributes are changed (#2871

    )
    
    fix bug in changing mgt-person attributes
    
    ---------
    
    Co-authored-by: Sébastien Levert <[email protected]>
    Mnickii and sebastienlevert authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    9c53cbf View commit details
    Browse the repository at this point in the history
  2. fix: add connect img and frame csp directives (#2910)

    fix: revert csp tag in developer index.html (#2910)
    gavinbarron authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    20eb7fc View commit details
    Browse the repository at this point in the history
  3. feat: promoting search components to GA (#2909)

    Promoting Search to GA
    Updated stories for GA
    
    ---------
    
    Co-authored-by: Gavin Barron <[email protected]>
    sebastienlevert and gavinbarron authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    86697f4 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. fix: increase area for placeholder (#2921)

    allows the input to expand to show a larger placeholder
    adds a story for the placeholder attribute
    gavinbarron authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    513031b View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Configuration menu
    Copy the full SHA
    ebf5ed3 View commit details
    Browse the repository at this point in the history
  2. feat: add ElectronContextBridgeProvider (#2914)

    * feat: add ElectronContextBridgeProvider
    
    * fix: missing export for ElectronContextBridgeProvider
    
    ---------
    
    Co-authored-by: Gavin Barron <[email protected]>
    trulysinclair and gavinbarron authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    8900eb4 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. feat: scope aware requests (#2797)

    Adds helpers to determine if current token has a required scope
    Adds helper to calculate the minimum scope to be requested if necessary
    Fix test for prepScopes to match new behavior
    
    BREAKING CHANGE: prepScopes now accepts an array of scopes, this is checked against the set of currently consented scopes for the user. If any of the supplied scopes are found, then no additional scopes are requested. If no match is found then the user will be prompted to consent to the first scope in the supplied array of scopes
    
    fix: getGroupImage now correctly requires group.read.all or group.readwrite.all
    
    BREAKING CHANGE: applications using mgt-person with fetch-image and person-detal where the supplied value is a group will now need to consent to either Group.Read.All or Group.ReadWrite.All. This replaces the existing behavior where the group image would silently fail to load and show an http 403 error in the console
    
    fix: updated todo and planner permissions
    
    BREAKING CHANGE: minimal permission for planner calls changed from Group.ReadWrite.All to Tasks.ReadWrite for write operation and from Group.Read.All to Tasks.Read for read operations
    gavinbarron authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    81d124b View commit details
    Browse the repository at this point in the history
  2. fix: guard on non-existent result (#2931)

    Co-authored-by: Sébastien Levert <[email protected]>
    gavinbarron and sebastienlevert authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    981e6f9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2547d1 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. fix: enter email keypress behavior (#2928)

    updated the keydown for the people-picker behavior to ensure that tab and enter can be used to enter email addresses when the allow-any-email attribute is present
    gavinbarron authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    53b291c View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. docs: updating storybook overview (#2927)

    Updating overview table with latest components
    Updating overview table
    Linking to stories in overview
    sebastienlevert authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    1cf2bc4 View commit details
    Browse the repository at this point in the history
  2. fix: adding headers and count on all potential advanced aad queries (#…

    …2920)
    
    Adding headers + count on requests when userFilters are present
    sebastienlevert authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    90b2dd1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11459db View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. fix: remove readonly props from react components (#2946)

    * fix: remove readonly props from react components
    
    React components were incorrectly exposing readonly properties as setable via Props
    This change updates the generation script to correctly handle readonly properties
    The generation script now handles empty propTypes and import collections
    Empty prop types are not exported
    gavinbarron authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    267bc19 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. fix: consolidate person view types (#2943)

    removes the PersonViewType enum in favor of the ViewType enum
    
    BREAKING CHANGE: PersonViewType has been removed. 'avatar' is no longer a valid value for the 'view' attribute on the 'mgt-person' component
    gavinbarron authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    6d44a17 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. fix: correct permissions used for some requests (#2953)

    also removes a couple of dead code paths and refactors for easier reading
    gavinbarron authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    ec25e57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c28ab7 View commit details
    Browse the repository at this point in the history
  3. docs: make refresh buttons have apparent actions (#2935)

    adds alerts to make button click actions apparent in mgt-get refresh story
    
    Closes #2349
    gavinbarron authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    4dc50cf View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. feat: use @lit/task to schedule async data fetching (#2912)

    Established pattern for using `@lit/tasks` in components with two new base classes; MgtBaseTaskComponent  and MgtTemplatedTaskComponent.
    Converts existing component to use new base classes.
    Deprecates the MgtBaseComponent and MgtTemplatedComponent  classes.
    The dataChanged event from mgt-get now bubbles and is composed
    MgtBaseTaskComponent supplies providerState as a reactive property in the default set of args to be watched
    Fixes an error case in mgt-get where a there is no value template.
    
    ---------
    
    Co-authored-by: Sébastien Levert <[email protected]>
    gavinbarron and sebastienlevert authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    14a96ff View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. feat: add support for nested values in mgt-picker key-name (#2917)

    * add support for nested values in mgt-picker key-name
    
    * add console warning to getNestedPropertyValue
    andreasomayrat authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    e79fbdc View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    eda4b19 View commit details
    Browse the repository at this point in the history
  2. feat!: convert attribute enums to string unions (#2962)

    All enums used as properties on components have been converted to string union types
    Updates doc comments for better doc generation in Storybook
    Fixes string casing to match typed string unions
    
    refactor: ViewType is now a string union type and not an enum
      BREAKING CHANGE: ViewType is now a string union type and not an enum
    
    refactor: UserType is now a string union type and not an enum
      BREAKING CHANGE: UserType is now a string union type and not an enum
    
    refactor: PersonType is now a string union type and not an enum
      BREAKING CHANGE: PersonType is now a string union type and not an enum
    
    refactor: GroupType is now a string union type and not an enum
      BREAKING CHANGE: GroupType is now a string union type and not an enum
    
    refactor: groupType property on MgtPeoplePicker is now GroupType[]
      BREAKING CHANGE: groupType property on MgtPeoplePicker is now a GroupType[] not a GroupType that is a bitmask of the desired group types. Developers using the group-type attribute will find the behavior unchanged.
    
    refactor: avatarType renamed to AvatarType and converted to string union type
      BREAKING CHANGE: the avatarType eunm has been renamed to AvatarType for consistency and converted to a string union type
    
    refactor: ResponseType for mgt-get converted to string union type from enum
      BREAKING CHANGE: the ResponseType for mgt-get is now a string union type and not an enum
    
    refactor: PersonCardInteraction is now a string union type and not an enum
      BREAKING CHANGE: PersonCardInteraction is now a string union type and not an enum
    gavinbarron authored Jan 24, 2024
    Configuration menu
    Copy the full SHA
    18d0aec View commit details
    Browse the repository at this point in the history
  3. feat!: deprecate mgt-spfx package (#2940)

    removes mgt-spfx code and updates readmes
    updates build pipelines
    updated docs to be stronger on disambiguation and fixed a lot of content in light of changes to our registration strategy
    
    BREAKING CHANGE: mgt-spfx is deprecated, use disambiguation instead
    gavinbarron authored Jan 24, 2024
    Configuration menu
    Copy the full SHA
    3da9560 View commit details
    Browse the repository at this point in the history
  4. docs: adding react snippets in Storybook (#2934)

    * Adding agenda + login React stories
    * Agenda + Login with React stories
    * Adding stackblitz editing + get and files
    * Adding people + people picker
    * Adding person
    * Added person-card + picker
    * Adding planner
    * Updated stories to use useCallback
    * Last wave of react components
    * fixed regex and formatting for mgt-samples
    * Update .storybook/main.js
    * Updated based on the PR review
    * Updating the base path to account for PR storybooks
    * Ignore the assets folder to update package versions
    * Adding comments to add context to this weird condition
    * Update packages
    * Support for next preview versions
    * Adding a person w/ person-card React story
    * Missing ViewType
    * Missing mgt-login from embed overview story
    * Using lowerCase PR
    * Use the app.js to register the provider
    * Changing Storybook auth to avoid unpkg
    * Ensuring the right version (next or the actual version)
    * Updating to leverage existing versionInfo
    * Updated with new string unions
    * Removing stale spfx files
    
    fix: ensure loginInitiated is fired every time
    sebastienlevert authored Jan 24, 2024
    Configuration menu
    Copy the full SHA
    2fb1064 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. docs: add story for picker nested values (#2973)

    add story for picker nested values
    Mnickii authored Jan 25, 2024
    Configuration menu
    Copy the full SHA
    73ae85c View commit details
    Browse the repository at this point in the history
  2. feat: remove mgt-loader (#2963)

    removes mgt loader and es5 support.
    
    BREAKING CHANGE: mgt-loader.js is removed and there is no support for es5 only browsers direct from CDN. Developers loading mgt from a CDN must use module syntax and explicitly initialize their applications.
    gavinbarron authored Jan 25, 2024
    Configuration menu
    Copy the full SHA
    ea0f71b View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. feat: add optional person-card to people picker (#2900)

    adds optional person-card to people picker selected items
    
    fix: color inversion on suggestion list
    Mnickii authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    65ca8e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e436de View commit details
    Browse the repository at this point in the history
  3. chore: Add permissions for workflows requiring GITHUB_TOKEN (#2971)

    * Add permissions for workflows requiring GITHUB_TOKEN
    
    * Write deployments permissions
    
    * Switch deployments with content permission event
    
    * Add permission blocks for PR Quality Reporting
    
    * Move permission block to the root level
    
    * Add content write permissions for gh-pages
    
    ---------
    
    Co-authored-by: Nickii Miaro <[email protected]>
    Co-authored-by: Gavin Barron <[email protected]>
    3 people authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    06534ac View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Configuration menu
    Copy the full SHA
    92a6b5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00fe946 View commit details
    Browse the repository at this point in the history
  3. fix: update rollup and rollup config (#2969)

    Update rollup and rollup config
    move rollup config to .mjs file
    fix ignore path for eslint
    
    ---------
    
    Co-authored-by: Gavin Barron <[email protected]>
    musale and gavinbarron authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    606fffb View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. chore: update pipelines to run on node 20 (#2986)

    moves rollup configs to .mjs files
    updates dependencies and configs for rollup
    gavinbarron authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    5e261c0 View commit details
    Browse the repository at this point in the history
  2. chore: update pipeline tag filters (#3001)

    this will ensure that our v4 build can actually be published
    gavinbarron authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    05f3249 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    daf06bc View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. fix: add focus on input field when you click the button to add a new …

    …task (#2994)
    
    Co-authored-by: Nickii Miaro <[email protected]>
    musale and Mnickii authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    573fa45 View commit details
    Browse the repository at this point in the history
  2. fix: clean-up react-contoso homepage (#3008)

    * clean-up react-contoso homepage
    
    * remove theme toggle
    
    Co-authored-by: Sébastien Levert <[email protected]>
    
    * remove theme toggle import
    
    ---------
    
    Co-authored-by: Sébastien Levert <[email protected]>
    Co-authored-by: Musale Martin <[email protected]>
    3 people authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    c8c564d View commit details
    Browse the repository at this point in the history
  3. fix: typing for LocalizationHelper.strings (#2998)

    adds extended tests for Localization on mgt-person
    removes the initials property from the default set of strings for mgt-person
    gavinbarron authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    0317fc2 View commit details
    Browse the repository at this point in the history
  4. chore: Update the permissions for PR reporting. (#3007)

    * Update the permissions for PR reporting
    
    Add contents:read - allows reading commits of the pr
    Add checks:write - reports the status of the job on the pr
    Add id-token:write permission
    musale authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    744976d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f432d85 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b254e49 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    14bb9c1 View commit details
    Browse the repository at this point in the history
  8. fix: set add button to disabled until task name is provided (#2996)

    set add button to disabled until task name is provided
    fix planner localization string
    musale authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    eec74d0 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Configuration menu
    Copy the full SHA
    0bad7e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52d8ad9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d5c993d View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. merge from main

    gavinbarron committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    ddf3ad2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30265dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c1ff30 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    5c44ae9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    288dbf9 View commit details
    Browse the repository at this point in the history