Skip to content

Add unit test for graph searchString validity - #1672

Merged
bferguso merged 4 commits into
ts/feat/1656_company_project_visbilityfrom
brf/feat/add_graph_search_string_validator
Aug 11, 2026
Merged

Add unit test for graph searchString validity#1672
bferguso merged 4 commits into
ts/feat/1656_company_project_visbilityfrom
brf/feat/add_graph_search_string_validator

Conversation

@bferguso

Copy link
Copy Markdown
Collaborator
  • Add unit test to verify drift
  • Fix Publication and Document Submission resource models

@bferguso

Copy link
Copy Markdown
Collaborator Author

Still need to see why BCAP Message is failing the test. Will look after lunch.

@bferguso
bferguso marked this pull request as draft August 11, 2026 18:57
@bferguso
bferguso requested a review from seeker25 August 11, 2026 18:57
@seeker25

Copy link
Copy Markdown
Collaborator

sorry pushed 2 commits up

@bferguso
bferguso marked this pull request as ready for review August 11, 2026 20:53
@bferguso
bferguso merged commit 9ac5f87 into ts/feat/1656_company_project_visbility Aug 11, 2026
5 checks passed
@bferguso
bferguso deleted the brf/feat/add_graph_search_string_validator branch August 11, 2026 20:54
seeker25 added a commit that referenced this pull request Aug 11, 2026
* expose drafts to staff, put in save and exit button for draft, allow staff to view drafts for editing

* Add in workflow for permit app that points to itself as a workflow

* Permit app workflow added in
Submission/Messages button correct level - Process Requirement level
Breadcrumbs /bands for Edit / Complete Checklist
Split CompletedModules into folder
View Arches - Icon for arches core Search looking icon - View Arches icon = Internal Dashboard

* Filter by tiles with Messages internal dashboard
Use dropdown list for actions - Edit Checklist put it in dots on Filing Summary
Wire in unread counts for Drafts on backend
Wire in external dashboard draft call, wasn't wired
Drafts filter for External dashboard

* small fix for sorting bar and requirementrow

* put in section or step resume for draft

* optimize

* permit package reload command

* rewrite bcap message service proper, split out question dialog

* implement assignee, get grid system working for dashboard, make band a bit more fluid without having to reload

* back to filing summary button for checklist, just in case

* fix draft issues not showing investigation, also not refering to the parent

* Clean up sorting bar, fix blank assignee for staff

* clean up

* make vertical spacing consistent for both screens

* optimization for internal

* more tweaks

* lint

* expanded draft functionality

* more clean up

* lint

* code clean up

* lint

* Wire in submission Company Projects, wasn't wired for some reason  - more unit tests

* front end unit tests

* slim down unit tests

* more unit tests for coverage

* unit test coverage

* clean out redundant comments

* fix performance for unit tests

* unit test optimization

* unit test fixes + optimizations

* update drafts so it uses same gen spec as creating the modules themselves, drafts use one large call to grab all drafts regardless of slug, update spec, use Typescript types, some typescript kung fu

* remove reload_permit_package + own_data_filter

* clean up + regenerate types + parentId query param for drafts + performance fixes for internal + unit test

* prevent drift by using the same structure from our codegen

* small change in order

* revert arches-queryset cache

* lint

* lib update for docker

* Add in a way to automatically goto the process requirement when clicking from the internal dashboard

* use data classes instead of dicts for the serializers, this will make typechecking detect code drift

* re organize workflow drafts as per Brett's suggestion also add in owning organization that we can expand to a list in the future

* refactor contributor service, split it into organization and contributor service

* contributor service moves cont

* Move draft_payload into it's own node so we can avoid writing audit log for it

* add view in arches at the module level

* small service moves

* refactor common code

* resource id use const

* codegen

* refactor to use WorkflowDraft for dashboard

* add in owning organization changes for permit app/drafts

* narrow down our views

* toml

* Add in filtering for company now, split the external dashboard into filings and drafts

* unit tests cover draft by associated organizations

* unit test addition + unit test clean up

* clean up is internal for drafts

* refactor common code

* refactor parts of unit tests clean up

* code issue fix

* unit test optimizations

* code cleanup

* lint

* cleanup

* cleanup duplication

* this unit test is already covered by unit/test_group_filter.py

* fix same org different creating user case

* tweaks for visibility

* move over api call to proper file

* clean up unit tests

* fix arches override, fix warning for search

* Fix assignee contributor lookup for BCAP messaging

* Add in changes to facilitate audit log behaviour

* update to isAuthenticated for some routes

* add in CI check for API codegen

* remove codegen check

* Brf/feat/add management for refresh permitting (#1671)

* Interim commit

* Interim commit

* Add unit tests, delete all cnw rows

* Align controlled list uris with https://localhost/bcap prefix
Add migration to give Submitter group access to external dashboard

* Fix Publication.json formatting

* Fix skos file

* Fix black format

* Fix resource instance node search strings

* fix message counts

* lint

* Fix messaging for two users, still issues with multiple users

* clean up

* move over to vmodel instead of update

* Add unit test for graph searchString validity (#1672)

* Add unit test for graph searchString validity. Fix Publication and Document Submission resouce models

* Fix resource model format

* lint

* fix bcap message

---------

Co-authored-by: Travis Semple <travis8814@gmail.com>

---------

Co-authored-by: Brett Ferguson <brett@qedsystems.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants