Sam Seed
9b79f971ee
style: lint code
4 years ago
Sam Seed
fe0e566588
test: that when owning = managing, "Organisation providing support" hidden
4 years ago
Sam Seed
e8bb7d638d
style: correct indentation in spec/helpers/schemes_helper_spec.rb
4 years ago
Sam Seed
98f8b206cb
test: check scheme toggle off => no scheme status shown
4 years ago
Sam Seed
ef1a3412d0
test: make 'returns correct display attributes' tests sensible
4 years ago
Sam Seed
3edc7ce20f
test: improvements to tests
4 years ago
Sam Seed
39a7ef4223
refactor: make consistent the removal of fields from SchemeHelper base_attributes
4 years ago
Sam Seed
53537f146f
feat: move logic from views/schemes/show into schemes_helper
4 years ago
Sam Seed
aa24e3a722
style: lint
4 years ago
Sam Seed
71916fcb29
refactor: use Rails routes in all places in locations index page
4 years ago
Sam Seed
0e8b05da39
refactor: don't use html inside ruby in locations index page
4 years ago
Sam Seed
e8e0ef21a6
feat: use the existing location_toggle_enabled instead of new_locations_table_layout_enabled
4 years ago
Sam Seed
3f756365e7
test: mock new locations layout feature toggle in tests
4 years ago
Sam Seed
b813a3cd99
feat: only make scheme details and locations pages 2/3 scale if feature toggle on
4 years ago
Sam Seed
da8be55e90
feat: scale the scheme details page by 2/3 to match the locations list page
4 years ago
Sam Seed
9e4291213f
feat: always scale locations list by 2/3, not just when new layout used
4 years ago
Sam Seed
267032998e
test: update locations helper test to match new field naming and ordering
4 years ago
Sam Seed
eb0a6fc9fc
test: check for mobility_type and location_admin_district in locations_controller as support user
4 years ago
Sam Seed
37b12cff9e
test: re-add tests for locations page when new layout not enabled
4 years ago
Sam Seed
2cbdf0e7c0
feat: update wording and ordering for 'view location details' page
4 years ago
Sam Seed
2e9da179b0
feat: change ' ' to "" in location_spec
4 years ago
Sam Seed
4cfa15718c
feat: reorder postcode and code in locations table
4 years ago
Sam Seed
ea1a5a8728
feat: reference location, not @location , in scheme_location_path
4 years ago
Sam Seed
281043d3aa
feat: simplify "scheme_id: @scheme.id" to "@scheme"
4 years ago
Sam Seed
bab45f4b6c
feat: use route helpers to get scheme_location path
4 years ago
Sam Seed
a354d3ac73
feat: hide new locations table layout behind feature flag
4 years ago
SamSeed-Softwire
20f9a470eb
feat: simplify logic for incomplete status
...
Co-authored-by: James Rose <james@jbpr.net>
4 years ago
Sam Seed
b20f8bba6f
test: that status=incomplete when mandatory info is missing
4 years ago
Sam Seed
c537849b3b
test: update locations list test in schemes feature tests
4 years ago
Sam Seed
601b269d2e
test: update locations list test in locations_controller_spec.rb
4 years ago
Sam Seed
1338758b1c
test: update test text to match what's being tested
4 years ago
Sam Seed
bd8de451c8
test: all status tag helpers
4 years ago
Sam Seed
0752329d9f
feat: add incomplete to location status method
4 years ago
Sam Seed
8703ffc47c
feat: make the locations table (plus related content above & below) 2/3 width
4 years ago
Sam Seed
4ac96bc51a
test: pick the simplest format for the tag helper tests
4 years ago
Sam Seed
439c56a3a8
test: start adding status tag tests
4 years ago
Sam Seed
d1ecd12304
feat: add status col to locations table
4 years ago
Sam Seed
050bbb39b8
feat: remove redundant cols from locations table
4 years ago
kosiakkatrina
409a24b333
Cldc 1609 schemes and location validations ( #1022 )
...
* Add base errors for start date
* Add validation to location
* add validation to scheme id
* update error messages
* wip
* return dates for errors
* choose newest reactivation date
* Add validation to scheme_id
* Fix validations in tests
* add diferent error message
* fix some edge dates and add activating_soon schemes error
* fix error message
* move status_during_startdate into validations files
* rebase
* refactor
* rename method
* remove reverse and update ordering
* Extract scheme validation method
* Refactor validations
* Refactor status validations
4 years ago
kosiakkatrina
a91c8da62e
Update available_from methods ( #1026 )
...
* Update available_from methods
* Move collection start date logic to form handler
4 years ago
SamSeed-Softwire
e125a698dd
Add troubleshooting review apps section to docs ( #1041 )
...
* docs: add troubleshooting review apps section
* docs: rename overall section title
Co-authored-by: James Rose <james@jbpr.net>
* docs: fix typos
Co-authored-by: James Rose <james@jbpr.net>
Co-authored-by: James Rose <james@jbpr.net>
4 years ago
Phil Lee
5bd41fae99
bind S3 buckets for review apps ( #1037 )
4 years ago
kosiakkatrina
3a60c4cd02
Deactivation does not affect logs ( #1018 )
...
* Update affected logs count and skip the confirmation page if no logs are affected for locations
* Update affected logs count and skip the confirmation page if no logs are affected for schemes
* refactor
4 years ago
Jack S
464e5f9627
[CLDC-1514] Add buyer 2 income question ( #1036 )
4 years ago
Phil Lee
3ea0c80c24
limit review pipeline to single concurrency ( #1033 )
4 years ago
kosiakkatrina
41c726ce9c
Add a default ordering for schemes ( #1030 )
...
* Add a default ordering for schemes
* Move ordering back to the controller
* Update app/controllers/schemes_controller.rb
Co-authored-by: James Rose <james@jbpr.net>
Co-authored-by: James Rose <james@jbpr.net>
4 years ago
Jack S
8de3570e88
[CLDC-1513] Add buyer 1 mortgage question ( #1025 )
...
* Rename section from outgoings to savings
* Fix specs
* Add inc1mort column
4 years ago
natdeanlewissoftwire
e0a6a719b1
feat: add new design to scheme page ( #1003 )
...
* feat: add new design to scheme page
* feat: add incomplete status
* feat: use confirmed behaviour
4 years ago
Phil Lee
3b99974627
[1711] Orgs parent-child relationship now atomic ( #1019 )
...
* remove Organisation#relationship_type
* add indexes and fk constraints to org relations
* remove relationship_type from seeds
- as these have now been removed
* seeding is now idempotent
4 years ago
Sam
9c5d52c78b
CLDC-1618 Add cookie banner ( #973 )
...
* CLDC-1618 Add cookie banner
* CLDC-1618 Add analytics script inclusion tests
* CLDC-1618 Include cookie banner JS
* CLDC-1618 Appease JS Standard
4 years ago