-
Notifications
You must be signed in to change notification settings - Fork 299
docs(grid): docs style adjust #3369
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
Conversation
WalkthroughThis change refactors multiple JavaScript demo configuration files by removing unnecessary quotes around object keys in exported objects. Keys such as Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
examples/sites/demos/apis/float-button.jsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_REQUIRE_ESM]: require() of ES Module /examples/sites/demos/.eslintrc.js from /node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs not supported.
examples/sites/demos/pc/app/grid/webdoc/grid-align.jsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_REQUIRE_ESM]: require() of ES Module /examples/sites/demos/.eslintrc.js from /node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs not supported.
examples/sites/demos/pc/app/grid/webdoc/grid-context-menu.jsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_REQUIRE_ESM]: require() of ES Module /examples/sites/demos/.eslintrc.js from /node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/eslintrc/dist/eslintrc.cjs not supported.
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (15)
examples/sites/demos/pc/app/grid/webdoc/grid-custom-style.js (1)
47-47
: Inconsistent quoting inapis
object.
You unquotedname
but left quotes aroundtype
,props
,events
, andslots
. Consider removing those quotes for full consistency:- apis: [{ name: 'grid-custom-style', 'type': 'component', 'props': [], 'events': [], 'slots': [] }] + apis: [{ name: 'grid-custom-style', type: 'component', props: [], events: [], slots: [] }]examples/sites/demos/pc/app/grid/webdoc/grid-pager.js (1)
54-54
: Inconsistent quoting inapis
object.
You unquotedname
but kept quotes on other keys. For uniformity, remove all unnecessary quotes:- apis: [{ name: 'grid-pager', 'type': 'component', 'props': [], 'events': [], 'slots': [] }] + apis: [{ name: 'grid-pager', type: 'component', props: [], events: [], slots: [] }]examples/sites/demos/pc/app/grid/webdoc/grid-expand.js (1)
56-56
: Inconsistent quoting inapis
object.
Consider removing quotes around all keys for consistency:- apis: [{ name: 'grid-expand', 'type': 'component', 'props': [], 'events': [], 'slots': [] }] + apis: [{ name: 'grid-expand', type: 'component', props: [], events: [], slots: [] }]examples/sites/demos/pc/app/grid/webdoc/grid-empty.js (1)
37-37
: Inconsistent quoting inapis
object.
For full consistency, remove all unnecessary quotes:- apis: [{ name: 'grid-empty', 'type': 'component', 'props': [], 'events': [], 'slots': [] }] + apis: [{ name: 'grid-empty', type: 'component', props: [], events: [], slots: [] }]examples/sites/demos/pc/app/grid/webdoc/grid-header.js (2)
7-8
: Approve key unquoting in first header demo & note typo.
Unquotingname
/desc
is correct, but there’s a typo in the documentation:<code>fasle</code>
should be<code>false</code>
.
55-55
: Inconsistent quoting inapis
object.
Remove unnecessary quotes on all keys for uniform style:- apis: [{ name: 'grid-header', 'type': 'component', 'props': [], 'events': [], 'slots': [] }] + apis: [{ name: 'grid-header', type: 'component', props: [], events: [], slots: [] }]examples/sites/demos/pc/app/grid/webdoc/grid-drag.js (1)
7-8
: Style consistency improvement suggestionThe quotes have been correctly removed from object keys like
name
anddesc
, which improves readability and follows modern JavaScript conventions. However, in line 48, whilename
has quotes removed, the properties'type'
,'props'
,'events'
, and'slots'
still retain their quotes. For complete consistency, consider removing quotes from these properties as well.- apis: [{ name: 'grid-drag', 'type': 'component', 'props': [], 'events': [], 'slots': [] }] + apis: [{ name: 'grid-drag', type: 'component', props: [], events: [], slots: [] }]Also applies to: 17-18, 28-29, 39-40, 48-48
examples/sites/demos/pc/app/grid/webdoc/grid-import-export.js (1)
7-8
: Style consistency improvement suggestionThe quotes have been appropriately removed from object keys like
name
anddesc
, which aligns with modern JavaScript conventions. However, in line 31, theapis
array still contains quoted properties ('type'
,'props'
,'events'
, and'slots'
). For consistent styling throughout the file, consider removing quotes from these properties as well.- apis: [{ name: 'grid-import-export', 'type': 'component', 'props': [], 'events': [], 'slots': [] }] + apis: [{ name: 'grid-import-export', type: 'component', props: [], events: [], slots: [] }]Also applies to: 16-17, 31-31
examples/sites/demos/pc/app/grid/webdoc/grid-fixed.js (1)
7-8
: Style consistency improvement suggestionThe quotes have been correctly removed from object keys like
name
anddesc
throughout the demos array. However, in line 50, whilename
has had quotes removed, the properties'type'
,'props'
,'events'
, and'slots'
still retain their quotes. For complete style consistency across the file, consider removing quotes from these properties as well.- apis: [{ name: 'grid-fixed', 'type': 'component', 'props': [], 'events': [], 'slots': [] }] + apis: [{ name: 'grid-fixed', type: 'component', props: [], events: [], slots: [] }]Also applies to: 18-19, 29-30, 40-41, 50-50
examples/sites/demos/pc/app/grid/webdoc/grid-span.js (1)
7-8
: Style consistency improvement suggestionThe quotes have been appropriately removed from object keys like
name
anddesc
in all demo entries. However, in line 37, whilename
has had quotes removed, the properties'type'
,'props'
,'events'
, and'slots'
still retain their quotes. For complete style consistency, consider removing quotes from these properties as well.- apis: [{ name: 'grid-span', 'type': 'component', 'props': [], 'events': [], 'slots': [] }] + apis: [{ name: 'grid-span', type: 'component', props: [], events: [], slots: [] }]Also applies to: 18-19, 27-28, 37-37
examples/sites/demos/pc/app/grid/webdoc/grid-context-menu.js (1)
50-50
: Optional: Unquote API metadata keys
To fully standardize the style, you could also remove the quotes aroundtype
,props
,events
, andslots
in theapis
object—these are valid identifiers and don't require quoting.examples/sites/demos/pc/app/grid/webdoc/grid-editor.js (1)
88-88
: Optional: Extend unquoting to API metadata
For consistency with the demos, consider removing quotes around thetype
,props
,events
, andslots
keys in theapis
entry as well.examples/sites/demos/pc/app/grid/webdoc/grid-data-source.js (1)
67-67
: Optional: Clean up API key quoting
You may want to unquote thetype
,props
,events
, andslots
keys in theapis
array for a fully consistent style across all metadata files.examples/sites/demos/pc/app/grid/webdoc/grid-edit.js (1)
105-105
: Optional: Unquote API metadata keys
Consider removing the quotes aroundtype
,props
,events
, andslots
in theapis
object to maintain uniform key style.examples/sites/demos/pc/app/grid/webdoc/grid-toolbar.js (1)
159-159
: Optional: Remove quotes from API keys
For consistency, you could unquote thetype
,props
,events
, andslots
keys in theapis
entry as well.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (37)
examples/sites/demos/apis/float-button.js
(1 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-align.js
(4 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-appearance-settings.js
(2 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-context-menu.js
(5 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-custom-style.js
(4 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-custom.js
(16 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-data-source.js
(5 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-drag.js
(4 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-dynamically-columns.js
(2 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-edit.js
(10 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-editor.js
(7 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-empty.js
(3 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-event.js
(17 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-expand.js
(5 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-faq.js
(5 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-filter.js
(9 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-fixed.js
(5 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-footer.js
(3 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-header.js
(4 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-highlight.js
(6 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-import-export.js
(2 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-large-data.js
(7 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-loading.js
(2 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-mouse-keyboard.js
(3 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-operation-column.js
(7 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-pager.js
(2 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-renderer.js
(6 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-row-grouping.js
(3 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-serial-column.js
(4 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-size.js
(10 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-slot.js
(1 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-sort.js
(6 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-span.js
(3 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-tip.js
(3 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-toolbar.js
(12 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-tree-table.js
(12 hunks)examples/sites/demos/pc/app/grid/webdoc/grid-validation.js
(11 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: PR Unit Test
- GitHub Check: PR E2E Test (pnpm test:e2e3)
🔇 Additional comments (61)
examples/sites/demos/apis/float-button.js (1)
6-7
: Stylistic cleanup of object keys
Unnecessary quotes around valid JavaScript identifiers (e.g.,name
,type
,mode
,pcDemo
) have been removed throughout the API description object. This change is purely syntactic and does not affect functionality.Also applies to: 10-12, 18-19, 21-23, 32-33, 40-41, 43-44, 65-66, 75-76, 87-88, 99-100, 110-111, 142-143, 154-155, 165-166, 178-180, 191-192
examples/sites/demos/pc/app/grid/webdoc/grid-appearance-settings.js (2)
7-8
: Unquoted valid object keys indemos
Removed quotes fromname
anddesc
properties in thedemos
entries to standardize object literal notation.
26-26
: Consistent key formatting in APIs section
Thename
property in theapis
array is now unquoted, aligning with the updated style guide.examples/sites/demos/pc/app/grid/webdoc/grid-slot.js (2)
7-7
: Removed quotes aroundname
in demos
Allname
keys within thedemos
array have been unquoted for idiomatic JavaScript syntax.Also applies to: 16-16, 25-25, 34-34, 43-43
51-51
: Unquotedname
inapis
The API entry’sname
property is now unquoted, matching the style applied to demos.examples/sites/demos/pc/app/grid/webdoc/grid-sort.js (2)
7-7
: Unquotedname
in sorting demos
Consistently removed quotes around thename
key for eachdemos
entry to improve readability.Also applies to: 17-17, 27-27, 39-39, 50-50
60-60
: Standardized API key formatting
Unquoted thename
property in theapis
section to adhere to the updated object literal style.examples/sites/demos/pc/app/grid/webdoc/grid-loading.js (2)
7-7
: Removed quotes aroundname
in loading demos
Thename
keys for loading demos have been unquoted, ensuring consistency across all demo metadata.Also applies to: 18-18
26-26
: Standardized API key formatting
Thename
property in theapis
array is now unquoted, aligning with the overall style update.examples/sites/demos/pc/app/grid/webdoc/grid-custom-style.js (4)
7-8
: Approve removal of quotes around demo metadata keys.
Unquotingname
anddesc
makes the object literal more idiomatic without changing any behavior.
18-19
: Approve consistent key unquoting in second demo entry.
Removing quotes aroundname
anddesc
here aligns with the style change across demo entries.
28-29
: Approve key unquoting in third demo entry.
This stylistic update is purely syntactic and maintains existing semantics.
38-39
: Approve key unquoting in fourth demo entry.
The change enhances readability and is consistent with other demo objects.examples/sites/demos/pc/app/grid/webdoc/grid-pager.js (4)
7-8
: Approve unquotedname
/desc
keys in first pager demo.
The syntax cleanup is purely stylistic and consistent with the PR objective.
16-17
: Approve unquotedname
/desc
keys in second pager demo.
This aligns with the idiomatic JavaScript style applied elsewhere.
36-37
: Approve unquotedname
/desc
keys in third pager demo.
No behavior change; the keys remain correctly mapped.
45-47
: Approve unquotedname
/desc
keys in fourth pager demo.
Consistent with other demo entries in this file.examples/sites/demos/pc/app/grid/webdoc/grid-expand.js (4)
7-8
: Approve key unquoting in first expand demo.
Removing quotes aroundname
anddesc
keys is a safe, purely stylistic change.
20-21
: Approve key unquoting in second expand demo.
Matches the refactoring pattern in other demo files.
33-34
: Approve key unquoting in third expand demo.
The object still conveys the same metadata, with improved readability.
43-44
: Approve key unquoting in fourth expand demo.
Consistent with the rest of the PR’s style adjustments.examples/sites/demos/pc/app/grid/webdoc/grid-empty.js (3)
7-8
: Approve key unquoting in first empty-data demo.
Purely syntactic cleanup; the content remains unaffected.
17-18
: Approve key unquoting in default empty-data demo.
Aligns with the PR’s goal of style consistency.
27-28
: Approve key unquoting in centered empty-data demo.
No semantic changes—just cleaner syntax.examples/sites/demos/pc/app/grid/webdoc/grid-header.js (4)
18-19
: Approve key unquoting in multi-header config demo.
The stylistic change is valid and consistent.
27-28
: Approve key unquoting in custom header demo.
Semantic content is unchanged; readability improved.
37-38
: Approve key unquoting in slot-based header demo.
Matches patterns applied elsewhere in the PR.
47-48
: Approve key unquoting in dynamic header switching demo.
No logic changes, just cleaner metadata syntax.examples/sites/demos/pc/app/grid/webdoc/grid-serial-column.js (1)
7-8
: Style improvement: Removed unnecessary quotes from object keysThe change properly removes redundant quotes around object property names like
name
anddesc
, making the JavaScript object syntax cleaner while maintaining identical functionality.Also applies to: 17-18, 28-29, 38-38
examples/sites/demos/pc/app/grid/webdoc/grid-tip.js (1)
7-8
: Style improvement: Removed unnecessary quotes from object keysThe change properly removes redundant quotes around object property names like
name
anddesc
, making the JavaScript object syntax cleaner while maintaining identical functionality.Also applies to: 25-26, 45-46, 54-54
examples/sites/demos/pc/app/grid/webdoc/grid-mouse-keyboard.js (1)
7-8
: Style improvement: Removed unnecessary quotes from object keysThe change properly removes redundant quotes around object property names like
name
anddesc
, making the JavaScript object syntax cleaner while maintaining identical functionality.Also applies to: 37-38, 46-47, 57-57
examples/sites/demos/pc/app/grid/webdoc/grid-filter.js (1)
7-8
: Style improvement: Removed unnecessary quotes from object keysThe change properly removes redundant quotes around object property names like
name
anddesc
, making the JavaScript object syntax cleaner while maintaining identical functionality.Also applies to: 32-33, 41-42, 51-52, 62-63, 71-72, 81-82, 91-92, 102-103, 113-114, 123-124, 131-131
examples/sites/demos/pc/app/grid/webdoc/grid-highlight.js (2)
7-8
: Consistent style cleanup for demo entriesRemoved unnecessary quotes around the
name
anddesc
keys in each demo object. This syntactic update standardizes the object literal notation and improves readability without altering any functionality.Also applies to: 18-19, 27-28, 38-39, 48-49, 58-59
68-68
: Unquote the top-levelapis
keyRemoved quotes around the
apis
key to align with the unquoted object-key convention applied elsewhere.examples/sites/demos/pc/app/grid/webdoc/grid-row-grouping.js (2)
7-8
: Unquotedname
anddesc
keys in demo objectsStandardized the demo metadata by removing quotes from the
name
anddesc
keys. This enhances consistency across all demo entries without impacting their content or behavior.Also applies to: 18-19, 32-33, 42-43
50-50
: Remove quotes from theapis
keyAligned the
apis
key with the updated style by unquoting it at the root object level.examples/sites/demos/pc/app/grid/webdoc/grid-align.js (2)
7-8
: Remove unnecessary quotes fromname
anddesc
Updated the demo entries to use unquoted
name
anddesc
keys, improving code consistency and idiomatic JavaScript style.Also applies to: 18-19, 29-30
39-39
: Unquote theapis
keyAligned the key styling by removing the quotes around
apis
in the exported object.examples/sites/demos/pc/app/grid/webdoc/grid-renderer.js (2)
7-8
: Standardize demo object keysRemoved quotes from the
name
anddesc
keys across all renderer demos, enforcing a consistent unquoted key style in object literals.Also applies to: 38-39, 49-50, 60-61, 71-72
82-82
: Unquotedapis
key for consistencyRemoved the quotes around the
apis
property at the module level to match the updated style guidelines.examples/sites/demos/pc/app/grid/webdoc/grid-size.js (2)
7-8
: Unifiedname
anddesc
key formattingCleaned up all demo entries by unquoting the
name
anddesc
keys, ensuring a uniform object literal syntax throughout the file.Also applies to: 16-17, 26-27, 36-37, 46-47, 56-57, 64-65, 75-76, 85-86, 96-97, 107-108, 117-118, 128-129
136-136
: Remove quotes from theapis
keyUpdated the top-level
apis
key to be unquoted, aligning with the style applied to other object keys.examples/sites/demos/pc/app/grid/webdoc/grid-footer.js (1)
7-8
: Style improvement: Unquoted object property keysThe removal of unnecessary quotes around object keys (
name
,desc
) throughout the file makes the code more idiomatic JavaScript. This style adjustment improves readability while maintaining the same functionality.Also applies to: 16-17, 25-26, 36-37, 46-46
examples/sites/demos/pc/app/grid/webdoc/grid-event.js (1)
7-8
: Consistent style update: Removed unnecessary quotesThe change consistently removes quotes around object property keys in the entire file. This follows standard JavaScript conventions where quotes are only needed for keys containing special characters or spaces.
Also applies to: 25-26, 39-40, 53-57, 71-72, 81-82, 92-93, 103-104, 117-118, 127-128, 138-139, 148-149, 159-160, 170-171, 180-181, 190-191, 199-200, 209-209
examples/sites/demos/pc/app/grid/webdoc/grid-operation-column.js (1)
7-8
: Style improvement: Using unquoted object keysConverting quoted property keys (
'name'
,'desc'
) to unquoted versions (name
,desc
) improves code style consistency. This change follows modern JavaScript conventions and makes the code cleaner.Also applies to: 17-18, 28-29, 45-46, 56-57, 67-68, 76-77, 86-87, 95-95
examples/sites/demos/pc/app/grid/webdoc/grid-faq.js (1)
7-8
: Code style standardization: Unquoted object keysRemoving the quotes around object property keys standardizes the code style throughout the grid documentation. This change follows JavaScript best practices while maintaining all functionality.
Also applies to: 18-19, 28-29, 34-35, 44-45, 56-56
examples/sites/demos/pc/app/grid/webdoc/grid-validation.js (2)
7-126
: Consistent removal of quotes indemos
metadata
Allname
anddesc
keys within thedemos
array have been converted from quoted strings to unquoted identifiers. This change is purely stylistic, aligns with idiomatic JavaScript object notation, and does not affect runtime behavior.
129-129
: Consistent removal of quotes inapis
metadata
Thename
key in theapis
array is now unquoted, matching the rest of the object literal style. No functional impact.examples/sites/demos/pc/app/grid/webdoc/grid-dynamically-columns.js (2)
7-58
: Consistent removal of quotes indemos
metadata
Across all demo entries (name
anddesc
), the quoted keys have been updated to unquoted identifiers. This is valid JavaScript syntax and improves code consistency without changing functionality.
65-65
: Consistent removal of quotes inapis
metadata
Thename
key in theapis
array has been updated to an unquoted identifier for uniformity. Safe and correct.examples/sites/demos/pc/app/grid/webdoc/grid-tree-table.js (2)
7-152
: Consistent removal of quotes indemos
metadata
Allname
anddesc
keys in thedemos
array are now unquoted, standardizing the object literal style. This is a non-functional, stylistic adjustment.
153-153
: Consistent removal of quotes inapis
metadata
Thename
key in theapis
array has been converted to an unquoted identifier, matching the updated style.examples/sites/demos/pc/app/grid/webdoc/grid-large-data.js (2)
7-96
: Consistent removal of quotes indemos
metadata
Keysname
anddesc
across all demo objects have been updated to unquoted identifiers. This change is purely stylistic and safe.
97-97
: Consistent removal of quotes inapis
metadata
Thename
key in theapis
array is now unquoted, ensuring consistency across the object literal.examples/sites/demos/pc/app/grid/webdoc/grid-custom.js (2)
7-172
: Consistent removal of quotes indemos
metadata
All demo entries now use unquotedname
anddesc
keys, improving readability and adhering to standard JS syntax.
174-175
: Consistent removal of quotes inapis
metadata
Thename
key in theapis
section is unquoted for uniform styling. No changes to behavior.examples/sites/demos/pc/app/grid/webdoc/grid-context-menu.js (1)
7-46
: Remove unnecessary quotes in demo metadata
The changes uniformly unquote thename
anddesc
keys within each demo entry, cleaning up the object literal syntax without altering any values or behavior.examples/sites/demos/pc/app/grid/webdoc/grid-editor.js (1)
7-87
: Approve style cleanup in editor demos
All occurrences of quotedname
anddesc
keys in thedemos
array have been converted to unquoted identifiers, making the syntax more idiomatic. There are no functional changes.examples/sites/demos/pc/app/grid/webdoc/grid-data-source.js (1)
7-66
: Approve style update in data-source demos
The PR removes unnecessary quotes aroundname
anddesc
keys in each demo configuration, improving readability while preserving data and functionality.examples/sites/demos/pc/app/grid/webdoc/grid-edit.js (1)
7-103
: Approve syntax-only changes in edit demos
Quoted keys forname
anddesc
have been replaced with unquoted identifiers in all demo entries, standardizing style with no change to content or logic.examples/sites/demos/pc/app/grid/webdoc/grid-toolbar.js (1)
7-157
: Approve cleanup of toolbar demos
All quotedname
anddesc
keys in the toolbar demos have been converted to bare identifiers, improving consistency and readability without affecting functionality.
PR
文档结构统一
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit