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
app_id value is case sensitive as suggested in #7 #58
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -787,7 +787,7 @@ <h3> | |
The [=MiniApp manifest's=] <code><dfn>app_id</dfn></code> member is a [=string=] that identifies the MiniApp univocally. This member is mainly used for package management, and it supports the update and release process of MiniApp versioning. | ||
</p> | ||
<p> | ||
The format of <code>[=app_id=]</code> is RECOMMENDED to be a [=string=] defined by the following rule: | ||
The value of <code>[=app_id=]</code> is RECOMMENDED <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#string-is">to be</a> a [=string=] defined by the following rule: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Note that the link to Infra's "string is" rule makes no sense here. The Infra definition is about string equivalence, not content restriction. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've tried to add it somehow but the 'is' equals to 'is equivalent to' so it does not fit. I've changed it for Using SHOULD instead of RECOMMENDED. I understand this could be any string, but we want to recommend the way some mini apps usually do. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I probably didn't explain clearly what I meant. The Infra reference
Here you are trying to define the namespace of If |
||
</p> | ||
<pre class="abnf"> | ||
appIdRule = name *("." name) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,7 @@ | |
}, | ||
"app_id": { | ||
"type": "string", | ||
"description": "A string that identifies the MiniApp univocally.", | ||
"description": "A case sensitive string that identifies the MiniApp univocally.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See above about "univocally" I would probably change this to read more like:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed as suggested. Thanks. |
||
"example": "org.example.miniapp" | ||
}, | ||
"color_scheme": { | ||
|
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 word "univocally" is used correctly here, but, as a native English speaker, it's an extremely rare word (I had to look it up). I would suggest replacing it with the much more common "uniquely" or, perhaps, univocally's synonym "unequivocally".
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.
Thank you @aphillips . Changed as suggested.
I don't know where I learned that word. I've been using it for a while... thinking it was totally valid :-) Changed also in my dictionary :-)