Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-5 Base theme #1

Merged
merged 4 commits into from
Nov 6, 2020
Merged

UHF-5 Base theme #1

merged 4 commits into from
Nov 6, 2020

Conversation

khalima
Copy link
Contributor

@khalima khalima commented Nov 5, 2020

How to test:

  • Clone this repository and checkout this branch
  • Type nvm use && npm i && npx husky i to setup the build tools + linters
  • Type npm run build and check that the dist folder has compiled content (css/js/sprite icons)
  • Change something from existing JS or SCSS files and run git add . && git commit
    • Check that the linters will run and check&fix your code

Copy link
Contributor

@teroelonen teroelonen left a comment

Choose a reason for hiding this comment

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

Can't get the precommit hooks to work:

➜ hdbt git:(UHF-5_base_theme) ✗ git add . && git commit -m "My commit"
pre-commit:
pre-commit: We have nothing pre-commit hooks to run. Either you're missing the scripts
pre-commit: in your package.json or have configured pre-commit to run nothing.
pre-commit: Skipping the pre-commit hook.
pre-commit:
[UHF-5_base_theme 6cd08d2] My commit
4 files changed, 28 insertions(+), 25 deletions(-)
rewrite dist/css/styles.min.css (76%)
rewrite dist/icons/sprite.svg (88%)

@khalima khalima requested a review from teroelonen November 6, 2020 10:43
Copy link
Contributor

@teroelonen teroelonen left a comment

Choose a reason for hiding this comment

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

This works now correctly. The status messages template doesn't trigger in Drupal messages, but it is not the core functionality of this PR.

@khalima khalima merged commit 73b75df into dev Nov 6, 2020
@khalima khalima deleted the UHF-5_base_theme branch November 6, 2020 14:28
hyrsky added a commit that referenced this pull request Feb 29, 2024
`total_rows` was not defined if $variables['view']->total_rows is zero,
since `0 == NULL` evaluates to true. This patch ensures that total rows
is always defined so templates can use it without checking.
hyrsky added a commit that referenced this pull request Mar 1, 2024
UHF-9566: Fix deprecated call abs(): Passing null to parameter #1
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