MiCyte

← The wiki

CRM (formerly Quiar – Freelancer)

BuiltRendered from 46i-quiar-freelancer.md in the public repository. Edits belong there.

The CRM shows the week, books jobs, keeps the people they are for, and tracks door-to-door canvassing, for an instance that sells services. It was called Quiar – Freelancer until 2026-11-29; the package and hub id stay quiar, and the rail wears the glyph library's handshake.

Packagequiar, version 2.9.0, label CRM
KindApp. Hub tool quiar
ForAn instance that books work for clients. Nothing in it is specific to one trade: a job's kind is a node the instance defines in its own local domain
Own sandboxYes. Its anchor is copied from the instance's registrar anchor, so its numbering is the registrar's
RequiresThe registrar's legal_entity document, as the address space the customer and site pickers resolve names in
PortsNone
PreviewDemo

What it turns on

Installing exposes six tools: quiar (the hub), quiar_overview, job_manager, project_manager, contacts_manager and calendar. calendar and contacts_manager are scoped to the app's sandbox. The hub draws five tabs, each a glyph (on a phone the glyph alone); the two pages Home opens are a surface parameter (crm_page), so a reload or Back lands where it was:

TabContent
Home (default)One page, after a phone's own Calendar. The month under its name, drawn one of four ways from the toolbar's menu: Compact (a dot per job), Stacked (a bar per job), Details (each job's name) or List (the month, with the picked day's jobs under it). ‹ year opens the twelve months; the arrows or a swipe turn the month, and search finds a job by its title, customer, place or kind. A job waiting on the customer is drawn in the held ochre, every other job in the accent. Under the month, Upcoming: the next six jobs from today. Beside it (under it on a phone), two dashed tiles, New contact and New job, each opening its own page. Below, Jobs open (jobs waiting on the customer, then jobs with no date yet), and the year so far: income from jobs (the prices recorded; no costs are recorded, so it is not profit), jobs, the average per priced job, doors knocked, and each job type's count and average
New job pageSearch the contacts and pick one, or press + for a new contact (name, phone, email, and an Address section of state, city and street). A contact with no house on file is asked for the address too. Any number of days or times (each All day or with start and end times), services with their glyphs and quantities, a price, notes, Waiting on the customer, and up to four photographs (shrunk on the device first). One save writes the new contact, the photographs and the job, and refuses before writing anything if any part would be refused
New contact pageName, phone, email, birthday and an Address section. The contact card shows the address as its own section (street, city, county, state) and never shows an msn
JobsThe job_log (job_manager). When a job document is open, its view (job_document_view) is drawn above the log
ContactsThe contacts as a book (contacts_manager): names in alphabetical letter groups under the one search box, which narrows as you type. A person opens as a card in place, with their phone, email, address, birthday and website, Edit, Schedule and Send confirmation, and their tags as checkboxes with Save tags. A row of glyph buttons switches the same people to Address (by town, then street, by house number), Tag (under each of their tags; the untagged last), Map (by county) or Table
Canvassingcanvass_manager: pick a city and it opens on a map of the town, its streets drawn as outlines. Click a street (or pick it above) to walk it: its doors appear on their side of the street, each marked with the last knock this instance recorded. Click a door to choose it, or the street again to choose all its doors; List shows the same doors as a table, and a door chosen on either face is chosen on both. Tick doors (or every door) to Export addresses as a CSV, built from each address's msn, or to Mark contacted: a review lists the chosen doors with one toggle per contact type (in person, mailer, flyer, door hanger), and saving records one knock per type toggled on, all in one write or none
Domainlcl_editor on the app sandbox's local domain. Projects are nodes here, and a node can hold the document that describes the project

The standalone calendar tool shows every sandbox, with per-sandbox toggles; the standalone contacts_manager opens on its table, with the map beside it.

quiar_overview and project_manager are installed but not drawn as tabs; both are reachable from the menubar search. canvass_manager is drawn as a tab but is a registered tool that no package lists.

What it reads and writes

Installing provisions these documents:

DocumentArchetype
job_logjob_event
(each job document, filed on the tree)job (with an optional open yes/no and a run of attachment_ref photo slots), job_service, and one dated_event per day or time
contactsnatural_entity_profile
lcl_domainlocal_domain_log
canvass_logcanvass_visit
projectsproject_profile

Declared writes:

ToolWrites
job_managersave_job (a job_event row), save_job_document (a job document with several services), create_site (mints a new address record; authorized separately from booking)
contacts_managersave_contact, request_contact_verification (the host mails a confirmation link and marks the row verification_sent), set_tags (the tags a contact is filed under, set as a whole from the card)
project_managersave_project
canvass_managersave_canvass (a canvass_visit row), save_contacted (one canvass_visit row per door and contact type); a met prospect is saved with save_contact

contacts_manager writes the fields msn_id, ruiqi_id, email, sosvid, nominal, utc and website; it is offered only on a sandbox whose anchor can express all of them.

Tags and contact types are words of the local domain's own classes, contact_tags (family, client, peer, professional) and contact_types (in person, mailer, flyer, door hanger). The convention seeds both on every tree; an instance adds, renames or deletes words in the Domain tab, and the Contacts card and the canvassing review offer whatever the tree holds. A contact's tags are kept as tag_ref cells, one per tag, after its email stage.

Where a door is comes from the shared canvassing sandbox, which the CRM reads and never writes. It holds one document per town, named by the town's msn, with two kinds of row:

  • street_profile: a street's msn and its outline, a run of outline vertices;
  • house_profile: a house's msn and one coordinate.

The sandbox also holds regions, with one region_profile per region: the region's msn and the government_msn of the entity that governs it.

A host provisions the sandbox. FND places each house from the U.S. Census Bureau's TIGER/Line address ranges, read county by county from the published files, so no address is sent anywhere:

  • a house goes on the edge of its street whose range holds its number, on the side its parity says;
  • the doors of one block face are spread along it in number order;
  • a house the ranges cannot place is counted and listed, never drawn.

A town with no document lists its doors and says why.

Status

Built and published. A demo exists. The CRM declares no ports: no tab calls one.

Source