All macros configurations

Last modified by Adina Milica on 2024/06/20 14:52

A look into all XS macro configs

Note: The initial list contained some macros that are made only for xwiki.org. These are:

ajax (initially #2), backwardCompatibilityReport134 (6), backwardCompatiblityReport (7), backwardCompatiblityReportXml (8), browser (18), check (21), codePres (24), contributors (29), database (31), displayChanges (34), faq (40), getChanges (43), imagePres (50), language (54), latestBlogPosts (55), pdftoc (69), plantuml (71), poweredBy (73), productVersions (74), releasenotechanges (77), remotecode (78), scm (79), showhide (81), spaceindex (82), spaces (83), todo (88), version (95), videoCard (96), workspaces (101)

The following ones are XS macros or popular installable macros:

  1. activity (legacy)
  2. async
  3. attachmentGalleryPicker
  4. attachmentSelector
  5. blogpostcreate
  6. blogPostLayoutCards
  7. blogPostLayoutCompact
  8. blogPostLayoutFull
  9. blogPostLayoutImage
  10. blogPostLayoutLink
  11. blogpostlist
  12. blogs
  13. box
  14. cache
  15. chart
  16. children
  17. code
  18. comment
  19. container
  20. content
  21. context
  22. dashboard
  23. diagram
  24. display
  25. displayIcon
  26. documents or pages
  27. documentTree
  28. error
  29. example
  30. footnote
  31. gallery
  32. groovy
  33. html
  34. html5video
  35. iconPicker
  36. id
  37. image
  38. include
  39. info
  40. jira
  41. liveData
  42. mention
  43. menu
  44. messageSender
  45. missingLicenseMessage
  46. notifications
  47. notificationsApplicationsPreferences
  48. notificationsAutoWatchPreferences
  49. notificationsCustomFiltersPreferences
  50. notificationsEmailPreferences
  51. notificationsFiltersPreferences
  52. notificationsSystemFiltersPreferences
  53. office
  54. pdfviewer
  55. pollsrecent
  56. putFootnotes
  57. python
  58. script
  59. success
  60. tagcloud
  61. template
  62. toc
  63. translation
  64. tree
  65. uiextension
  66. uiextensions
  67. useravatar
  68. velocity
  69. warning
  70. wikimacrocontent
  71. wikimacroparameter
  72. wikis

Macros & their field problems

Information

How should one interpret the table below:

  • In the left side, you can see how the macro modal config looks like, what its fields are, descriptions etc.
  • In the right side, you can see the name of the macro, the link to its documentation and the fields in order with the respective categorization.

For some I've added other problems that I identified (bad labels, different field category needed, bad descriptions, necessary link to doc, etc.), but all rules from here should be considered when revamping any of the configurations.

IdHow the config looks

activity (legacy)

In order:

Entries: number field

Wikis: multi choice field

Spaces: multi choice field  + page reference field

Authors: multi choice field

Tags: multi choice field

Minor: bad label + checkbox field

RSS: bad label + checkbox field

Screenshot 2024-06-13 at 11.02.47.png

async

In order:

didn't show it, but it should have content field (another time, it did show it) - wiki syntax field

Async: bad label+ checkbox field

Cached: bad label + checkbox field

Context: code field + advaced usage field

Id override: code field / simple text field + advanced usage field

Screenshot 2024-06-13 at 11.03.55.png

attachmentGalleryPicker

In order:

Filter: multi choice field + requires link to docs

Id: code field/simple text field + requires link to docs

Limit: number field

Target: technichal terminology + page reference field

Screenshot 2024-06-13 at 11.04.34.png

attachmentSelector

In order:

Classname: should be a page reference field

Property: singular choice from a limited list + bad label/technical terminology

Object: I have no idea what this is, the documentation doesn't give an example for the usage of this field + bad label

CssClass: CSS code field + the documentations doesn't give an example for how to use it

Savemode: singular choice from 2 options, both can be explained under 1-2 lines + technical terminology/bad label

Buttontext: simple text input + should have a placeholder with the default value

DefautlValue: file reference field + technical terminology/bad label

Filter: multi choice field + bad label

DisplayImage: checkbox field + bad label

Width: measurement field

Height: measurement field

Alternate text: simple text field

Link: checkbox field + bad label

Targetdocname: page reference field

Version summary: checkbox field

 

Screenshot 2024-06-13 at 11.05.34.png

Screenshot 2024-06-13 at 11.05.56.png

blogpostcreate

  • documentation
  • can be found only by installing blog application, but it doesn't get recommended for installing in quick actions like other macros do

In order:

Blog: Singular choice / page reference field

Content: wiki syntax field

Screenshot 2024-06-13 at 13.00.30.png

blogPostLayoutCards

  • documentation
  • should be under a common blog post layout macro in which the user can select the layout
  • can be found only by installing blog application, but it doesn't get recommended for installing in quick actions like other macros do

In order:

Reference: page reference field / singular choice + bad label

Content: wiki syntax field

Params: technical terminology/bad label + seems to be multi-choice field

Screenshot 2024-06-13 at 13.01.01.png

blogPostLayoutCompact

  • documentation
  • should be under a common blog post layout macro in which the user can select the layout
  • can be found only by installing blog application, but it doesn't get recommended for installing in quick actions like other macros do

In order:

Reference: page reference field / singular choice + bad label

Content: wiki syntax field

Params: technical terminology/bad label + seems to be multi choice field

Screenshot 2024-06-13 at 13.01.20.png

blogPostLayoutFull

  • documentation
  • should be under a common blog post layout macro in which the user can select the layout
  • can be found only by installing blog application, but it doesn't get recommended for installing in quick actions like other macros do

In order:

Reference: page refference field / singular choice + bad label

Content: wiki syntax field

Params: technical terminology/bad label + seems to be multi-choice field

Screenshot 2024-06-13 at 13.02.28.png

blogPostLayoutImage

  • documentation
  • should be under a common blog post layout macro in which the user can select the layout
  • can be found only by installing blog application, but it doesn't get recommended for installing in quick actions like other macros do

In order:

Reference: page refference field / singular choice + bad label

Content: wiki syntax field

Params: technical terminology/bad label + seems to be multi choice field

Screenshot 2024-06-13 at 13.03.05.png
  • documentation
  • should be under a common blog post layout macro in which the user can select the layout
  • can be found only by installing blog application, but it doesn't get recommended for installing in quick actions like other macros do

In order:

Reference: page reference field / singular choice field + bad label

Content: wiki syntax field

Params: technical terminology/bad label + seems to be multi choice field

Screenshot 2024-06-13 at 13.03.28.png

blogpostlist

  • documentation
  • can be found only by installing blog application, but it doesn't get recommended for installing in quick actions like other macros do

In order:

Blog: singular choice field

Category: singular choice field, but it depends if the person want a category or a category space, it's a bit weird

From date: date field

To date: date field

Published: singular choice

Hidden: singular choice

Limit: number field

Layout: should be a singular chhoice field that lets the user select from the available layouts

Layoutparams: technical terminology + multi choice field

Paginated: should be a checkbox field

 

Screenshot 2024-06-13 at 13.03.53.png

blogs

  • documentation
  • can be found only by installing blog application, but it doesn't get recommended for installing in quick actions like other macros do
Screenshot 2024-06-13 at 13.04.21.png

box

In order:

CssClass: css code field

Image: file reference field

Title: simple text field

Width: measurement field

Content: wiki syntax field

Screenshot 2024-06-13 at 11.08.18.png

cache

In order:

Content: wiki syntax field

Id: wiki syntax field + advanced field + link to documentation

MaxEntries: number field

TimeToLive: measurement field

 

Screenshot 2024-06-13 at 11.08.54.png

chart

Type: singular choice field + bad label

Content: wiki syntax field

Height: measurement field

Params: technical terminology + multi choice field + link to docs

Source: advanced field + singular choice field

Title: simple text field

Width: measurement field

Revamp inspiration: link

Screenshot 2024-06-13 at 11.09.17.png

children

 

Screenshot 2024-06-13 at 11.10.34.png

code

In order:

Language: singular choice field

Content: wiki sintax field

CssClass: css code field

Image: file reference field + alternative way of referencing

Layout: singular choice field

Title: simple text field

Width: measurement field

Source: code field (for script)  + page reference field (for pages)

Screenshot 2024-06-13 at 11.11.03.png

comment

In order:

Content: wiki syntax field

Screenshot 2024-06-13 at 11.12.01.png

container

In order:

CSS Class: css code field

Justify: checkbox field + bad label

Layout style: singular choice field

Content: wiki syntax field

Revamp inspiration: link

Screenshot 2024-06-13 at 11.13.33.png

content

In order:

syntax: singular choice field

Source: code field (for scripts)

Screenshot 2024-06-13 at 11.14.07.png

context

In order:

Page: page reference field

Restricted: checkbox field + bad label

Transformation context: singular choice (it's already a dropdown, but it's not consistent visually with other dropdowns)

Content: wiki syntax field

Source: code field

 

Screenshot 2024-06-13 at 11.14.39.png

dashboard

In order:

Layout: bad label + singular choice field

Source: bad label + page reference field

Style: both a singular choice and a CSS code field (could be split in 2 seperate fields)

Revamp inspiration: link

Screenshot 2024-06-13 at 11.16.13.png

diagram

In order:

Reference: page reference field (the default tree location should be in diagram)

Cached: checkbox field + bad label

Screenshot 2024-06-13 at 11.17.17.png

display

In order:

page: page reference field

Exclude First Heading: checkbox field + bad label

Section: section reference field

Revamp inspiration: link

Screenshot 2024-06-13 at 11.17.39.png

displayIcon

In order:

Name: should be transformed in Choose icon, singular choice field with previews of icons and their name besides, searchable

Icon set: singular choice from a limited list + maybe should be before the Choose icon field, as you choose the icon from a certain icon right?

Fallback: bad label + checkbox field

Revamp inspiration: link

Screenshot 2024-06-13 at 11.18.37.png

documents or pages

  • documentation ??

In order:

Count: number field + bad label

Actions: checkbox field + bad Label + probably should be included in the columns field and not be standalone

Space: bad label + incorrect terminology + singular choice field (wikis are a limited list)

Id: bad label + should be a singular choice from a limited list of available liveTables

Parent:  page reference field

Columns: multi choice field + columns should have their pretty name

Location: page reference field

 

Seems to work like pages, so I'll add pages here:

Screenshot 2024-06-13 at 11.22.08.png

documentTree

In order:

Read only: checkbox field + bad label

Show wikis: checkbox field + bad field

Show wiki prety name: checkbox field

Show spaces: checkbox field

Show page title: checkbox field

Show translations: checkbox field

Show attachements: checkbox field

Show Objects: checkbox field

Show class propertis: checkbox field

Page Hierarhy Mode: singular choice field

Root: bad label + page reference  field

Compact: bad label + checkbox field

Links: bad label + checkbox field

Checkboxes: checkbox field

Open to: page reference field

Filter Hidden Documents: bad label + checkbox field

Limit: bad label + number field

Exclusions: multi choice field + page reference fields

Screenshot 2024-06-13 at 11.21.01.png

Screenshot 2024-06-13 at 11.21.18.png

error

documentation

In order:

CssClass: css code field

Image: file reference field + Alternative to referencing/selecting file (upload)

Title: simple text field

Width: measuremnt field

Content: wiki syntax field

Screenshot 2024-06-13 at 11.22.32.png

example

documentation ????

Screenshot 2024-06-13 at 11.23.29.png

footnote

In order:

Content: wiki syntax field

Screenshot 2024-06-13 at 11.24.14.png

gallery

documentation

In order:

Content: wiki syntax field

CssClass: css code field

Height: measurement field

Width: measurement field

 

Screenshot 2024-06-13 at 11.27.16.png

groovy

In order:

Content: wiki syntax field

Jars: multi choice field + file reference field with filtering around only searching thorugh .jar files

Output: checkbox field + bad label

Wiki: bad label + checkbox field

Screenshot 2024-06-13 at 11.28.44.png

html

In order:

Content: wiki syntax field

Clean: checkbox field

Wiki: checkbox field + bad label

Screenshot 2024-06-13 at 11.30.04.png

html5video

documentation

Url: simple text field + paste clipboard icon

Width: measurement field

Height: measurement field

Attachment: bad label + this fields should be merged with Url under a common label of Source where there are given multiple options of entering the video through a link or as a file reference field

VideoPoster: bad label (should be video thumbnail) + file reference field

Dash: page reference field seems

Reference: ?? then what is Attachement

Ratio: singular choice field

Added the Video macro, not sure if the same

Screenshot 2024-06-13 at 13.17.01.png

iconPicker

In order:

Id: bad description (it should be " ID based on which other HTML components can refer to this picker and use it") + simple text field

Class: css code field or singular choice field

Prefix: simple text field + specify default in placeholder name

 

Screenshot 2024-06-13 at 11.31.48.png

id

documentation

Name: simple text field

Screenshot 2024-06-13 at 11.32.08.png
doesn't have a config

include

documentation

In order:

Page: page reference field

Author: singular choice field (the arrow is not consistent)

Exclude First heading: checkbox field

Section: section reference field

Screenshot 2024-06-13 at 11.34.00.png

info

documentation

In order:

CssClass: css code field

Image: file reference field + Alternative to referencing/selecting file (upload)

Title: simple text field

Width: measuremnt field

Content: wiki syntax field

Screenshot 2024-06-13 at 11.34.22.png

jira

documentation

In order:

Content: wiki syntax field

URL: bad lebel + simple text field

Fields: probably a multi choice field

Id: simple text field

maxCount: bad label + placeholder should specify default value

Parameters: multi choice field?

Source: singular choice field

Style: singular choice field

Screenshot 2024-06-13 at 11.37.04.png

liveData

documentation

In order:

Filters: should use the livedata Filter UI existing in the view/editing mode of the page (not in the config)

Id: singular choice field from a limited list of available livetables + bad label + should allow creating a new dynamic data type (AWM) from this UI

layouts: singular choice field

Limit: number field

Offset: technical terminology + number field

Page sizes: this can stay like this, numbers delimited with columns

Properties: bad label (should be column) + multi choice field

Show page size drop-down: checkbox field

Sort: should use the livedata Sort UI existing in the view/editing mode of the page (not in the config)

Source parameters: code field

Content: bad label + code field

 

Screenshot 2024-06-13 at 11.38.12.png
no need for config

menu

In order:

Type: singular choice field

Id: code field/simple text field + bad description + link to doc

Label: simple text field

Screenshot 2024-06-13 at 11.39.40.png

messageSender

In order:

Visibility: singular choice field

Visibility parameters: bad label + user reference field + for groups: simgular choice dropdown + bad description

Visibility options: bad label + bad description + singular choice dropdown

Screenshot 2024-06-13 at 11.41.22.png

missingLicenseMessage

documentation ???

In order:

Extension name: link in description+ simple text field

Screenshot 2024-06-13 at 11.43.14.png

notifications

documentation

In order:

Count: number field

Use the references of the user: checkbox field

Display own events: checkbox field

Display minor events: checkbox field

Display system events: checkbox field

Display read events: checkbox field

Display "read" status: checkbox field

Wikis: multi choice field

Spaces: multi-choice field

Pages: multi-choice field + page reference field

Users: multi choice field + user reference field

Display followed user only: checkbox field

Display RSS link: checkbox field

Tags: multi-choice field

Screenshot 2024-06-13 at 11.43.54.png

notificationsApplicationsPreferences

---------------------- continue linking docs

documentation

In order:

Target: singular chocie field

User: user reference field

Screenshot 2024-06-13 at 11.44.24.png

 

notificationsAutoWatchPreferences

documentation

In order:

Target: singular chocie field

User: user reference field

Screenshot 2024-06-13 at 11.46.04.png

notificationsCustomFiltersPreferences

documentation

In order:

User: user reference field

Target: singular chocie field

 

Screenshot 2024-06-13 at 11.46.34.png

notificationsEmailPreferences

documentation

In order:

User: user reference field

Target: singular chocie field

Screenshot 2024-06-13 at 11.47.30.png

notificationsFiltersPreferences

documentation

(deprecated)

In order:

User: user reference field

 

Screenshot 2024-06-13 at 11.48.13.png

notificationsSystemFiltersPreferences

documentation

In order:

User: user reference field

Target: singular chocie field

Screenshot 2024-06-13 at 11.48.43.png

office

  • documentation
  • should just show a uplod or select office file, no need to put that in the configuration

In order:

Filter styles: checkbox field

Reference: bad label + file reference (it's already kind of done, just needs to be consistent)

Screenshot 2024-06-13 at 11.49.08.png

pdfviewer

documentation

In order:

File: file reference field

Height: measurement field

Width: measurement field

Delegate my view right: should be checkbox field

Document: file reference field

 

Screenshot 2024-06-13 at 11.50.33.png

pollsrecent

  • documentation
  • doesn't appear in quick actions as recommended for install like other extensions, cannot be found

Limit: number field


Screenshot 2024-06-13 at 13.21.47.png

putFootnotes

Screenshot 2024-06-13 at 11.54.09.png

python

documentation

In order:

Content: wiki syntax field

Jars: multi choice field + file reference field with filtering around only searching thorugh .jar files

Output: checkbox field + bad label

Wiki: bad label + checkbox field

Screenshot 2024-06-13 at 11.54.40.png

script

In order:

Content: wiki syntax field

Jars: multi choice field + file reference field with filtering around only searching thorugh .jar files

Language: singular choice field

Output: checkbox field + bad label

Wiki: bad label + checkbox field

Screenshot 2024-06-13 at 12.23.04.png

success

documentation

In order:

CssClass: css code field

Image: file reference field

Title: simple text field

Width: measuremnt field

Content: wiki syntax field

Screenshot 2024-06-13 at 12.27.48.png

tagcloud

documentation

Space: singular choice field

Spaces: multi choice field

Limit: number field

Screenshot 2024-06-13 at 12.28.39.png

template

  • documentation
  • opens blank
  • should just be a button to choose a template, no need to have this in the config

Name: bad label + singular choice field

Ouput: bad label + checkbox field

Screenshot 2024-06-13 at 12.30.01.png

toc

Depth: bad label + number field

Reference: bad label + page reference field

Scope: singular choice field

Start: bad leble + number field

Numbered: bad label + checkbox

Screenshot 2024-06-13 at 12.31.13.png

translation

documentation

Content: wiki syntax

Key: bad label (has to stay consistent with the technical term of translation key) + singular choice field if possible _ link to docs

Locale: bad label + should be two separate field: language & country, both singular choice field

Parameters: based on the translation key, should be dynamically allocated a number of sub-fields, simple text fields

Screenshot 2024-06-13 at 12.34.28.png

tree

  • documentation
  • not only it opens blank, but you cannot double click it (bugged?)

Reference: bad bad label + page reference field + really bad description

Root: I think it's a page reference field

Drag and drop: bad label + checkbox field

Context menu: bad label + checkbox field

Class: css code field

Icons: bad label + checkbox field

Edges: bad label + checkbox field

Links: bad label + checkbox field

Checkboxes: bad label + checkbox field

Open to: code field? or page reference field

Finder: bad label + checkbox

Show root: checkbox field

Limit: number field

Exclusions: multi choice field + page reference field

Content: wiki syntax field

 

Screenshot 2024-06-13 at 12.36.26.png

uiextension

documentation

  • doesn't need a modal config, could just render a button "Insert UI extension", clicking it would open a list with all UI extension available (is this list that big?)

Identifier: singular choice field

Screenshot 2024-06-13 at 12.37.14.png

uiextensions

  • documentation
  • doesn't need a modal config, could just render a button "Insert UI extension", clicking it would open a list with all UI extension available (is this list that big?)

Extension Point: singular choice field

Screenshot 2024-06-13 at 12.37.57.png

useravatar

documentation

In order:

Username: user reference field (seems to be already, but can be improved)

Height: measurement field

Width: measurement field

Screenshot 2024-06-13 at 12.38.17.png

velocity

In order:

Content: code field

Filter: singular choice field

Jars: file reference field + page reference field

Output: bad label + checkbox field

Wiki: bad label + checkbox field

Screenshot 2024-06-13 at 12.40.02.png

warning

documentation

In order:

CssClass: css code field

Image: file reference field

Title: simple text field

Width: measuremnt field

Content: wiki syntax field

Screenshot 2024-06-13 at 12.42.11.png

wikimacrocontent

  • documentation
  • opens blank
  • doesn't work, you can't type in it in editable mode (bug?)
Screenshot 2024-06-13 at 12.42.43.png

wikimacroparameter

In order:

Name:

Content

Screenshot 2024-06-13 at 12.43.41.png
Screenshot 2024-06-13 at 12.44.03.png

Get Connected