SuffolkLITLab / docassemble-ALWeaver

A tool to help quickly generate draft interviews from an existing document (pdf or DOCX) for the docassemble platform.
https://apps-test.suffolklitlab.org/start/ALWeaver/assembly_line/#/1
MIT License
19 stars 5 forks source link

Allow customization of interview_label #895

Closed nonprofittechy closed 9 months ago

nonprofittechy commented 9 months ago

Fix #875

  1. Defaults to the interview title instead of the original filename, as someone is more likely to cleanup the title.
  2. Provides an option to customize the interview label
BryceStevenWilley commented 9 months ago

I uploaded the "93a demand letter" and the interview.short_filename_with_spaces defaulted to "a_demand_letter" (removed "93"). Is this the expected behavior?

Yeah, that's expected; python variables can't start with numbers, and we varname the template file names. Whether we need to is a different question, but it's safer for not having DA issues in the resulting interview.

miabonardi commented 9 months ago

I uploaded the "93a demand letter" and the interview.short_filename_with_spaces defaulted to "a_demand_letter" (removed "93"). Is this the expected behavior?

Yeah, that's expected; python variables can't start with numbers, and we varname the template file names. Whether we need to is a different question, but it's safer for not having DA issues in the resulting interview.

Thank you!

miabonardi commented 9 months ago

@nonprofittechy looks great!