Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

[MM-33462] Extend manifest type #7883

Merged
merged 6 commits into from
May 19, 2021
Merged

[MM-33462] Extend manifest type #7883

merged 6 commits into from
May 19, 2021

Conversation

hanzei
Copy link
Contributor

@hanzei hanzei commented Apr 12, 2021

Summary

AppManifest was missing a couple of fields are are both useful for the webapp and for app developers.

I intentionally leave the fields out that are purely for the backend like callbacks and the AWS information.

Ticket Link

https://mattermost.atlassian.net/browse/MM-33462

@hanzei hanzei added the 2: Dev Review Requires review by a core commiter label Apr 12, 2021
Copy link
Member

@mickmister mickmister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found one typo, LGTM otherwise 👍

packages/mattermost-redux/src/types/apps.ts Outdated Show resolved Hide resolved
@hanzei
Copy link
Contributor Author

hanzei commented Apr 21, 2021

/update-branch

@hanzei hanzei added this to the v5.36 milestone Apr 21, 2021
@hanzei
Copy link
Contributor Author

hanzei commented Apr 29, 2021

@jfrerich Gentle reminder to take a look when you have the time.

@hanzei hanzei requested a review from catalintomai May 13, 2021 04:38
@hanzei
Copy link
Contributor Author

hanzei commented May 13, 2021

/update-branch

@amyblais
Copy link
Member

@jfrerich @catalintomai Kind reminder for PR review.

Copy link
Contributor

@jfrerich jfrerich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small suggestion.

Builtin = 'builtin',
}

export enum Permission {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest that we use the plural to match the Locations enum

Suggested change
export enum Permission {
export enum Permissions {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.typescriptlang.org/docs/handbook/enums.html is using singular names for enums. https://docs.microsoft.com/en-us/previous-versions/dotnet/netframework-1.1/4x252001(v=vs.71)?redirectedfrom=MSDN also states

Use a singular name for most Enum types, but use a plural name for Enum types that are bit fields.

Hence, I'm leaving it as singular.

@hanzei
Copy link
Contributor Author

hanzei commented May 18, 2021

/update-branch

@hanzei hanzei added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels May 18, 2021
@mm-cloud-bot
Copy link

@hanzei: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

I understand the commands that are listed here

@hanzei
Copy link
Contributor Author

hanzei commented May 18, 2021

/release-note-none

@hanzei hanzei merged commit 0ec7325 into master May 19, 2021
@hanzei hanzei deleted the MM-33462_manifest branch May 19, 2021 09:25
@hanzei hanzei removed their assignment May 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants