Skip to content

Commit

Permalink
Merge pull request #477 from memser-spaceport/feat/url-filter
Browse files Browse the repository at this point in the history
Feat/url filter
  • Loading branch information
Vellaiyan-Marimuthu authored May 14, 2024
2 parents 69ddc8e + 8c3a515 commit 764041b
Show file tree
Hide file tree
Showing 63 changed files with 9,535 additions and 38,930 deletions.
10 changes: 0 additions & 10 deletions .eslintrc

This file was deleted.

3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
10 changes: 0 additions & 10 deletions .fleek.json

This file was deleted.

1 change: 0 additions & 1 deletion .prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion .tina/__generated__/_graphql.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .tina/__generated__/_schema.json

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

204 changes: 204 additions & 0 deletions .tina/__generated__/config.prebuild.jsx

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

1 change: 1 addition & 0 deletions .tina/__generated__/static-media.json

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

8 changes: 4 additions & 4 deletions analytics/events.analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ export default function useEventsAnalytics() {
}
};

function onCardLinkClicked(type, url, viewType){
function onCardLinkClicked(type: string, url: string, viewType: string){
captureEvent(events.EVENT_CARD_LINK_CLICKED, {
linkType: type,
linkUrl: url,
viewType
})
}

function onMonthSelected(type, value) {
function onMonthSelected(type: string, value: string) {
captureEvent(events.EVENT_TIMELINE_MONTH_MENUITEM_CLICKED, {
menuType: type,
menuValue: value
Expand All @@ -40,13 +40,13 @@ export default function useEventsAnalytics() {
captureEvent(events.EVENT_TIMELINE_MONTH_MENU_CLICKED)
}

function onCalendarMonthNav(direction) {
function onCalendarMonthNav(direction: string) {
captureEvent(events.EVENT_CALENDAR_MONTH_NAV, {
direction
})
}

function onCalendarCardClicked(eventInfo) {
function onCalendarCardClicked(eventInfo: any) {
captureEvent(events.EVENT_CARD_CLICKED, {
type: 'calendar',
...eventInfo
Expand Down
Loading

0 comments on commit 764041b

Please sign in to comment.