Repository navigation
Commit f150f2e
committed
✨ Add configurable subject assignment for offline chat requests
Offline chats previously could not be tagged with a subject
automatically, forcing operators to categorize each request manually.
This change introduces a "Subject ID" setting on the offline settings
page:
- 🎛️ Add subject_id field to the offline settings form (validated to
only accept existing subject IDs, defaulting to 0 = no subject)
- 💾 Persist subject_id in the offline_settings config on save
- 🔗 Auto-assign the configured subject to a chat when an offline
request is saved, skipping duplicates if the link already exists1 parent 4ff7996 commit f150f2e
3 files changed
Lines changed: 27 additions & 0 deletions
File tree
- lhc_web
- design/defaulttheme/tpl/lhsystem
- lib/core/lhchat
- modules/lhsystem
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2314 | 2314 | | |
2315 | 2315 | | |
2316 | 2316 | | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
2317 | 2329 | | |
2318 | 2330 | | |
2319 | 2331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
59 | 68 | | |
60 | 69 | | |
61 | 70 | | |
| |||
0 commit comments