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: Introduce new explorable-explanations package and create reusable components #866

Draft
wants to merge 22 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
240701f
Add checkbox for multi-seller
mohdsayed Nov 1, 2024
6771188
Refactor: Create box component
mohdsayed Nov 1, 2024
e77659c
Create Box and ProgressLine components
mohdsayed Nov 1, 2024
44bb253
Add branches component
mohdsayed Nov 1, 2024
a12852a
Make Branches component return coordinates of each branch
mohdsayed Nov 4, 2024
65c0d85
Reset variables inside branches
mohdsayed Nov 4, 2024
ff961fe
Add expand icon
mohdsayed Nov 4, 2024
97a982d
Position expand icon
mohdsayed Nov 4, 2024
8393be3
Prevent re-rendering of text and icon
mohdsayed Nov 4, 2024
83d2783
Improve ProgressLine component to accept only the starting point
mohdsayed Nov 4, 2024
805b9b3
Merge branch 'develop' into ee-pa/single-seller
mohdsayed Nov 5, 2024
68d84e8
Add steps for single auction flow
mohdsayed Nov 5, 2024
3b5b2ef
Improve progressline component to recieve dynamic coordinates
mohdsayed Nov 5, 2024
573da93
Add first flow for the auction
mohdsayed Nov 5, 2024
5be0119
Add runAdAuction
mohdsayed Nov 5, 2024
c8db6ad
Add more steps for single seller auction
mohdsayed Nov 5, 2024
9a38e76
Create an empty explorable-explanations package
mohdsayed Nov 7, 2024
9ef5206
Setup webpack for ee and copy code from ee directory to the new package
mohdsayed Nov 7, 2024
e4c432c
Get rid of ee directory
mohdsayed Nov 7, 2024
d65fa73
Export components
mohdsayed Nov 7, 2024
87a17ba
Merge branch 'develop' of github.com:GoogleChromeLabs/ps-analysis-too…
mohdsayed Nov 8, 2024
8b265bd
Remove auction after it's done
mohdsayed Nov 8, 2024
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
16 changes: 12 additions & 4 deletions ee/webpack.config.cjs → ee.webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,28 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* External dependencies.
*/
const path = require('path');

module.exports = {
entry: './src/index.js', // Entry point for Webpack
entry: {
'protected-audience': './src/protectedAudience.js',
},
output: {
filename: 'bundle.js', // Output bundle file
path: path.resolve(__dirname, 'dist'), // Output directory
filename: '[name].js',
path: path.resolve(__dirname, './packages/explorable-explanations/dist'),
publicPath: '/', // Base path for all assets
},
mode: 'development', // Set mode to development
devtool: 'source-map', // Enable source maps for easier debugging
devServer: {
static: {
directory: path.join(__dirname, 'public'), // Serve from 'dist' folder
directory: path.resolve(
__dirname,
'./packages/explorable-explanations/public'
),
},
compress: true, // Enable gzip compression
port: 8080, // The port on which the server will run
Expand Down
Empty file removed ee/favicon.ico
Empty file.
Loading
Loading