-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: Migrate widgets that are still using format_structure (ALPHA-4191) #159
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
c61dbc9
use custom_data
v-almonacid 8bdad72
Show 'no results' instead of an inifinite spinner
v-almonacid 495500a
calendar + agenda
v-almonacid 5953c1b
remaining work
v-almonacid 2cc4b9d
Merge branch 'dev' into ALPHA-4192-migrate-faq-widget
v-almonacid ec1d5f4
clean up
v-almonacid ef66e31
remove try-catch in customDataAsItems
v-almonacid c2735b8
lint
v-almonacid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
export type TAgendaItem = { | ||
tags: string[]; | ||
id: string; | ||
name: string; | ||
category: string; | ||
date: string; | ||
description: string; | ||
location?: string; | ||
name?: string; | ||
category?: string; | ||
date?: string; | ||
description?: string; | ||
author?: string; | ||
source_name?: string; | ||
tags?: string[]; | ||
location?: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
export * from "./agenda"; | ||
export * from "./blog"; | ||
export * from "./chat"; | ||
export * from "./custom"; | ||
export * from "./dao"; | ||
export * from "./discord"; | ||
export * from "./event"; | ||
export * from "./features"; | ||
export * from "./forum"; | ||
export * from "./gas"; | ||
export * from "./lens"; | ||
export * from "./market"; | ||
export * from "./news"; | ||
export * from "./notifications"; | ||
export * from "./podcast"; | ||
export * from "./portfolio"; | ||
export * from "./primitives"; | ||
export * from "./polls"; | ||
export * from "./qna"; | ||
export * from "./reddit"; | ||
export * from "./tvl"; | ||
export * from "./user"; | ||
export * from "./views"; | ||
export * from "./tweets"; | ||
export * from "./chat"; | ||
export * from "./tutorial"; | ||
export * from "./podcast"; | ||
export * from "./user"; | ||
export * from "./views"; | ||
export * from "./video"; | ||
export * from "./notifications"; | ||
export * from "./blog"; | ||
export * from "./forum"; | ||
export * from "./reddit"; | ||
export * from "./portfolio"; | ||
export * from "./lens"; | ||
export * from "./features"; | ||
export * from "./discord"; | ||
export * from "./qna"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,5 +174,6 @@ export const customDatumAsItem: (datum: TRemoteCustomDatum) => TItem = (d) => { | |
}, {} as TItem); | ||
}; | ||
|
||
export const customDataAsItems: (data: TRemoteCustomData) => TItem[] = (d) => | ||
d.map(customDatumAsItem); | ||
export const customDataAsItems: (data: TRemoteCustomData) => TItem[] = (d) => { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this needs a proper fix in the validation functions |
||
return d.map(customDatumAsItem); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just reorder and added agenda