Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/authoring/weaver_code_anatomy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_label: |
slug: generated_yaml
---

The [ALWeaver](https://apps-test.suffolklitlab.org/start/ALWeaver/assembly_line/#/1&new_session=1) generates code that is a starting point. It uses the [labels and variables you added to your documents](doc_vars_reference.md) to make an interview that uses questions and features from the AssemblyLine library.
The [ALWeaver](https://apps-dev.suffolklitlab.org/start/ALWeaver/assembly_line/#/1&new_session=1) generates code that is a starting point. It uses the [labels and variables you added to your documents](doc_vars_reference.md) to make an interview that uses questions and features from the AssemblyLine library.

This page breaks down what each of these "blocks" (the sections of text that appear between `---`s)
do individually. You don't have to think about every block as you develop your interview, but as
Expand Down Expand Up @@ -289,7 +289,7 @@ code: |
Code for your custom questions comes next. All your questions should be triggered in here. You will probably make major edits to the code here, changing the order and adding branching logic.

1. `set_parts(subtitle=str(users))` adds to the information a logged in user will see for this interview in their list of interviews. For an attorney, they should see the name of their clients. For a self represented litigant, they should see their name. You can read more about `set_parts` in the [docassemble documentation](https://docassemble.org/docs/functions.html#set_parts).
1. `set_progress()` changes the progress bar shown to the person who's interacting with the form. When they are at the beginning of the form, it should be empty. When they are at the end, other code will make sure it is full. The [ALWeaver](https://apps-test.suffolklitlab.org/start/ALWeaver/assembly_line/#/1&new_session=1) tries to handle intermediate values between those two places that will make sense to the user. The example interview is short, so intermediate progress is only set once.
1. `set_progress()` changes the progress bar shown to the person who's interacting with the form. When they are at the beginning of the form, it should be empty. When they are at the end, other code will make sure it is full. The [ALWeaver](https://apps-dev.suffolklitlab.org/start/ALWeaver/assembly_line/#/1&new_session=1) tries to handle intermediate values between those two places that will make sense to the user. The example interview is short, so intermediate progress is only set once.
1. The final variable in the block (`interview_order_a_258e_motion_for_impoundment` above) is customized for your interview. It lets you trigger all the code in this entire code block. In this generated code, the [main order block](#main-order) triggers it.
If you are including this interview in another interview, remove the main order block. Then you can use this variable if you want to trigger this particular question order.

Expand Down
2 changes: 1 addition & 1 deletion docs/components/ALToolbox/al_income_expenses.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ insurance as an option.

## ALExpense

If you want to jump right in, check out a [live demo of the ALExpense feature](https://apps-test.suffolklitlab.org/start/ALToolbox/al_income_demo?use_feature=ALExpense).
If you want to jump right in, check out a [live demo of the ALExpenseList feature](https://apps-dev.suffolklitlab.org/start/ALToolbox/al_income_demo?use_feature=ALExpenseList).


`ALExpense` is a class that represents an amount that re-occurs periodically, like a monthly
Expand Down
2 changes: 1 addition & 1 deletion docs/components/ALToolbox/al_income_itemizedjobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ how much is deducted from their paycheck for different reasons. `ALItemizedJob`

## ALItemizedJob

If you want to jump right in, check out a [live demo of the ALItemizedJob feature](https://apps-test.suffolklitlab.org/start/ALToolbox/al_income_demo?use_feature=ALItemizedJob).
If you want to jump right in, check out a [live demo of the ALItemizedJob feature](https://apps-dev.suffolklitlab.org/start/ALToolbox/al_income_demo?use_feature=ALItemizedJob).

Sometimes, courts will ask for specific pieces of information about a person's pay, such as how many tips they received, or how much is deducted from their pay for health insurance. To keep track of all of those pieces of information for several jobs, you, the interview author,
will want to use a job that can handle itemizing different types of incomes and deductions for the same type of job.
Expand Down
2 changes: 1 addition & 1 deletion docs/components/ALToolbox/al_income_jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ slug: ALIncome/jobs

Asking people about their jobs is a common task when getting financial information. The `ALJob` class tries to be complete but simple for your users to answer, doing the math for them, and straight-forward for you to use.

If you want to jump right in, check out a [live demo of the ALJob feature](https://apps-test.suffolklitlab.org/start/ALToolbox/al_income_demo?use_feature=ALJob).
If you want to jump right in, check out a [live demo of the ALJob feature](https://apps-dev.suffolklitlab.org/start/ALToolbox/al_income_demo?use_feature=ALJob).

## ALJobList tutorial

Expand Down
2 changes: 1 addition & 1 deletion docs/components/ALToolbox/al_income_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ debts, and then allow users to review and add or change that information.
The ALIncome module and associated YAML files were made to handle all of these complicated
cases, so you can focus on the details specific to your clients.

If you want to jump right into the demo interview, you can visit out the live demo at [Suffolk's test server](https://apps-test.suffolklitlab.org/start/ALToolbox/al_income_demo).
If you want to jump right into the demo interview, you can visit out the live demo at [Suffolk's test server](https://apps-dev.suffolklitlab.org/start/ALToolbox/al_income_demo).
You can also install the [ALToolbox package](https://github.com/SuffolkLITLab/docassemble-ALToolbox)
on your server, and run the [al_income_demo interview](https://github.com/SuffolkLITLab/docassemble-ALToolbox/blob/main/docassemble/ALToolbox/data/questions/al_income_demo.yml), by going to "https://yourserverurl.com/start/ALToolbox/al_income_demo".

Expand Down