Company page: Edit, Merge, Delete and Export as one group, with the export choices in a popover #851

Closed
opened 2026-10-10 16:01:23 +00:00 by tiagoagueda · 1 comment
Owner

Edit, Merge and Delete as one button group with Lucide icons and labels, plus Export, which opens a popover to choose the format (vCard or JSON) and whether to include personal notes — replacing Download the company as a vCard and its checkbox. On phones the group shows icons only.

What exists today

  • templates/jobs/company_detail.html:48-68: Edit (outline), Find/Refresh logo (ghost, dialog), Merge (ghost, a page), Delete (destructive-ghost, a page).
  • At the foot of the People aside (:423-431): <c-vcard-download> twice — Download these people as a vCard and Download the company as a vCard — each a GET form with Include my notes.
  • There is no JSON of one company: #659 exports the whole set per kind (core/kind_files.py, export/companies/).
  • Basecoat's button-group.css is not imported; #841 imports and paints it.

What would change

  • The group (with #841's component); Export opens a popover with the two formats and the notes switch, submitting to the vCard view or to a new per-company JSON.
  • A per-company JSON, from #659's writer narrowed to one company.
  • The people's vCard stays in the People aside.

Decisions

  • Find/Refresh logo leaves the header (#853). Recommended.
  • Icons only on phones: with #852, or always below sm; recommended always below sm, the setting governing wider screens.

Checked against main at 8c3d03570. From the maintainer's improvements list of 2026-10-07.

Edit, Merge and Delete as one button group with Lucide icons and labels, plus **Export**, which opens a popover to choose the format (vCard or JSON) and whether to include personal notes — replacing *Download the company as a vCard* and its checkbox. On phones the group shows icons only. ## What exists today - `templates/jobs/company_detail.html:48-68`: Edit (outline), Find/Refresh logo (ghost, dialog), Merge (ghost, a page), Delete (`destructive-ghost`, a page). - At the foot of the People aside (`:423-431`): `<c-vcard-download>` twice — *Download these people as a vCard* and *Download the company as a vCard* — each a GET form with *Include my notes*. - **There is no JSON of one company**: #659 exports the whole set per kind (`core/kind_files.py`, `export/companies/`). - Basecoat's `button-group.css` is not imported; #841 imports and paints it. ## What would change - The group (with #841's component); Export opens a popover with the two formats and the notes switch, submitting to the vCard view or to a new per-company JSON. - A per-company JSON, from #659's writer narrowed to one company. - The people's vCard stays in the People aside. ## Decisions - **Find/Refresh logo** leaves the header (#853). Recommended. - **Icons only on phones**: with #852, or always below `sm`; recommended always below `sm`, the setting governing wider screens. Checked against `main` at `8c3d03570`. From the maintainer's improvements list of 2026-10-07.
tiagoagueda added this to the 0.6.0 milestone 2026-10-10 16:01:23 +00:00
Author
Owner

Fixed in a6113fd1c on main.

Fixed in a6113fd1c on main.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo#851
No description provided.