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

[VUFIND-1741] Remove bootstrap3, bootprint3 and sandal themes #4192

Merged
merged 8 commits into from
Jan 28, 2025

Conversation

EreMaijala
Copy link
Contributor

@EreMaijala EreMaijala commented Jan 20, 2025

TODO

@EreMaijala EreMaijala requested a review from demiankatz January 20, 2025 11:14
Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

Thanks for all the work on this, @EreMaijala -- looking good so far, but see below for a few minor suggestions and comments.

"watch:less": "grunt watch:less",
"build-dev:less": "grunt lessdev && npm run lessToSass",
"watch-dev:less": "grunt watch:lessdev",
"build:css": "npm run build:scss",
Copy link
Member

Choose a reason for hiding this comment

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

Since we're ripping a bunch of stuff out here, we should update the npm wiki page accordingly. I've added a TODO checkbox for the task. I'm not sure if it's best to keep existing documentation but flag things as deprecated/removed, or to fully simplify it. I guess we should probably maintain some legacy documentation for a while, though my gut just wants to get rid of it quickly. :-)

*
* @return string
*
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
*/
protected function makeRelative($css, $less)
protected function makeRelative($css, $scss)
Copy link
Member

Choose a reason for hiding this comment

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

As far as I can tell, this method is never used. Should we just remove it, or am I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The whole PHP-based SCSS compilation command is obsolete and doesn't work. But I'd rather remove it in a separate commit.

Copy link
Member

Choose a reason for hiding this comment

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

I've put this on the next Community Call agenda to discuss. I agree that we should be able to get rid of it, but it seems worth having a brief conversation about.

build.xml Outdated Show resolved Hide resolved
@EreMaijala EreMaijala requested a review from demiankatz January 28, 2025 12:21
Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

@EreMaijala, the code changes look good to me and the test suite is passing, but something is wrong somewhere. Here's what the home page looks like in my test environment -- note missing backgrounds and logos:

image

Is it possible something was being pulled in via relative path from an old theme, or something like that?

@EreMaijala
Copy link
Contributor Author

Oops, there were a couple of hardcoded paths I'd missed in sandal5. Now fixed.

Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

Thanks, @EreMaijala, this is now looking good and passing tests!

@demiankatz demiankatz added this to the 11.0 milestone Jan 28, 2025
@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Jan 28, 2025
@demiankatz demiankatz merged commit 7be5c38 into vufind-org:dev Jan 28, 2025
6 checks passed
@demiankatz demiankatz deleted the dev-remove-bootstrap3 branch January 28, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture pull requests that involve significant refactoring / architectural changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants