Skip to content

Commit

Permalink
Link tracking builder (#559)
Browse files Browse the repository at this point in the history
* Link tracking builder

* check for querystring

* drawer link

* remove label

* add https

* update mediums

* display if valid

* catch ? at end of url

* disable submit

* upgrade router

* QR code

* remove exact
  • Loading branch information
tomrf1 authored Mar 1, 2024
1 parent b856019 commit 52fa79e
Show file tree
Hide file tree
Showing 8 changed files with 571 additions and 233 deletions.
2 changes: 2 additions & 0 deletions conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ GET /campaigns/:name controllers.Application.inde

GET /qr-code controllers.Application.index

GET /lynx controllers.Application.index

GET /apps-metering-switches controllers.Application.index

GET /default-promos controllers.Application.index
Expand Down
186 changes: 42 additions & 144 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@types/material-ui": "^0.21.16",
"@types/react": "~17.0.58",
"@types/react-dom": "^18.2.19",
"@types/react-router-dom": "^5.1.9",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"css-loader": "^6.7.3",
Expand Down Expand Up @@ -48,7 +48,7 @@
"react-dom": "^18.2.0",
"react-hook-form": "^6.15.8",
"react-qr-code": "^2.0.7",
"react-router-dom": "^5.2.0",
"react-router-dom": "^6.2.1",
"recharts": "2.0.8",
"remirror": "^1.0.60"
},
Expand Down
5 changes: 5 additions & 0 deletions public/src/components/drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ export default function NavDrawer(): React.ReactElement {
<ListItemText primary="QR Code Generator" />
</ListItem>
</Link>
<Link key="Link Tracking Builder" to="/lynx" className={classes.link}>
<ListItem className={classes.listItem} button key="Link Tracking Builder">
<ListItemText primary="Link Tracking Builder" />
</ListItem>
</Link>
<Link key="Apps Metering Switches" to="/apps-metering-switches" className={classes.link}>
<ListItem className={classes.listItem} button key="Apps Metering Switches">
<ListItemText primary="Apps Metering Switches" />
Expand Down
Loading

0 comments on commit 52fa79e

Please sign in to comment.