Changes

Jump to navigation Jump to search
Line 15: Line 15:  
= To do =
 
= To do =
 
The goal is to streamline the SAR process. There are many ways this could be made easier. If one looks at the generated requests, they miss some of the information, particularly identifiers for the individual requesting the data. We want to enable filling some data (like name or telephone number) only once, and then be able to make multiple requests. One way to do this is by using LocalStorage, but which data attributes to collect and where should be stored in the database itself.  
 
The goal is to streamline the SAR process. There are many ways this could be made easier. If one looks at the generated requests, they miss some of the information, particularly identifiers for the individual requesting the data. We want to enable filling some data (like name or telephone number) only once, and then be able to make multiple requests. One way to do this is by using LocalStorage, but which data attributes to collect and where should be stored in the database itself.  
  −
Ongoing instructions:
  −
* Read and constantly document [[architecture of SAR service]]
  −
* [https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript Javascript conventions]
  −
* '''Whenever using property or item numbers in code, define a new variable early in the code with that <name>_id locally, for example "controller_item_id = 96" (see {{Q|96}})'''  (this makes the code produced less dependent on which Wikibase instance we are using, as the numbers will change)
      
Specific instructions:
 
Specific instructions:
* Modify the [[MediaWiki:Access.js]] code to follow the convention above.  
+
* Modify the [[MediaWiki:Access.js]] code to follow the conventions above.  
 
* Make sure the SAR popup only shows up selectively, for those items that are "instance of" "data controller" (here: [http://wiki.personaldata.io/wiki/Property:P3 P3]--{{Q|96}})
 
* Make sure the SAR popup only shows up selectively, for those items that are "instance of" "data controller" (here: [http://wiki.personaldata.io/wiki/Property:P3 P3]--{{Q|96}})
 
* Have a look at [https://www.mediawiki.org/wiki/OOUI OOUI]
 
* Have a look at [https://www.mediawiki.org/wiki/OOUI OOUI]

Navigation menu