-
Notifications
You must be signed in to change notification settings - Fork 400
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
Create new content for Apps Structure topic #1111
Create new content for Apps Structure topic #1111
Conversation
…s in links of table cells; Fix trailing space when newtabref shortcode is rendered
Newest code from mattermod has been published to preview environment for Git SHA 0a95690 |
Newest code from neflyte has been published to preview environment for Git SHA 0a95690 |
1 similar comment
Newest code from neflyte has been published to preview environment for Git SHA 0a95690 |
…es for h4, h5, and h6 headings; Modify CSS to not break words used in links in a table cell
Newest code from neflyte has been published to preview environment for Git SHA bd8a61f |
…ctory to font directory since compass-icons.css expects its files there; Update Apps structure main topic, manifest, and calls topics; Moved call metadata (expand) to its own topic
…dlers binding to locations
…h build; Update Makefile dist target to not pull compass icons; Update Structure topic homepage diagram with simplified version; Update Call metadata topic
…SS styles to not word-break monospaced text in a table cell
…enote extra information instead of a different symbol for each case
…nents and Compass icons; Update collapsable blocks in bindings topic
Newest code from cwarnermm has been published to preview environment for Git SHA c0fbb81 |
Newest code from neflyte has been published to preview environment for Git SHA 7379871 |
Newest code from cwarnermm has been published to preview environment for Git SHA 535a8c9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work @neflyte 👍
Holding back on approving to make sure the css changes are okay. Otherwise LGTM!
h4 { | ||
font-size: 1.25rem; | ||
} | ||
|
||
h5 { | ||
font-size: 1rem; | ||
} | ||
|
||
h6 { | ||
font-size: 0.75rem; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm concerned this will affect other parts of the site. @cwarnermm Do you know who owns this site, and may be able to gauge the risk of additions like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fixing a defect. The h4, h5, and h6 styles were all the same and made headings look incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emdecr - Are you open to reviewing this PR's CSS changes to ensure that they won't impact other areas of the site?
|
||
- [OAuth2 Store]({{< ref "mattermost-api#apps-api" >}}) - store, expand, and retrieve user and App OAuth2 configuration data. | ||
|
||
- [Calling other Apps]({{< ref "mattermost-api#apps-api" >}}) - use the Call API to invoke other Apps (experimental). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we should advertise this if it's experimental cc @levb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@levb @mickmister How would anyone know if a feature of the Apps framework is "experimental" other than what's in the code or existing docs? Can we refrain from including any experimental stuff in framework releases so this isn't an issue? There's no issue with having experimental stuff in a branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This potentially could change with the OAuth 2.0 scopes work coming. @mickmister - We're going to move forward and merge this PR. This content can be updated iteratively as needed if you continue to be concerned.
Newest code from neflyte has been published to preview environment for Git SHA 2bbde8a |
@@ -0,0 +1,60 @@ | |||
--- | |||
title: Call metadata |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0/5 Expand(ed) call metadata? I'd really like to work the term expand
into the section title here since that's what it's all about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it confusing to use the word "expand"; is the emphasis on the expansion or the resulting metadata?
I'd love to have a chat about how best to write this. 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping me!
| `summary` | Include key metadata for the field. | | ||
| `id` | Include only relevant identifiers (IDs). | | ||
|
||
### Available information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "all" mode is also somewhat limited, we may want to document it, specifically for User
. 0/5 on the format, but the table feels a little over the top, hard to keep track of.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, this is how the code is written. Readers wouldn't know any of this without looking at the code, and I believe we're trying to avoid that hurdle.
We can definitely update this section when the code is updated. 🙂
Another approach might be to extract this info from the source code directly, in a similar manner to the server API reference.
Co-authored-by: Lev <[email protected]>
Ready for your feedback, @levb 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With comments/replies inline
@neflyte 👍 👍 👍 |
Summary
New and improved content for the Apps Structure topic
Topics
This PR adds Hugo support for the following:
{{<compass-icon "icon-name" "icon description">}}
{{<collapse id="xxxx" title="yyyy">}}...{{</collapse>}}
{{<newtabref>}}
shortcode will display an icon to indicate the link will open in a new tab{{<note "Note Title" "icon-name" "icon desctipion">}}...{{</note>}}