Robert Sullivan
d2518d7c38
CLDC-2481: Add ability to disable organisations ( #2293 )
...
* CLDC-2481: Add ability to disable organisations.
* CLDC-2481: Add ability to disable organisations
* Tidy up tests
* CLDC-2481: Review markups
* CLDC-2481: Fix location and scheme filters
* Add banners for stock owners and managing agents
* Update view test
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
10 months ago
Rachael Booth
1dcdc0806a
CLDC-3187: Display org id on stock owner / managing agent pages ( #2274 )
...
* CLDC-3187: Display org id on stock owner / managing agent pages
* Fix indentation
* Refactor stock owner / managing agent list partials into one shared partial
* Fix linting
* Use managing agents instead of agents in search component display
* Update tests to reflect agents -> managing agents change
12 months ago
natdeanlewissoftwire
6b9b94399f
CLDC-2691 Miscellaneous navigation bug fixes ( #2080 )
...
* WIP commit
* feat:tidy up routing and fix scheme tab current bug
* feat: revert user_cell update
* feat: use latest merge date/start date where available for availability text for schemes and locations
* feat: add tests for availability text
* feat: include schema
* feat: use startdate instead to track merges on schemes and locations
* feat: test startdates are set correctly on merged schemes and locations
* feat: update schema
* refactor: lint
* feat: add migration file
* feat: update schema
* feat: add back links
* feat: tidy navigation bar behaviour
* feat: update scope auth
* faet: update page titles
* feat: simplify titles and revert some bulk upload dependent navigation behaviour
* feat: update support user tab titles and search bar text
* feat: give support users breadcrumbs to individual org obejcts for schemes, users and logs
* feat: add user param to log breadcrumbs
* refactor: erblint
* feat: update schema
* Revert "Merge branch 'CLDC-2996-merged-scheme-activation-date-bug' into CLDC-2691-support-nav-bug"
This reverts commit 37d4b1e194
, reversing
changes made to 1d76829922
.
* feat: update tests
* feat: update tests
* feat: simplify log type methods
* feat: simplify log title
* feat: update locations tab breadcrumbs to show owning scheme
* feat: use correct scheme path
* feat: update breadcrumbs in check ansewrs and review pages
* feat: update tests
1 year ago
natdeanlewissoftwire
07f345df71
CLDC-1730-stock-owning-validation ( #1073 )
...
* feat: add error message if org doesn't own stock
* feat: move org relationship errors to model
* feat: use correct model for form
* tests: update params in tests
* feat: add specific fields for parent/child errors
* test: fix params in failing tests
* refactor: unrelated linting
* feat: simplify controller behaviour further
* test: address failing tests
* feat: add copy to en.yml
* feat: add updated validation message and rename related housing provider -> stock owner
2 years ago
Jack S
2642afd036
[CLDC-1660] Remove managing agent ( #961 )
2 years ago
natdeanlewissoftwire
ccf4e91295
Cldc 1663 remove housing provider ( #957 )
...
* wip
* Rename managing_agents column
* add managing relationship
* f
* feat: add my features branched off managing agents branch
* feat: update nav behaviour
* feat: simplify housing_providers view
* feat: fix pluralise to default to plural rather than singular
* feat: remove managing agent related code so can be merged directly
* tests: update tests and add new ones for housing_providers
* refactor: rubocop conciliation
* tests: fix failing navigation tests
* tests: one more plural test
* refactor: erb linting
* refactor: erb linting
* feat: right-align "Remove" text
* feat: update nokogiri to pass bundler-audit
* feat: grey out search button
* feat: remove section-break
* feat: add housing provider page with details and button
* feat: tidy up routing
* feat: add wip housing provider behaviour without functioning search
* feat: wip add housing provider functionality hard coded to add FooBar LTD as provider to DLUHC
* feat: remove redundant code
* feat: add data passing behaviour without accessible autocomplete
* feat: use accessible autocomplete (not working)
* feat: use accessible autocomplete (now working)
* feat: wip commit error messages
* feat: add banner always
* feat: add conditional banner behaviour, back link and update logs titles
* feat: add search icon to accessible autocomplete, make hint text aligned correctly
* feat: use pluck not all
* tests: add initial test
* feat: refactor create logic
* feat: add sub org title
* feat: add correct no housing providers text
* feat: add correct no housing providers text
* tests: add tests for add housing provider page
* feat: remove unnecessary line from controller
* fet: simplify controller args
* fet: update schema
* feat: update schema
* feat: add core removal functionality
* fix: make secondary navbar display selected org not user org for support users
* refactor: tidy up code and add single quotes instead of apostrophes
* refactor: remove unnecessary lines
* test: add housing provider removal tests
* feat: use path helpers and beng methods
* refactor: linting
* refactor: erblinting
* refactor: renaming and tidying
* refactor: simplify format response and paths and remove redundant rendering
* feat: user flash notices instead of explicit notification banners
* test: update tests with new urls
* feat: add target org helper
* feat: add target org helper fix
* feat: add related org helper
* test: update paths in tests
Co-authored-by: Jack S <jacopo.scotti@softwire.com>
2 years ago
Jack S
38f1cada5d
[CLDC-1659] Create managing agents ( #956 )
...
* Add managing agent
* tidy up specs
* Address comments
* linter
2 years ago
Jack S
c710d642cc
[CLDC-1659] new managing agent page ( #948 )
...
* Add managing agents page
* Rubocop fixes
2 years ago