iteloo / storytown Goto Github PK
View Code? Open in Web Editor NEWAn online teaching portal for language teachers and students written in Elm/Haskell
An online teaching portal for language teachers and students written in Elm/Haskell
Currently splitting each character, even if they are Latin alphabets.
Several options here:
Need to measure width using port
Possible fixes:
(2) is cleaner, but may result in problems when measuring widths, due to space collapsing behaviours in css.
We can import the padding lengths from MyCss.elm
, but we'd need to convert between px
and the "unitless" values. Is this conversion device independent?
Add in a space?
Currently I'm only storing the source text on server.
A few options to implement this:
Collapsable
on a per user basisIn (1), if the story is edited, the user will continue having the old version. We can provide the option to let them upgrade the story, at the cost of possibly resetting the granularity levels. At some point we can minimize this disturbance by using a tree diff.
In (2), we need to load the correct version from the server to apply the zipper movements. Otherwise the result will be undefined.
In either setup we will need some sort of versioning of the stories.
We want
Did session tokens break again?
Because the line breaks are measured without the translations.
Currently, S3 files are created as soon as a sentence is recorded, so the deletion must also happen in the client as well.
Alternatively, we can only submit audio to S3 upon saving the story. In this case, we can also let the server take care of the deletion.
Right now an API call to get the logged-in user is enforced on app launch, and authentication error is handled the same way as any other API call – by redirecting to the login page.
We can treat this call as a special call bypassing the default error handler.
Working before. Need to upgrade to TransView
We have two options:
Because the context doesn't store this information. We need it when using zippers to update nodes in the tree.
Requires checking for X-FORWARD-PROTO
header on Heroku, since proxy communicates with dynos using http only.
Clearing Http-Only
cookies require a call to the server.
A cleaner solution is to store a loggedIn
flag in the client, and keep the current cookie setup.
Add empty source to parser error
Subscribe to window resize events and format again.
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.