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

Feat/rename theme #8

Merged
merged 4 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
GIT_COMMITTER_NAME: themeisle[bot]
GIT_COMMITTER_EMAIL: ${{ secrets.PIRATE_BOT_EMAIL }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_ANNOUNCEMENTS }}
SEMANTIC_RELEASE_PACKAGE: NeveFSE
SEMANTIC_RELEASE_PACKAGE: ChurchFSE
empty-job:
# if no jobs run, github action considers it a test failure -- which seems like a bug
# this makes it so the top-level if statement for the job does not give status failure.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/diff-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
- name: Checkout Ref Base
uses: actions/checkout@v2
with:
path: neve-fse-head
path: church-fse-head
- name: Setup node 14
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: FRESH Makepot BASE
run: |
cd neve-fse-head
cd church-fse-head
ls languages/
composer install --no-dev --prefer-dist --no-progress --no-suggest
yarn install --frozen-lockfile
Expand All @@ -31,10 +31,10 @@ jobs:
uses: actions/checkout@v2
with:
ref: development
path: neve-fse-base
path: church-fse-base
- name: FRESH Makepot HEAD
run: |
cd neve-fse-base
cd church-fse-base
ls languages/
composer install --no-dev --prefer-dist --no-progress --no-suggest
yarn install --frozen-lockfile
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Run Podiff
id: translation_status
run: |
${GITHUB_WORKSPACE}/neve-fse-head/bin/pot-diff.sh ./neve-fse-base/languages/neve-fse.pot ./neve-fse-head/languages/neve-fse.pot $PERCENT_TRESHOLD
${GITHUB_WORKSPACE}/church-fse-head/bin/pot-diff.sh ./church-fse-base/languages/church-fse.pot ./church-fse-head/languages/church-fse.pot $PERCENT_TRESHOLD
- name: Step require review
if: steps.translation_status.outputs.has_pot_diff != 'success'
uses: Automattic/action-required-review@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
tools: phpunit-polyfills
- name: Checkout source code
uses: actions/checkout@v2
- name: Install Subversion
run: sudo apt-get update && sudo apt-get install -y subversion
- name: Install WordPress Test Suite
run: |
bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:${{ job.services.mysql.ports['3306'] }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ assets/js/build
*.map
/vendor/

languages/neve-fse.pot
languages/church-fse.pot

.DS_Store
.phpunit.result.cache
117 changes: 0 additions & 117 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,117 +0,0 @@
##### [Version 1.1.2](https://github.com/Codeinwp/neve-fse/compare/v1.1.1...v1.1.2) (2024-11-12)

- Updated dependencies

##### [Version 1.1.1](https://github.com/Codeinwp/neve-fse/compare/v1.1.0...v1.1.1) (2024-09-04)

### Bug Fixes

- **Fix Plugin Activation Error**: This fixes an error that occurs when you try to activate a plugin.

#### [Version 1.1.0](https://github.com/Codeinwp/neve-fse/compare/v1.0.10...v1.1.0) (2024-08-28)

### New Features
- **New Onboarding for Neve FSE Theme**: Experience a new Onboarding process for the Neve FSE theme, integrating the use of Otter Blocks plugin.
- **New Block Patterns**: Added new block patterns to enrich the customization options.
- **Fullwidth Template with Header and Footer**: Introduced a new fullwidth template that includes both Header and Footer.

### Bug Fixes

- **Fix Notice Error**: Fixed an issue with the Notice causing an error when visiting the Editor.

##### [Version 1.0.10](https://github.com/Codeinwp/neve-fse/compare/v1.0.9...v1.0.10) (2024-04-29)

### Improvements

- **Banner**: Adds promo banner for FSE Design Pack

##### [Version 1.0.9](https://github.com/Codeinwp/neve-fse/compare/v1.0.8...v1.0.9) (2024-03-27)

### Improvements

- **Package Updates**: Updates to code packages, no user-facing changes.

##### [Version 1.0.8](https://github.com/Codeinwp/neve-fse/compare/v1.0.7...v1.0.8) (2024-03-11)

### Bug Fixes

- **Fix NPS Survey**: Fixed survey appearing instantly when theme installed programmatically.
### Bug Fixes

- **Fix NPS Survey**: Fixed survey appearing instantly when theme installed programmatically.

##### [Version 1.0.7](https://github.com/Codeinwp/neve-fse/compare/v1.0.6...v1.0.7) (2024-02-14)

### Improvements

- **WordPress compatibility check**: Tested with the latest WordPress version for compatibility.

### Bug Fixes

- **Pagination on Archive**: Fixed the issue with pagination not working properly on Archive templates.

- **No Horizontal Margins on Mobile**: - Addressed the styling issue when margins on smaller screens were being removed.

##### [Version 1.0.6](https://github.com/Codeinwp/neve-fse/compare/v1.0.5...v1.0.6) (2023-10-30)

### Improvements
- **Dashboard Survey**: Eliminated the feedback survey embedded within the dashboard.
- **Template Refinements**: Incorporated header and footer elements into the 404 template.
- **Template Refinements**: Applied the accent color as the background color to the penultimate section on the homepage.
- **Template Refinements**: Integrated the site background color into the Featured Work section.
- **Style Enhancements**: Introduced the Secondary Accent color in the main theme.json file and specified corresponding colors for each palette individually.

### Bug Fixes
- **Editor Padding**: Rectified the padding issue surrounding the page inside the editor.
- **Editor Styles View**: Resolved the problem of sections expanding in height when previewing in Styles view on the homepage.

##### [Version 1.0.5](https://github.com/Codeinwp/neve-fse/compare/v1.0.4...v1.0.5) (2023-08-03)

- [Feat] Change the padding for Primary and Secondary buttons on mobile
- [Fix] Duplicated title tag when RankMath is active
- Improve style variations preview inside the editor

##### [Version 1.0.4](https://github.com/Codeinwp/neve-fse/compare/v1.0.3...v1.0.4) (2023-07-17)

- [Feat] Update action to deploy to WordPress svn
- [Fix] Updated and compressed images
- [Fix] Exclude JS and CSS sources
- Added SDK
- Update dependencies

##### [Version 1.0.3](https://github.com/Codeinwp/neve-fse/compare/v1.0.2...v1.0.3) (2023-05-31)

- Feat: Added survey notice
- Fix: Add rule to enforce sticky for header
- Fix: Single cover layout structure
- Updated theme description

##### [Version 1.0.2](https://github.com/Codeinwp/neve-fse/compare/v1.0.1...v1.0.2) (2023-05-10)

- Fix: Update Screenshot for theme

##### [Version 1.0.1](https://github.com/Codeinwp/neve-fse/compare/v1.0.0...v1.0.1) (2023-05-08)

Removed extra filter

#### Version 1.0.0 (2023-05-05)

Initial Release
Initial Release

##### [Version 1.0.2](https://github.com/Codeinwp/neve-fse/compare/v1.0.1...v1.0.2) (2022-12-27)

- change theme screenshot
- fix header social icons color

##### [Version 1.0.1](https://github.com/Codeinwp/neve-fse/compare/v1.0.0...v1.0.1) (2022-12-20)

* fix content links visual difference
* add source files for minified scripts and styles to dist zip file
* escape alt attribute of image in dashboard notice
* handle site title size in theme.json
* fix block templates not wrapped into main tag

#### Version 1.0.0 (2022-12-12)

- Initial release
118 changes: 0 additions & 118 deletions assets/css/src/design-pack-notice.scss

This file was deleted.

6 changes: 3 additions & 3 deletions assets/css/src/welcome-notice.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@custom-media --tablet (max-width: 769px);
@custom-media --desktop (max-width: 1200px);

.neve-fse-welcome-notice {
.church-fse-welcome-notice {
position: relative;
padding-bottom: 0;

Expand Down Expand Up @@ -100,14 +100,14 @@
}
}

.neve-fse-survey-notice {
.church-fse-survey-notice {

.notice-content {
display: flex;
gap: 12px;
align-items: flex-start;

.neve-fse-logo {
.church-fse-logo {
width: 64px;
min-width: 64px;
margin-top: 12px;
Expand Down
11 changes: 0 additions & 11 deletions assets/js/src/design-pack-notice.js

This file was deleted.

16 changes: 9 additions & 7 deletions assets/js/src/welcome-notice.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global neveFSEData, jQuery */
/* global churchFSEData, jQuery */

import { installPlugin, activatePlugin } from './common/plugin-install';

Expand All @@ -13,11 +13,13 @@ function handleWelcomeNotice( $ ) {
nonce,
otterRefNonce,
otterStatus,
} = neveFSEData;
} = churchFSEData;

const installBtn = $( '.neve-fse-welcome-notice #neve-fse-install-otter' );
const dismissBtn = $( '.neve-fse-welcome-notice .notice-dismiss' );
const notice = $( '.neve-fse-welcome-notice' );
const installBtn = $(
'.church-fse-welcome-notice #church-fse-install-otter'
);
const dismissBtn = $( '.church-fse-welcome-notice .notice-dismiss' );
const notice = $( '.church-fse-welcome-notice' );
const installText = installBtn.find( '.text' );
const installSpinner = installBtn.find( '.dashicons' );

Expand All @@ -35,7 +37,7 @@ function handleWelcomeNotice( $ ) {

await $.post( ajaxUrl, {
nonce: otterRefNonce,
action: 'neve_fse_set_otter_ref',
action: 'church_fse_set_otter_ref',
} );

installSpinner.removeClass( 'dashicons-update' );
Expand Down Expand Up @@ -67,7 +69,7 @@ function handleWelcomeNotice( $ ) {
$( dismissBtn ).on( 'click', () => {
$.post( ajaxUrl, {
nonce,
action: 'neve_fse_dismiss_welcome_notice',
action: 'church_fse_dismiss_welcome_notice',
success: hideAndRemoveNotice,
} );
} );
Expand Down
4 changes: 2 additions & 2 deletions bin/makepot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
docker run \
--user root \
--rm \
--volume "$(pwd):/var/www/html/neve-fse" \
wordpress:cli bash -c 'php -d memory_limit=1024M "$(which wp)" i18n make-pot ./neve-fse/ ./neve-fse/languages/neve-fse.pot --headers={\"Last-Translator\":\"[email protected]\"\,\"Project-Id-Version\":\"NeveFSE\"\,\"Report-Msgid-Bugs-To\":\"https://github.com/Codeinwp/neve-fse/issues\"\} --allow-root --exclude=dist,build,bundle,e2e-tests '
--volume "$(pwd):/var/www/html/church-fse" \
wordpress:cli bash -c 'php -d memory_limit=1024M "$(which wp)" i18n make-pot ./church-fse/ ./church-fse/languages/church-fse.pot --headers={\"Last-Translator\":\"[email protected]\"\,\"Project-Id-Version\":\"ChurchFSE\"\,\"Report-Msgid-Bugs-To\":\"https://github.com/Codeinwp/church-fse/issues\"\} --allow-root --exclude=dist,build,bundle,e2e-tests '
Loading
Loading