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

Feature: React Bidding Block #115

Merged
merged 11 commits into from
Jan 9, 2024
Merged

Feature: React Bidding Block #115

merged 11 commits into from
Jan 9, 2024

Conversation

client-mu-plugins/goodbids/index.html Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Copy link

@cwmanning cwmanning left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@bd-viget bd-viget left a comment

Choose a reason for hiding this comment

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

Ran through and just made a few quick comments/notes. So excited to see this coming together! There are a lot of conflicting things in this PR and Nathan's PR. Just want to make sure we don't break everything or have duplicates of stuff after both of these are ready to go.

client-mu-plugins/goodbids/assets/css/admin.css Outdated Show resolved Hide resolved
client-mu-plugins/goodbids/blocks/reward-product/block.css Outdated Show resolved Hide resolved
client-mu-plugins/goodbids/src/classes/Admin/Assets.php Outdated Show resolved Hide resolved
client-mu-plugins/goodbids/src/helpers.php Outdated Show resolved Hide resolved
client-mu-plugins/goodbids/vite.config.ts Outdated Show resolved Hide resolved
1. `root`: Run at project root.
2. `client-mu-plugins/goodbids`: GoodBids MU Plugin

Alternatively, running `bin/install` will install all composer and npm dependencies.
Copy link
Contributor

Choose a reason for hiding this comment

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

I'll need to go through and test this, but I'm fine just having 1 way to install scripts/dependencies. If this works, we can get rid of the docs to install them separately.

package.json Outdated Show resolved Hide resolved
@nick-telsan nick-telsan force-pushed the nt/93-react-init branch 2 times, most recently from 47ce721 to 4eedc25 Compare December 22, 2023 03:32
@nathan-schmidt-viget nathan-schmidt-viget force-pushed the ns/91-auction-style branch 2 times, most recently from 1d95d79 to 8763c4f Compare January 3, 2024 00:14
Base automatically changed from ns/91-auction-style to main January 3, 2024 14:52
@nick-telsan nick-telsan force-pushed the nt/93-react-init branch 4 times, most recently from d5dcc90 to 4f38402 Compare January 3, 2024 19:33
Copy link
Contributor

@nathan-schmidt-viget nathan-schmidt-viget left a comment

Choose a reason for hiding this comment

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

Works on my local setup, both the build and dev

client-mu-plugins/goodbids/blocks/bid-now/render.php Outdated Show resolved Hide resolved
client-mu-plugins/goodbids/src/bidding-block.tsx Outdated Show resolved Hide resolved
client-mu-plugins/goodbids/vite.config.ts Outdated Show resolved Hide resolved
@nick-telsan nick-telsan marked this pull request as ready for review January 4, 2024 14:30
.editorconfig Outdated Show resolved Hide resolved
@nick-telsan nick-telsan force-pushed the nt/93-react-init branch 3 times, most recently from a79b16f to 019dcd5 Compare January 4, 2024 17:45
@nick-telsan nick-telsan changed the title [#93] React Init Feature: React Bidding Block Jan 5, 2024
nick-telsan and others added 11 commits January 9, 2024 16:24
- Adds prettier
- Adds lint-staged and husky
- Adds bin scripts
- Adds initial react app
- Uses WP formatting patterns
- Adds bin/start-vite
- Moves React app to main.tsx temporarily
- Removes toplevel package.json
- Moves configuration files down into the goodbids plugin
- Adjusts config to handle new structure
- Adds packages for WP Script blocks
- Adjust TS Config
- Adds driver and metrics component
- Adjusts Tailwind content paths
- Adds inputs for new components
- Adds script to handle components in dev mode
- Moves metrics into the WP block
- Adds countdown timer component and functions
- Adjusts initial state for demo
- Adjusts font styles
- Fixes gitignore build
- Adds clsx
- Adds bit button
- Adds free bids button
- Adds demo data
- Adds participation component
- Adds free bids promo
- Adds temporary hand icon
- Installs zod and zustand
- Adds attributes to block.json
- Adds auction store
- Adds types
- Changes initial state to data attributes
- Adjusts use of data attributes and useAuction
- Adds websocket connection
- Hardcodes WS URL for now.
@nick-telsan nick-telsan merged commit 2b4d134 into main Jan 9, 2024
1 check passed
@nick-telsan nick-telsan deleted the nt/93-react-init branch January 9, 2024 21:34
nick-telsan added a commit that referenced this pull request Jan 9, 2024
* [#93] React Init

- Adds prettier
- Adds lint-staged and husky
- Adds bin scripts
- Adds initial react app

* [#93] React Init WordPress Block Changes (#153)

- Custom React Block for Bidding
- Adds packages for WP Script blocks
- Adjust TS Config

* [#94] Metrics but WP (#155)

- Adds driver and metrics component
- Adjusts Tailwind content paths
- Adds inputs for new components
- Adds script to handle components in dev mode
- Moves metrics into the WP block

* [#95] Countdown Timer (#148)

- Adds countdown timer component and functions
- Adjusts initial state for demo
- Adjusts font styles
- Fixes gitignore build

* [#96] Bid Button (#149)

- Adds clsx
- Adds bid button

* [#97] Free Bids (#150)

- Adds free bids button
- Adds demo data

* [#100] Participation (#151)

- Adds participation component

* [#101] Free Bids (#152)

- Adds free bids promo
- Adds temporary hand icon

* [#140] Websocket Connection (#167)

- Installs zod and zustand
- Adds attributes to block.json
- Adds auction store
- Adds types
- Changes initial state to data attributes
- Adjusts use of data attributes and useAuction
- Adds websocket connection
- Hardcodes WS URL for now.
nick-telsan added a commit that referenced this pull request Jan 9, 2024
* [#93] React Init

- Adds prettier
- Adds lint-staged and husky
- Adds bin scripts
- Adds initial react app

* [#93] React Init WordPress Block Changes (#153)

- Custom React Block for Bidding
- Adds packages for WP Script blocks
- Adjust TS Config

* [#94] Metrics but WP (#155)

- Adds driver and metrics component
- Adjusts Tailwind content paths
- Adds inputs for new components
- Adds script to handle components in dev mode
- Moves metrics into the WP block

* [#95] Countdown Timer (#148)

- Adds countdown timer component and functions
- Adjusts initial state for demo
- Adjusts font styles
- Fixes gitignore build

* [#96] Bid Button (#149)

- Adds clsx
- Adds bid button

* [#97] Free Bids (#150)

- Adds free bids button
- Adds demo data

* [#100] Participation (#151)

- Adds participation component

* [#101] Free Bids (#152)

- Adds free bids promo
- Adds temporary hand icon

* [#140] Websocket Connection (#167)

- Installs zod and zustand
- Adds attributes to block.json
- Adds auction store
- Adds types
- Changes initial state to data attributes
- Adjusts use of data attributes and useAuction
- Adds websocket connection
- Hardcodes WS URL for now.
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.

4 participants