Skip to content

Commit 00f6866

Browse files
authored
Merge branch 'main' into build
2 parents 81897bf + 05bce47 commit 00f6866

237 files changed

Lines changed: 20167 additions & 5526 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.

.env.example

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Stellar Portfolio Rebalancer — Environment Configuration
2+
3+
# Network
4+
NETWORK_PASSPHRASE="Test SDF Network ; September 2015"
5+
RPC_URL=https://soroban-testnet.stellar.org
6+
NETWORK=testnet
7+
8+
# Contract
9+
CONTRACT_ID=
10+
USER_PRIVATE_KEY=
11+
12+
# Server
13+
PORT=3002
14+
NODE_ENV=development
15+
16+
# Database
17+
DATABASE_URL=sqlite:./data/portfolio.db
18+
19+
# Optional
20+
REDIS_URL=
21+
RATE_LIMIT_MAX=100
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Bug Report
2+
description: Report a bug or unexpected behavior
3+
title: "[BUG] "
4+
labels: ["bug"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Description
10+
description: Clear and concise description of the bug
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: steps
15+
attributes:
16+
label: Steps to Reproduce
17+
placeholder: "1. Go to... 2. Click... 3. See error..."
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: expected
22+
attributes:
23+
label: Expected Behavior
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: environment
28+
attributes:
29+
label: Environment
30+
placeholder: "OS, browser, wallet version, network (testnet/mainnet)"
31+
validations:
32+
required: true
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: "Bug Report — Wallet Connection"
2+
description: Report a wallet connection or signature issue
3+
title: "[BUG] "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a wallet issue!
10+
- type: input
11+
id: wallet
12+
attributes:
13+
label: Wallet Type
14+
description: Which wallet are you using?
15+
placeholder: "Freighter / Lobstr / Other"
16+
validations:
17+
required: true
18+
- type: input
19+
id: wallet_version
20+
attributes:
21+
label: Wallet Version
22+
description: Extension version (e.g., 5.2.0)
23+
placeholder: "5.2.0"
24+
validations:
25+
required: true
26+
- type: input
27+
id: browser
28+
attributes:
29+
label: Browser
30+
description: Browser name and version
31+
placeholder: "Chrome 124"
32+
validations:
33+
required: true
34+
- type: dropdown
35+
id: network
36+
attributes:
37+
label: Network
38+
options:
39+
- Testnet
40+
- Mainnet
41+
- Custom
42+
validations:
43+
required: true
44+
- type: textarea
45+
id: steps
46+
attributes:
47+
label: Steps to Reproduce
48+
description: Exact steps to trigger the issue
49+
placeholder: "1. Go to... 2. Click... 3. See error..."
50+
validations:
51+
required: true
52+
- type: textarea
53+
id: expected
54+
attributes:
55+
label: Expected Behavior
56+
description: What did you expect to happen?
57+
validations:
58+
required: true
59+
- type: textarea
60+
id: actual
61+
attributes:
62+
label: Actual Behavior
63+
description: What actually happened? Include error messages.
64+
validations:
65+
required: true
66+
- type: textarea
67+
id: logs
68+
attributes:
69+
label: Console Logs
70+
description: Any relevant browser console output
71+
render: text
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Documentation
2+
description: Report missing, incorrect, or outdated documentation
3+
title: "[DOCS] "
4+
labels: ["docs"]
5+
body:
6+
- type: input
7+
id: page
8+
attributes:
9+
label: Page/Document
10+
description: Which document or page needs attention?
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: issue
15+
attributes:
16+
label: Issue
17+
description: What is wrong or missing?
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: suggestion
22+
attributes:
23+
label: Suggested Change
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Feature Request
2+
description: Suggest an idea or improvement
3+
title: "[FEATURE] "
4+
labels: ["enhancement"]
5+
body:
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: Problem Statement
10+
description: What problem would this feature solve?
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: solution
15+
attributes:
16+
label: Proposed Solution
17+
description: How would you like this to work?
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: alternatives
22+
attributes:
23+
label: Alternatives Considered
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: "Feature Request — Rebalancing Strategy"
2+
description: Suggest a new rebalancing strategy or improvement
3+
title: "[FEATURE] "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a new rebalancing strategy!
10+
- type: textarea
11+
id: problem
12+
attributes:
13+
label: Problem Statement
14+
description: What problem does this strategy solve?
15+
placeholder: "Currently, the rebalancer only supports equal-weight allocation..."
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: solution
20+
attributes:
21+
label: Proposed Strategy
22+
description: Describe how the new strategy would work
23+
placeholder: "A market-cap weighted rebalancer that..."
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: alternatives
28+
attributes:
29+
label: Alternatives Considered
30+
description: Any alternative approaches you considered
31+
- type: dropdown
32+
id: priority
33+
attributes:
34+
label: Priority
35+
options:
36+
- Low
37+
- Medium
38+
- High
39+
validations:
40+
required: true

.github/ISSUE_TEMPLATE/ops.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Operations
2+
description: Report operational or infrastructure issues
3+
title: "[OPS] "
4+
labels: ["devops"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Description
10+
description: What operational issue occurred?
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: impact
15+
attributes:
16+
label: Impact
17+
description: What was affected?
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: steps
22+
attributes:
23+
label: Steps Taken
24+
description: What troubleshooting has been done?
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Security Report
2+
description: Report a security vulnerability (please read SECURITY.md first)
3+
title: "[SECURITY] "
4+
labels: ["security"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
⚠️ Please follow [SECURITY.md](../SECURITY.md) for responsible disclosure.
10+
Use this template only for public discussion of already-patched issues.
11+
- type: textarea
12+
id: description
13+
attributes:
14+
label: Description
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: impact
19+
attributes:
20+
label: Impact
21+
validations:
22+
required: true
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: Wallet Bug
3+
about: Report wallet connection/signing issues
4+
title: "[WALLET] "
5+
---
6+
**Wallet type (Freighter/Albedo):**
7+
**Network (testnet/public):**
8+
**Transaction type:**
9+
**Error message:**

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
1-
## Commit Type
1+
# Description
22

3-
- [ ] feat
4-
- [ ] fix
5-
- [ ] perf
6-
- [ ] docs
7-
- [ ] refactor
8-
- [ ] test
9-
- [ ] build
10-
- [ ] ci
11-
- [ ] chore
12-
- [ ] style
13-
- [ ] revert
3+
Please include a summary of the changes and the related issue(s) being resolved.
144

15-
## Summary
5+
**Every PR must link to an issue.** If this PR intentionally has no related issue, explain why in the rationale section below.
166

17-
<!-- What changed and why? -->
7+
Fixes # (issue)
188

19-
## Verification
9+
> Rationale for no issue (if applicable):
2010
21-
<!-- Commands, screenshots, or checks used to verify the change. -->
11+
## Type of Change
2212

23-
## Release Notes
13+
- [ ] Bug fix (non-breaking change which fixes an issue)
14+
- [ ] New feature (non-breaking change which adds functionality)
15+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
16+
- [ ] DevOps / CI / Documentation update
2417

25-
- [ ] User-facing change
26-
- [ ] Breaking change
27-
- [ ] No release note needed
18+
# 📖 API Changes & Breaking Changes Checklist
2819

29-
<!-- For breaking changes, include `!` in the commit type or add a `BREAKING CHANGE:` footer so the release changelog flags it. -->
20+
If your changes affect any HTTP route, request/response schema, database schema, or CLI/contract signature:
21+
22+
- [ ] **OpenAPI Spec:** Updated `backend/src/openapi/spec.ts` (and exported `backend/openapi.json` via `npm run openapi:export`).
23+
- [ ] **API Documentation:** Updated `API.md` and/or `docs/API.md` explaining route/schema behavior changes.
24+
- [ ] **Changelog:** Added a corresponding entry in `CHANGELOG.md` under the `[Unreleased]` section.
25+
- [ ] **Migration Notes:** Provided instructions for consumers if the change is a breaking or material behavior shift.
26+
27+
# Checklist
28+
29+
- [ ] My code follows the style guidelines of this project
30+
- [ ] I have performed a self-review of my own code
31+
- [ ] I have commented my code, particularly in hard-to-understand areas
32+
- [ ] I have made corresponding changes to the documentation
33+
- [ ] My changes generate no new warnings
34+
- [ ] **This PR links to an issue or provides a rationale for no issue**
35+
- [ ] I have added tests that prove my fix is effective or that my feature works
36+
- [ ] New and existing unit tests pass locally with my changes

0 commit comments

Comments
 (0)