Jun-te Kim
a08188404c
Merge pull request #278 from Hestia-Homes/feautre/additional_walltypes
...
built type
2026-05-26 16:05:43 +01:00
Jun-te Kim
35156111d0
built type
2026-05-26 15:04:02 +00:00
Jun-te Kim
344cbf07e1
Merge pull request #277 from Hestia-Homes/feautre/additional_walltypes
...
new wall types
2026-05-26 15:37:13 +01:00
Jun-te Kim
9612b1fd4b
new wall types
2026-05-26 14:32:57 +00:00
Jun-te Kim
41d33ff399
Merge pull request #276 from Hestia-Homes/faeture/landlord_overrides
...
Test Suite / unit-tests (push) Waiting to run
Faeture/landlord overrides
2026-05-26 11:34:29 +01:00
Jun-te Kim
f0d53d4e86
some comments to understand the sql more
2026-05-26 10:25:42 +00:00
Jun-te Kim
b8be604ab3
migration scripts
2026-05-26 10:23:50 +00:00
Jun-te Kim
1df047a84a
landlord overrides
2026-05-26 10:21:50 +00:00
Jun-te Kim
5fc18dfcf6
Merge branch 'main' into faeture/landlord_overrides
2026-05-26 10:21:18 +00:00
Jun-te Kim
1991bc2e09
landlord overrides
2026-05-26 10:20:29 +00:00
Daniel Roth
8b79f9a23e
Merge pull request #274 from Hestia-Homes/feature/rc-rd-files-ui
...
Test Suite / unit-tests (push) Has been cancelled
Coordination and Design files UI
2026-05-21 11:53:01 +01:00
Daniel Roth
e22833041d
Correct required file type count in tests
Test Suite / unit-tests (push) Has been cancelled
2026-05-20 09:00:32 +00:00
Daniel Roth
c533bb3e80
specify certain variables as survey
2026-05-19 10:35:15 +00:00
Daniel Roth
d755299043
Correctly separate install document categories
2026-05-19 10:32:18 +00:00
Daniel Roth
d292bb53c1
coordination and design docs not listed under install
2026-05-19 10:30:59 +00:00
Daniel Roth
f99374a16f
list coordination and design documents in their own sections
2026-05-19 08:30:57 +00:00
Daniel Roth
61be9a477c
pas significance file is not expected
2026-05-19 08:17:17 +00:00
KhalimCK
20f6aff62e
Merge pull request #266 from Hestia-Homes/feature/pm-ui-ux
...
Test Suite / unit-tests (push) Has been cancelled
Feature/pm UI ux
2026-05-18 10:00:40 +01:00
Daniel Roth
2e019dc457
Merge pull request #272 from Hestia-Homes/feature/coordination-hub-file-source
...
Add "coordination_hub" file source
2026-05-18 09:27:26 +01:00
Daniel Roth
57d425f848
migration files
2026-05-18 08:23:38 +00:00
Daniel Roth
20648f30e0
add coordination_hub file source
2026-05-18 08:17:28 +00:00
Jun-te Kim
4561e61968
Merge pull request #271 from Hestia-Homes/feature/subtask_tasks
...
Test Suite / unit-tests (push) Has been cancelled
order by job started and not job updated time
2026-05-15 13:35:51 +01:00
Jun-te Kim
604e0014fc
deploy to main
2026-05-15 11:34:14 +00:00
Jun-te Kim
41891a4540
job ordering
2026-05-15 10:13:09 +00:00
Jun-te Kim
cd47aef985
order by job started and not job updated time
2026-05-15 10:10:00 +00:00
Daniel Roth
707df2dea9
Merge pull request #270 from Hestia-Homes/feature/pashub-additional-files
...
Test Suite / unit-tests (push) Has been cancelled
New file types for Coordination and Design files
2026-05-13 15:31:06 +01:00
Daniel Roth
578e146aec
migration files
2026-05-13 13:51:26 +00:00
Daniel Roth
452a2cd61d
add new coordination and design file types
2026-05-13 13:51:02 +00:00
Daniel Roth
418175f2c6
Merge pull request #269 from Hestia-Homes/feature/uploaded_file_id_in_magic_plan_plan
...
Add uploaded_file_id fk to magic_plan_plan table
2026-05-13 14:47:05 +01:00
Daniel Roth
6b1627d03c
migration files
2026-05-13 10:03:43 +00:00
Daniel Roth
00b0cc2a45
add uploaded_file_id fk to magic_plan_plan
2026-05-13 10:03:07 +00:00
Jun-te Kim
6f9fabb622
Merge pull request #243 from Hestia-Homes/feature/onbarding_of_addresses
...
Test Suite / unit-tests (push) Waiting to run
Feature/onbarding of addresses
2026-05-12 18:26:40 +01:00
Jun-te Kim
35775164ef
remove doc files
2026-05-12 16:27:00 +00:00
Daniel Roth
46fa85c47c
Merge pull request #268 from Hestia-Homes/feature/add_more_enums_for_source
...
added enum from hubspot source
2026-05-12 17:21:12 +01:00
Jun-te Kim
10b3d81bc2
added enum from hubspot source
2026-05-12 16:18:42 +00:00
Jun-te Kim
4460795fca
Merge pull request #267 from Hestia-Homes/feature/magicplan-tables
...
Test Suite / unit-tests (push) Waiting to run
Make magicplan uid column unique
2026-05-12 16:51:17 +01:00
Daniel Roth
4b62b12f15
add migration files
2026-05-12 15:42:27 +00:00
Daniel Roth
8f87ea0c96
magic_plan_uid column is unique
2026-05-12 15:41:43 +00:00
Daniel Roth
3d1a35250f
Merge branch 'main' into feature/magicplan-tables
2026-05-12 15:41:20 +00:00
Jun-te Kim
b387bc24f8
got rid of get server
Test Suite / unit-tests (push) Has been cancelled
2026-05-12 13:54:18 +00:00
Khalim Conn-Kowlessar
1345f36d8d
Add test coverage for transforms.ts stage classification logic
...
Test Suite / unit-tests (push) Has been cancelled
49 tests across all exported functions: resolveDisplayStage (STAGE_ID_MAP
lookups, AFTER_ASSESSMENT sub-classification, POST_DESIGN precedence chain,
RA ISSUE overrides), classifyDeals, computeDampMouldRisk, computeFunnelStages,
computeProjectProgress (Queries exclusion from percentages), computeOutcomeSlices,
and computeLiveTrackerData (__ALL__ synthetic project behaviour).
2026-05-12 13:29:00 +00:00
Khalim Conn-Kowlessar
7841e4a556
xtracted duplicated removal state logic into a shared module.
...
Created removalState.ts with two functions: deriveEffectiveRemovalState (single DB row → EffectiveRemovalState) and computeRemovalStatusByDeal (ordered rows → RemovalStatusByDeal map, owns deduplication).
Created removalState.test.ts with 11 tests covering all 6 (type, status) combinations and the map-building edge cases (empty input, deduplication, none entries excluded).
live/page.tsx: replaced a 14-line seen-set loop with a single computeRemovalStatusByDeal(removalRows) call.
live/[dealId]/page.tsx: replaced an if/else block with deriveEffectiveRemovalState(removalRows[0]).
2026-05-12 13:12:14 +00:00
Khalim Conn-Kowlessar
e52ab73e9f
Remove unused WorkPhaseStats and consolidate deal mapping into shared module
...
Delete WorkPhaseStats type and its four computation blocks (coordination,
design, install, lodgement) from transforms.ts and types.ts — the computed
values were never read by any component.
Extract mapDbRowToHubspotDeal, DealRow, and the coordinator/designer aliases
into a new dealQuery.ts module, eliminating the verbatim duplication between
the live tracker page and the deal detail page.
Replace the inline doc status computation in [dealId]/page.tsx with calls
to the existing fetchDocsByDealId and computeDocStatusMap from docStatus.ts,
so both paths now share a single implementation.
2026-05-12 13:00:09 +00:00
Khalim Conn-Kowlessar
281f15c11e
Move the DocStatusMap computation and document fetch logic out of the
...
server component into a dedicated docStatus.ts module. computeDocStatusMap
is now a pure function with full test coverage (8 tests). Also consolidates
the double user table lookup in page.tsx into a single query.
2026-05-12 12:16:57 +00:00
Khalim Conn-Kowlessar
166cea397b
refactoring details drawer to orchestrator format
2026-05-12 11:24:08 +00:00
Khalim Conn-Kowlessar
f6b9f9f65c
Updating UI for document upload to improve confusing categorisation
Test Suite / unit-tests (push) Has been cancelled
2026-05-10 20:11:33 +00:00
Khalim Conn-Kowlessar
9654c2cfd7
remove uprn from page view
2026-05-09 08:58:49 +00:00
Khalim Conn-Kowlessar
d467a61c22
Adding bulk approve and instruct
2026-05-09 08:39:20 +00:00
Khalim Conn-Kowlessar
1620a9a65f
move back to 7xl width
2026-05-08 17:36:30 +00:00
Khalim Conn-Kowlessar
7b6763934c
increased width of layout to 8xl
2026-05-08 17:27:52 +00:00