# Veldapps >7 years
---

![](https://i.snipboard.io/lPmkGy.jpg)

![](https://i.snag.gy/KZWlUz.jpg)

# Todo

* **input.html** - direct input without page change would be a nice impl
* **popup page refresh/render** - 
	* render logic
		* .list.summary
		* .virtual-list.list -> $$refreshItems callback
* **refactor current routes** to eventually redirect to entity-specific addresses, like:
	* /onderzoeken -> veldoffice/onderzoeken
	* /meetpunten -> veldoffice/meetpunten
	* /onderzoek/:key -> veldoffice/onderzoek/:key
	* /meetpunt/:key -> veldoffice/meetpunt/:key
---
* **refactor VA.entities/VA.instances**
	* path/instance -> reference
	* entity characteristics are distinct per namespace
	* namespaces are just names/strings
		* va
		* veldoffice
		* sikb0101
		* imbro
		* crow
### API
	VA.entities.get("veldoffice/onderzoek");
	VA.instances.get("veldoffice/onderzoek/11161119");
	VA.instances.get("veldoffice/meetpunt/.popup-new");
	VA.instances.resolve(reference).then(_ => {});

	var Onderzoek = VA.entities.get("veldoffice/onderzoek");
	var template = VA.instances.get("veldoffice/onderzoek/.new");
	Onderzoek.newInstance(template);
---
* refactor va/templates/input-elements.js -> VA.input.reflect
* refactor va/templates/input-elements.html -> va/templates/input/elements.html
* revert string value doesn't reflect (because popups can't be refresh'd)
* meetpunt is added to prototype of onderzoek
* references are not persisted for Meetpunt#.popup-new 

>> ![](https://i.snag.gy/LoHtlZ.jpg?2x)

* meetpunten inside onderzoek do not refresh when returning from creating new meetpunt
* meetpunten inside onderzoek should be sortable
* rendering somehow can get stuck in a loop, seems to happen to /menu because there is no vl
* new meetpunt has an invalid date

>> ![](https://i.snag.gy/dwOFZG.jpg?2x)

* layers, plus-action-sheets
* build.json