-
Notifications
You must be signed in to change notification settings - Fork 8
fix: general integration readiness patches #94
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
78fc7c5
feat: add bold, secondary, regular text component variants
stephancill e921b83
fix: only render first matching miniapp
stephancill 4d52024
fix(react-ui-shadcn): card absolute layout
stephancill 9db5a2f
fix(react-ui-shadcn): spacing on horizontal layout
stephancill c12d778
chore(api): creator/owner in nft metadata can be user object or refer…
stephancill c40669d
fix(opengraph): try fallback if no image returned in local fetch
stephancill 386e772
fix(react-ui-shadcn): stop event propagation on card click
stephancill c6e347c
fix(editor): expose editor config, fix placeholder
stephancill 4f283ab
feat: url embeds rendered by url renderer miniapp
stephancill d01be32
fix(docs): remove user id context (not implemented)
stephancill a89aa64
fix: pr comments
stephancill 81d8c69
chore: placeholder styles
stephancill b2780c4
fix: move imgur miniapp to mod
stephancill ec37c8f
fix: pr comments
stephancill 1325f6f
fix: build
stephancill 8f235f2
fix: base context with scoped user id
stephancill 218ce33
fix: padding of embeds
stephancill 765a986
fix: embeds editor delete button styling
stephancill c9c874f
feat: add allModsExpermental
stephancill 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@mod-protocol/react-editor": patch | ||
| --- | ||
|
|
||
| feat: expose tiptap editor config |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| "@mod-protocol/react-ui-shadcn": patch | ||
| "@miniapps/url-render": patch | ||
| "@mod-protocol/react": patch | ||
| "@mod-protocol/core": patch | ||
| --- | ||
|
|
||
| feat: text component variants: `bold`, `secondary`, `regular` |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| "@mod-protocol/core": minor | ||
| "api": minor | ||
| --- | ||
|
|
||
| chore: users mentioned in NFT metadata can either be an FID or FarcasterUser object depending on context |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@mod-protocol/react-editor": patch | ||
| --- | ||
|
|
||
| fix: placeholder text |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,76 +1,85 @@ | ||
| @tailwind base; | ||
| @tailwind components; | ||
| @tailwind utilities; | ||
|
|
||
| @layer base { | ||
| :root { | ||
| --background: 0 0% 100%; | ||
| --foreground: 222.2 84% 4.9%; | ||
|
|
||
| --card: 0 0% 100%; | ||
| --card-foreground: 222.2 84% 4.9%; | ||
|
|
||
| --popover: 0 0% 100%; | ||
| --popover-foreground: 222.2 84% 4.9%; | ||
|
|
||
| --primary: 222.2 47.4% 11.2%; | ||
| --primary-foreground: 210 40% 98%; | ||
|
|
||
| --secondary: 210 40% 96.1%; | ||
| --secondary-foreground: 222.2 47.4% 11.2%; | ||
|
|
||
| --muted: 210 40% 96.1%; | ||
| --muted-foreground: 215.4 16.3% 46.9%; | ||
|
|
||
| --accent: 210 40% 96.1%; | ||
| --accent-foreground: 222.2 47.4% 11.2%; | ||
|
|
||
| --destructive: 0 84.2% 60.2%; | ||
| --destructive-foreground: 210 40% 98%; | ||
|
|
||
| --border: 214.3 31.8% 91.4%; | ||
| --input: 214.3 31.8% 91.4%; | ||
| --ring: 222.2 84% 4.9%; | ||
|
|
||
| --radius: 0.5rem; | ||
| } | ||
|
|
||
| .dark { | ||
| --background: 222.2 84% 4.9%; | ||
| --foreground: 210 40% 98%; | ||
|
|
||
| --card: 222.2 84% 4.9%; | ||
| --card-foreground: 210 40% 98%; | ||
|
|
||
| --popover: 222.2 84% 4.9%; | ||
| --popover-foreground: 210 40% 98%; | ||
|
|
||
| --primary: 210 40% 98%; | ||
| --primary-foreground: 222.2 47.4% 11.2%; | ||
|
|
||
| --secondary: 217.2 32.6% 17.5%; | ||
| --secondary-foreground: 210 40% 98%; | ||
|
|
||
| --muted: 217.2 32.6% 17.5%; | ||
| --muted-foreground: 215 20.2% 65.1%; | ||
|
|
||
| --accent: 217.2 32.6% 17.5%; | ||
| --accent-foreground: 210 40% 98%; | ||
|
|
||
| --destructive: 0 42.8% 40.6%; | ||
| --destructive-foreground: 210 40% 98%; | ||
|
|
||
| --border: 217.2 32.6% 17.5%; | ||
| --input: 217.2 32.6% 17.5%; | ||
| --ring: hsl(212.7,26.8%,83.9); | ||
| --ring: hsl(212.7, 26.8%, 83.9); | ||
| } | ||
| } | ||
|
|
||
| @layer base { | ||
| * { | ||
| @apply border-border; | ||
| } | ||
| body { | ||
| @apply bg-background text-foreground; | ||
| } | ||
| } | ||
|
|
||
| /* https://github.com/ueberdosis/tiptap/issues/2659#issuecomment-1230954941 */ | ||
| .ProseMirror p.is-editor-empty:first-child::before { | ||
|
stephancill marked this conversation as resolved.
|
||
| content: attr(data-placeholder); | ||
| float: left; | ||
| pointer-events: none; | ||
| height: 0; | ||
| @apply text-muted-foreground; | ||
| } | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.