-
Notifications
You must be signed in to change notification settings - Fork 1
Added Places Search for API and Fixed Editor Popover Heights #20
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
Changes from all commits
af9dc66
4effbfb
0499f0f
caf33b7
7f01023
db1708f
802a8c1
06eb107
f0c481b
c0363c5
5fcc36e
d410d6e
fba2307
f66677a
5adef5f
d7cc28c
36c8303
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -2,16 +2,16 @@ import { View, Text, StyleSheet } from "react-native"; | |||
|
|
||||
| interface TextCanvasItemProps { | ||||
| text: string, | ||||
| textStyle?: { color: string; fontFamily?: string } | ||||
| textStyle?: { color: string; fontFamily?: string; backgroundColor?: string } | ||||
| } | ||||
|
|
||||
| export function TextCanvasItem({ text, textStyle }: TextCanvasItemProps) { | ||||
| if (!text) return null; | ||||
|
|
||||
| console.log({ textStyle }) | ||||
|
Contributor
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. Remove debug console.log before merging. This debug statement will pollute the console in production. 🔎 Proposed fix- console.log({ textStyle })📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||
| return ( | ||||
| <View style={styles.textContainer}> | ||||
| <Text testID="canvas-text" style={[styles.textStyle, textStyle]}> | ||||
| <View style={[styles.textContainer, { backgroundColor: textStyle?.backgroundColor || "#000000" }]}> | ||||
| <Text testID="canvas-text" style={[styles.textStyle, { color: textStyle?.color, fontFamily: textStyle?.fontFamily }]}> | ||||
| {text} | ||||
| </Text> | ||||
| </View> | ||||
|
|
@@ -22,12 +22,10 @@ const styles = StyleSheet.create({ | |||
| textContainer: { | ||||
| paddingVertical: 6, | ||||
| paddingHorizontal: 12, | ||||
| backgroundColor: "black", | ||||
| borderRadius: 45 | ||||
| }, | ||||
| textStyle: { | ||||
| fontSize: 12, | ||||
| color: "white", | ||||
| fontWeight: "500" | ||||
| }, | ||||
| }) | ||||
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.
🧩 Analysis chain
🏁 Script executed:
rg -n '\bPlatform\b' frontend/app/capture/details.tsxRepository: fortune710/keepsafe
Length of output: 192
Remove unused
Platformimport.Platformis imported on line 2 but never used in the file.🤖 Prompt for AI Agents