lookiarchitecture.blogg.se

Load file on ankiapp
Load file on ankiapp





load file on ankiapp

I have tried to implement for stats but didn't understand what should be next step. It needs to load in webview along with implementation of localhost to serve file (because loading from file:/// may give errors)īut the Svelte UI and rust backend will be true cross platform implementation.It will not be native so may be we get issues for it.Localisation, it is already provided but some new language may not added.Responsive so it can adapt different screen size, css can be used.The UI using Svelte can be used but we have to consider following Warning = Conflict | CardNotGenerated DuplicateCheck = ImportData -> Warning - Import = ImportData -> Completed SizeWarning = File -> FileSizeStatus SizeCheckConfirmation = FileSizeConfirmation -> Ok | Cancel SizeCheck = File -> SizeCheckConfirmation -> Result EncodingIssue = File -> Result ReadError = IOException | UserCancelled | CSVEncodingException ParseAsCsv = File -> SizeWarning > EncodingIssue -> CsvFile | ReadError ObtainWarnings = CsvFile -> (* Inputs: Path, SizeCheckConfirmation, AcceptWarnings *) LoadPath = Path -> File | IOException ReloadFile = File -> File | IOException FileSizeStatus = Ok | TooLarge of bytes: long Preview - Self explanatory - Preview Window allowing user to skip through cards to see an active preview.TODO: Warn users about first field conflicts before they import.The sniffing algorithm is typically very good - low priority.Back button on this screen should prompt before leaving.As in Anki, "Map to " may only be set once per note-type field.Once a note type is selected, a row should be read from the CSV and used to allow the user to make informed decisions for the field to map to the fields of the note type.

load file on ankiapp

  • Add transition to "Manage Note Types"/Automate the adding of a New Note Type.
  • It should be recommended to create a new Note Type if there are no suitable options.
  • The number of fields should be displayed to the user when selecting a Note Type.
  • We should highlight good note types (with more or equal amounts of fields).
  • This should be first, and likely done in a fragment
  • Mapping the note type is the most important thing.
  • Users will be informed that any issues will be ignored if they continue.
  • Line numbers in errors must ensure to map to actual line numbers (for example, comments, and the header of the CSV are ignored).
  • User will have a chance to refresh if they change the file, or select another file.

    load file on ankiapp

    Errors will be displayed to the user, along with the line number where they occurred.Responsible for file selection, basic parsing, and pre-warning about unsolvable issues.Explanation, "load file" button and "Help" button.Wizard with 3 screens: "File", "Map & Preview", "Import".Planned UI Design - going to list ideals, then see what we can take and what to shelve







    Load file on ankiapp