Skip to content

Commit c70f97d

Browse files
authored
Merge pull request #753 from dashpay/feat/maya-entry-points
feat: Maya entry points, Buy & Sell portal redesign, v8.6.0
2 parents ecd74cf + d27b28e commit c70f97d

50 files changed

Lines changed: 1197 additions & 197 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.mcp.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"mcpServers": {
33
"figma-dev-mode-mcp-server": {
4-
"command": "npx",
5-
"args": ["-y", "@figma/mcp-server-figma-dev-mode"],
6-
"description": "Figma Dev Mode MCP server for extracting design specifications, code, and images from Figma files"
4+
"url": "http://127.0.0.1:3845/mcp"
75
}
86
}
97
}

CLAUDE.md

Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,12 @@ MCP servers must be configured in Claude Desktop's configuration file. Without t
4747

4848
### Setting Up Figma MCP Server
4949

50-
1. **Create or update the configuration file**:
51-
```bash
52-
cat > ~/Library/Application\ Support/Claude/claude_desktop_config.json << 'EOF'
53-
{
54-
"mcpServers": {
55-
"figma-dev-mode-mcp-server": {
56-
"command": "npx",
57-
"args": ["-y", "@figma/mcp-server-figma-dev-mode"],
58-
"description": "Figma Dev Mode MCP server for extracting design specifications, code, and images from Figma files"
59-
}
60-
}
61-
}
62-
EOF
63-
```
50+
1. **Enable the Figma desktop MCP server**:
51+
- Open Figma Desktop app
52+
- Toggle to Dev Mode (`Shift+D`)
53+
- In the MCP server section of the inspect panel, click "Enable desktop MCP server"
54+
- The server runs at `http://127.0.0.1:3845/mcp`
55+
- The project `.mcp.json` already configures the connection for Claude Code
6456

6557
2. **Restart Claude Code**:
6658
- Stop Claude Code with `Ctrl+C` in the terminal
@@ -69,9 +61,12 @@ EOF
6961

7062
3. **Verify MCP tools are available**:
7163
- After restart, MCP tools should appear as:
72-
- `mcp__figma-dev-mode-mcp-server__get_code`
73-
- `mcp__figma-dev-mode-mcp-server__get_image`
64+
- `mcp__figma-dev-mode-mcp-server__get_design_context`
65+
- `mcp__figma-dev-mode-mcp-server__get_screenshot`
7466
- `mcp__figma-dev-mode-mcp-server__get_metadata`
67+
- `mcp__figma-dev-mode-mcp-server__get_variable_defs`
68+
- `mcp__figma-dev-mode-mcp-server__create_design_system_rules`
69+
- `mcp__figma-dev-mode-mcp-server__get_figjam`
7570

7671
### Figma Requirements
7772

@@ -83,19 +78,11 @@ For the Figma MCP server to work properly:
8378
### Troubleshooting MCP Issues
8479

8580
If MCP tools are not available:
86-
1. **Check configuration exists**: `cat ~/Library/Application\ Support/Claude/claude_desktop_config.json`
87-
2. **Verify correct package name**: Should be `@figma/mcp-server-figma-dev-mode` NOT `claude-talk-to-figma-mcp`
88-
3. **Verify server name matches**: Should be `figma-dev-mode-mcp-server` to match tool names
89-
4. **Verify Figma is running**: `ps aux | grep -i figma`
81+
1. **Verify Figma Desktop is running**: `ps aux | grep -i figma`
82+
2. **Verify Dev Mode is enabled**: Press `Shift+D` in Figma, enable MCP server in inspect panel
83+
3. **Check server is responding**: `curl -s http://127.0.0.1:3845/mcp`
84+
4. **Verify `.mcp.json` exists** in project root with correct URL (`http://127.0.0.1:3845/mcp`)
9085
5. **Restart Claude Code**: MCP connections are only established at startup
91-
6. **Check npx availability**: Ensure Node.js/npm is installed for npx command
92-
93-
### Why MCP Configuration is Required
94-
95-
- MCP servers are external processes that Claude Code connects to
96-
- Configuration tells Claude where to find and how to start MCP servers
97-
- Without the configuration file, Claude Code has no knowledge of available MCP servers
98-
- Previous sessions' MCP usage (recorded in `.claude/settings.local.json`) doesn't automatically enable MCP in new sessions
9986

10087
## Build Commands
10188

@@ -572,6 +559,9 @@ curl -s -o /path/to/project/DashWallet/Resources/AppAssets.xcassets/IconName.ima
572559
```
573560

574561
**Step 3: Create or update Contents.json**
562+
563+
> **Shortcut bar icons**: Use `"original"` so that SVG fill colors are preserved in both UIKit (shortcut bar) and SwiftUI (selection sheet). Template rendering strips colors and applies system tint, which causes icons to appear grey in SwiftUI `Button` labels.
564+
575565
```json
576566
{
577567
"images" : [
@@ -586,7 +576,7 @@ curl -s -o /path/to/project/DashWallet/Resources/AppAssets.xcassets/IconName.ima
586576
},
587577
"properties" : {
588578
"preserves-vector-representation" : true,
589-
"template-rendering-intent" : "template"
579+
"template-rendering-intent" : "original"
590580
}
591581
}
592582
```

DashSyncCurrentCommit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5e4545e0fefb2b2aa98c2209394898ea6cfcd43b
1+
8e36a58404746145931c66699c5aca4a7a4f187c

DashWallet.xcodeproj/project.pbxproj

Lines changed: 58 additions & 20 deletions
Large diffs are not rendered by default.

DashWallet/AppDelegate.m

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,22 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
9797
#if DASHPAY
9898
[DWGlobalOptions sharedInstance].dpInvitationFlowEnabled = YES;
9999
#endif
100-
100+
101+
// Shortcut customization banner state machine
102+
DWGlobalOptions *bannerOptions = [DWGlobalOptions sharedInstance];
103+
if (bannerOptions.shortcutBannerState == 0) {
104+
if (bannerOptions.shouldDisplayOnboarding) {
105+
// New install — defer banner to second app open
106+
bannerOptions.shortcutBannerState = 1;
107+
} else {
108+
// Update from prior version — show on this open
109+
bannerOptions.shortcutBannerState = 2;
110+
}
111+
} else if (bannerOptions.shortcutBannerState == 1) {
112+
// New install, second+ launch — ready to show
113+
bannerOptions.shortcutBannerState = 2;
114+
}
115+
101116
[DSLogger sharedInstance];
102117
[FIRApp configure];
103118
[ExploreDashObjcWrapper configure];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "atm.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
},
12+
"properties" : {
13+
"preserves-vector-representation" : true,
14+
"template-rendering-intent" : "original"
15+
}
16+
}
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "coinbase.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
},
12+
"properties" : {
13+
"preserves-vector-representation" : true,
14+
"template-rendering-intent" : "original"
15+
}
16+
}
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "crowdNode.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
},
12+
"properties" : {
13+
"preserves-vector-representation" : true,
14+
"template-rendering-intent" : "original"
15+
}
16+
}

0 commit comments

Comments
 (0)