VisualData feature ideas
Jump to navigation
Jump to search
Feature examples[edit | edit source]
- Hierarchical form tree
- Preload data with nested and multiple values
- Result format Count
- Pre-select form tab (if multiple schemas)
- Result format json-raw
- Extension:UniquePageTitle
- Test Lua VisualData
Feature requests[edit | edit source]
Feature | Comment |
---|---|
Lua equivalents for #visualdataquery and #visualdataprint and possibility to retrieve JSON from json-data slot in Lua | frame:callParserFunction() can be an alternative. Retrieving json-raw in Lua seems to be a problem, mw.text.jsonDecode() fails, possibly because of strip markers (About strip makrers, Example )? |
5401 '5402' (Extension:IDProvider) |
Similar to <unique number> in PageForms (see here). Solved with Extension:UniquePageTitle |
Sorting function for multiple fields / sub-items | |
Image preview on file upload | Theoretically already provided in the code, see /resources/VisualDataForms.js |
CSV Import | |
Works in newer versions of VisualData - Custom code adjustment for handling nested and multiple values - should be committed to VisualData | |
For long pages: Scroll back to the previous page position after saving popup forms | |
Internationalization for values in select and dropdown lists | Possibly via switch statement, see: https://www.mediawiki.org/wiki/Extension:VisualData/Queries_in_forms |
Display label instead of schema name in tabs in forms | |
Ability to open forms from the content block of another form (form button is currently not rendered) | |
Ability to show conditonal fields/form elements depending on VisualData queries | |
Ability to edit json-data Slot | |
Form parameter to restrict forms to given user groups | |
Additional operators in queries (OR) - does it make sense to impelement a JSON query language like https://jmespath.org/ |
Bugs[edit | edit source]
Bug | Comment |
---|---|
$wgGroupPermissions['*'][“visualdata-caneditdata”] = false; is set in LocalSettings.php |
Fixed with v1.0.8b |
VE (VEForAll) does not load in inactive form tabs | |
{{int:User}} |
Works after resaving the Schemas |
Bug | Comment |
---|---|
$wgGroupPermissions['*'][“visualdata-caneditdata”] = false; is set in LocalSettings.php |
Fixed with v1.0.8b |
Fixed with v1.0.5 | |
Import script does not work due to incorrect version check 1.41 instead of 1.41.0 | |
Fixed with v1.0.5 | |
VE (VEForAll) does not load in inactive form tabs | |
Fixed with v1.0.8 | |
Triggers for conditional field do not work reliably, especially with OO.ui.ToggleSwitchWidget |