andrewstanton94 / enchiridion2 Goto Github PK
View Code? Open in Web Editor NEWThe current version of Enchiridion
The current version of Enchiridion
Existing dataType
Click new dataType.
Choose a non-coliding one.
See the title is the placeholder.
Add name attribute to the fragmentGenerator
Set the value on creation
Get the language from this.datatype
and set the html attribute to something that can be styled.
Allows quote
elements to have the right quotation characters and colour coding for the polyglots.
Need to be able to change the order of data items.
Approaches
Need to be able to transclude an existing dataType into the document.
Approaches:
The type of contribution should be noted in the dataType.
Can be denoted by text, icon and/or colour code.
A creator could be
Additional data could be included. Translators and recorders can reference their source material.
Also consider other forms of contibutions (beyond content creation) in the spirit of all-contributors
E.g. source of inspiration, owner of location / equipment used.
What is needed?
Handling enter
Currently sending changes to the server by dumping the entire dataType.
This is a waste of data.
Sending a diff will
For formats used by machines.
Accept either:
This would be an intuitive way to reorder elements and insert transclusions from the search bar.
Looked at dragula Would be lovely but it is baffled by custom elements.
Selecting elements by class breaks it entirely. With #content
and #transclusion
hard coded it works on top level items.
Chrome 59.0.3071.125 on Samsung Galaxy S7
fragment.js::get
: catches with error 'Failed to fetch'
Additional logging in fragments.js::GET
was not invoked. No indication of reaching server.
Todo:
Research fetch support on mobile
Is mobile lagging behind desktop?
fetch shims needed?
Research remote debugging
How to enable / use?
Current approach overwrites values when a new entry is added
Using the element from #5 and the fragmentGenerator element to add a new dataType to an existing fragment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.