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

Demo #494

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open

Demo #494

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5567321
site fix
alexanderkirtzel Mar 10, 2025
ea179b7
tagging uses codebox
alexanderkirtzel Mar 10, 2025
222d8ba
console codebox
alexanderkirtzel Mar 10, 2025
e2f66bf
preview and console styling
alexanderkirtzel Mar 11, 2025
c0270f4
reset
alexanderkirtzel Mar 11, 2025
14f26d8
format html
alexanderkirtzel Mar 11, 2025
2631e45
fullscreen button
alexanderkirtzel Mar 11, 2025
1bcb6ae
fullscreen height
alexanderkirtzel Mar 11, 2025
e7278f6
overlay close
alexanderkirtzel Mar 11, 2025
71e888e
typewriter
alexanderkirtzel Mar 11, 2025
efd4797
insert
alexanderkirtzel Mar 11, 2025
8f57dfc
syntax highlighting
alexanderkirtzel Mar 11, 2025
bf1ce8a
use classes
alexanderkirtzel Mar 11, 2025
46ec9c6
promotion tags
alexanderkirtzel Mar 11, 2025
7280372
reset html code
alexanderkirtzel Mar 11, 2025
3e7ee3d
play stop buttons
alexanderkirtzel Mar 11, 2025
8e6ee69
removed unused resume code
alexanderkirtzel Mar 11, 2025
52ceaef
text position
alexanderkirtzel Mar 11, 2025
ef51aa8
highlight
alexanderkirtzel Mar 11, 2025
70eaaa8
no custom config
alexanderkirtzel Mar 11, 2025
20d907a
highlight combinations
alexanderkirtzel Mar 11, 2025
cbffe75
highlight style updates
alexanderkirtzel Mar 11, 2025
389bc9f
set is-property class
alexanderkirtzel Mar 11, 2025
a1722af
stylings
alexanderkirtzel Mar 11, 2025
1d367d3
highlight combinations
alexanderkirtzel Mar 11, 2025
a49410f
faster property highlighting
alexanderkirtzel Mar 11, 2025
e824dc7
highlight combinations
alexanderkirtzel Mar 11, 2025
ca3d032
capture false entity selector
alexanderkirtzel Mar 11, 2025
5ea24c8
call it
alexanderkirtzel Mar 11, 2025
0351317
removed react-inspector
alexanderkirtzel Mar 11, 2025
6c472ef
console format
alexanderkirtzel Mar 11, 2025
62ff17d
console only last log
alexanderkirtzel Mar 11, 2025
8c81ddc
prettier options
alexanderkirtzel Mar 11, 2025
da0b603
remove previewId context
alexanderkirtzel Mar 11, 2025
1546b7f
removed flickering on typewriting
alexanderkirtzel Mar 11, 2025
76b8833
tagging height
alexanderkirtzel Mar 11, 2025
33755b1
wip examples
alexanderkirtzel Mar 11, 2025
7073d9e
highlight button styling
alexanderkirtzel Mar 11, 2025
d491c4d
Merge branch 'main' into demo
alexanderkirtzel Mar 11, 2025
f821101
style-loader
alexanderkirtzel Mar 12, 2025
ec0c666
css loader
alexanderkirtzel Mar 12, 2025
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
469 changes: 450 additions & 19 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
"@elbwalker/jest": "*",
"@elbwalker/tsconfig": "*",
"@elbwalker/tsup": "*",
"css-loader": "^7.1.2",
"sass": "^1.85.1",
"sass-loader": "^16.0.5",
"style-loader": "^4.0.0",
"turbo": "^2.0.5",
"typescript": "^5.5.2"
},
Expand Down
10 changes: 1 addition & 9 deletions website/docs/destinations/google-ads.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,7 @@ Configure the Google Ads destination with a Conversion ID and Conversion label.
| currency | string | Default currency for conversions. |
| defaultValue | number | Default value used for conversions. |

### CustomEvent

For the custom event mapping (`mapping.entity.action.custom`):

| Property | Type | Description |
| -------- | ------ | ----------------------------------------------- |
| label\* | string | Google Ads Conversion label. |
| id | string | Property key to use as transaction ID. |
| value | string | Name of the data property key to use for value. |
Use `name` to specify the conversion label and `data` for other parameters.

## Mapping

Expand Down
12 changes: 12 additions & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,18 @@ async function tailwindPlugin() {
postcssOptions.plugins.push(require('autoprefixer'));
return postcssOptions;
},
configureWebpack(config) {
return {
module: {
rules: [
{
test: /\.scss$/,
use: ['style-loader', 'css-loader', 'sass-loader'],
},
],
},
};
},
};
}

Expand Down
7 changes: 4 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
"@elbwalker/walker.js": "^3.3.0",
"@iconify/react": "^5.0.2",
"@mdx-js/react": "^3.1.0",
"css-loader": "^7.1.2",
"prism-react-renderer": "^2.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-inspector": "^6.0.2",
"react-live": "^4.1.8",
"react-simple-code-editor": "^0.14.1"
"react-simple-code-editor": "^0.14.1",
"sass-loader": "^16.0.5",
"style-loader": "^4.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.6.2",
Expand Down
9 changes: 2 additions & 7 deletions website/src/components/atoms/buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ type ButtonProps = {
isSecondary?: boolean;
elbaction?: string; // @TODO
};
export function Button({
children,
link,
text,
isSecondary,
}: ButtonProps): JSX.Element {
export function Button({ children, link, text, isSecondary }: ButtonProps) {
const classColor = !isSecondary
? 'bg-elbwalker hover:bg-elbwalker-400'
: 'bg-gray-800 hover:bg-gray-700 ';
Expand All @@ -35,7 +30,7 @@ export function ButtonCentered({
link,
text,
isSecondary,
}: ButtonProps): JSX.Element {
}: ButtonProps) {
return (
<div className="mx-auto mt-5 max-w-md sm:flex sm:justify-center md:mt-8">
<Button link={link} text={text} isSecondary={isSecondary}>
Expand Down
Loading
Loading