templar's People
Forkers
kbass-zerotemplar's Issues
Templar.done() firing prematurely
State.comilationThreadCnt is hitting 0 and the final block is running and then threads are returning resulting in the subject line.
No component instantiation if route target is component
<!-- works on initial load, but not on subsequents-->
<Codedown id="apl-content" data-apl-default="Repeats.html"></Codedown>
Multiple instance of same select not working
bind the same list to multiple selects in a scope and only the last instance will render.
DMA listeners don't fire unless DMA is bound to DOM element
A user may want to for changes to a DMA that is not bound to the DOM, but exists strictly for book keeping purposes. When changed this book keeping may trigger some change in the DOM or cascade the change through the application state.
Current;y, interpolate() does not dispatch event listeners unless the event object has a type (ie a tagName).
Interp of complex attribs + additional text
`
${{$item}}.request.amt 's spent ``
"$" before works but text after attrib is erased
Sets using current_selection should take name or value
Might also want to think about giving current selection ;name' and 'value' properties.
Ad category not populating
STR: My Ads -> Pick and ad -> View
Notice the ad category missing in an unpredictable fashion.
Need onDestroy life cycle phase
Currently Templar sets lots of listeners but doesn't unbind them. Also it doesn't provide an APi to allow user to cleanup listeners bound to repeats.
Notify of un-fired success listeners
I noticed when changing partial names that their listeners failed silently. In a large project this would be time consuming to track down the silent fails. Logging this would help.
orderBy() with no arguments breaks sort
templar-interpolation-sort tests failing when this case is executed,
Nested repeaters - limitations on access to "index"
We do not have access to the surrounding repeater's index property while inside the nested repeater.
undefined value during deferenceAttribute
Do def checking in the while loop of dereferenceAttribute() to stop this issue
hideIf Attribute value not updating
When using an array length prop as the value, the attribute is not re-evaluating on change of the array length.
See: partials/Ad-Search/ad-list.html
Make model recognition optional
Changing select preprocessing to allow for explicit repeating of option nodes.
Increase select attribute change event granularity
The user would benefit from being able to distinguish whether a select attribute has changed due to a.) a clobber-set (as with a cascade) b.) a user selections c.) programmatic setting through 'current_selection.'
Component should be able to have helper functions
I want to be able to declare functions as properties of a component. this would keep me from having to redefine inner functions on every call to onCreate.
Repeat flashing, unwanted scroll to top
If I have a large, unpaged repeat and I change the state of an index far down the page,
the rebuilding of the entire repeat a.) causes the repeat to flash and b.) scrolls the user
up to the top of the page.
It seems the time has finally come for me to address my "scorched earth" repeat methodology
Track loaded UI state
This would allow Templar to diff the current state from the requested state and load the diffs. This would reduce unnecessary compilation and server requests if those handlers had out bound requests.
Cached input value selection not firing interpolation
the fix is listening for onchange as well as keyup
using standard event handler attributes
<a onclick="{{Example.handlers.clickBtn}}">clcik Me</a>
Silent failure on bad route object properties
misspelled 'partial' and got no warning.
Re-use existing repeat DOM
Rather than destroying and rebuilding the DOM on repeat attribute update, Templar should re-interpolate cached nodes in existing DOM.
commit b11f5cd is a partial step towards this.
Partial caching
We could store a partial template and fetch from the cache. This would reduce network requests for redundant templates (ie, nothing has changed in the template)
Two threads share same target during same scope compilation cycle
When routes being fetched, if one of the partials has a "dat-apl-default" in it
, the compiler spawns a fetch thread which may come back after the completion of the original
fetch chain. If the default shares the same target it will clobber the partial from
the fetch chain.
STR (steps to reproduce): click "My Ads" and notice that "Wall" comes up from time to time.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.