Skip to content

Conversation

@drujensen
Copy link
Member

Description of the Change

This PR fixes issue #1227 . This adds a check to see if LAYOUT is false or "false" and disables the layout for all of the render calls in the controller.

Alternate Designs

Passing layout=false to all render calls in the controller

Benefits

Reduces the code needed to disable the layout.

Possible Drawbacks

It's not clear that LAYOUT can be set to false. Its a bit awkward to have a (String | Boolean) union type for this field.

@drujensen drujensen requested review from a team, crimson-knight and robacarp November 18, 2022 23:30
@drujensen drujensen changed the base branch from master to dj-remove-webpack November 18, 2022 23:31
Copy link
Member

@crimson-knight crimson-knight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crimson-knight crimson-knight merged commit 8fa407b into dj-remove-webpack Nov 21, 2022
crimson-knight pushed a commit that referenced this pull request Nov 21, 2022
* fix: remove webpack from dependencies

This change removes webpack from the dependencies. It also upgrades
bootstrap to 5.0 using cdn links.

* fix: linting issue

* fix: specs

* fix: rollback default database

* fix: specs

* refactor: minor adjustments

* refactor: cleanup more tests

* fix: base64 spec

* refactor: avoid around_each for all specs

* fix: broken wrapper

* fix: fix REDIS_URL

* fix: make github action match docker compose

* fix: remove old crystal version file

* fix: update missing template changes

* fix: forcefully add public assets

* fix: remove cli from .gitignore

* fix: use latest images

* fix: remove nodejs from Dockerfile

* fix: remove node dependency

* fix: restore filter

* fix: missed in slang template

* fix: needs to be type module for ES6 support

* Remove garnet spec (#1306)

* fix: remove garnet_spec shard as dependency

* fix: specs

* 1227 fix layout equals false (#1307)

* fix: check for false

* fix: #1227 support LAYOUT=false
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.

3 participants