You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On item/Element creation the user can provide a template to map to be it the currently presented one in the SM window/the default SM template/ a template from the template registry. A prime use for this would be to map between Anki Fields to the SM templates for use in the Anki Importer.
Sketches, Videos, ...
None that I have at the moment.
Environment
This feature should be enabled on element creation, through the SMA SDK.
Motivation
Why do you want to see this feature ?
Anki Cards come in all shapes and templates and the default question and answer format of SM can be disappointing and unappealing to new Users and somewhat restricting to a subset of cards particularly language learning cards.
What use cases does it support ?
Anki to supermemo importer and various possible future importers.
Approximately how big percent of user base do you think would use this feature ?
I guess 80% of anki users migrating to SM or students looking to use Anki as a form of question bank.
Documentation-type explanation
Explain the feature, and the steps to use it as if you were writing instructions for first-time users.
When creating a Template:
Template tmplt = ..// Some created template
var elembldr = new ElementBuilder(ElementType.Item)
....// some functions
.WithTemplate(tmplt );
To create a Template:
// Creating a component
Component mycomponent = ComponentRegistry.HTML_Component();
mycomponent.Width = 200;
mycomponent.Height = 200;
mycomponent.Position = (0,20); // x , y
List<Component> mycomponents = new List<Component>() {// A list of Components};
// Creating a template using the Template Builder
Template tmplt = new TemplateBuilder()
.Named("My New Template")
.WithComponent(ComponentRegistry.HTML_Component()) // default SM components
.WithComponent(mycomponent )
.WithComponents( mycomponents)
.Build();
Template tmplt = .../Some created template
TemplateRegistry.Instance.AddTemplate(tmplt);
Drawbacks
What potential issues should we consider ? Why should we not do this ?
Perhaps Template registry needs to add the new currently defined template, or just restrict it to existing templates within the registry. Some way to ensure no corruption to the template registry can occur.
The text was updated successfully, but these errors were encountered:
Description
On item/Element creation the user can provide a template to map to be it the currently presented one in the SM window/the default SM template/ a template from the template registry. A prime use for this would be to map between Anki Fields to the SM templates for use in the Anki Importer.
Sketches, Videos, ...
None that I have at the moment.
Environment
This feature should be enabled on element creation, through the SMA SDK.
Motivation
Why do you want to see this feature ?
Anki Cards come in all shapes and templates and the default question and answer format of SM can be disappointing and unappealing to new Users and somewhat restricting to a subset of cards particularly language learning cards.
What use cases does it support ?
Anki to supermemo importer and various possible future importers.
Approximately how big percent of user base do you think would use this feature ?
I guess 80% of anki users migrating to SM or students looking to use Anki as a form of question bank.
Documentation-type explanation
Explain the feature, and the steps to use it as if you were writing instructions for first-time users.
Drawbacks
What potential issues should we consider ? Why should we not do this ?
Perhaps Template registry needs to add the new currently defined template, or just restrict it to existing templates within the registry. Some way to ensure no corruption to the template registry can occur.
The text was updated successfully, but these errors were encountered: