Skip to content

Conversation

@yomybaby
Copy link
Member

@yomybaby yomybaby commented Nov 13, 2025

Implement Start from URL feature with badge support

image.png

image.png

This PR adds a new "Start from URL" feature that allows users to import and run notebooks or repositories directly from URLs. It also implements badge support for easy sharing of notebooks and repositories.

Key changes:

  • 🔑 Added a new "Start from URL" card on the Start page
  • 🔑 Created a unified modal for importing notebooks, GitHub repos, and GitLab repos
  • 🔑 Implemented support for badge URLs with encoded data parameters
  • Added backward compatibility for legacy GitHub import URLs
  • Fixed SVG icon rendering issues for interactive and batch sessions
  • Removed keyboard trap from modal dialogs for better accessibility

Checklist:

  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

Copy link
Member Author

yomybaby commented Nov 13, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link

github-actions bot commented Nov 13, 2025

Coverage report for ./packages/backend.ai-ui

St.
Category Percentage Covered / Total
🔴 Statements 49.62% 132/266
🔴 Branches 29.96% 80/267
🔴 Functions 33.33% 20/60
🔴 Lines 51.95% 120/231

Test suite run success

55 tests passing in 3 suites.

Report generated by 🧪jest coverage report action from d6a3d2a

@github-actions
Copy link

github-actions bot commented Nov 13, 2025

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements 4.73% 547/11556
🔴 Branches 3.85% 314/8147
🔴 Functions 2.93% 104/3554
🔴 Lines 4.68% 529/11299

Test suite run success

125 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from d6a3d2a

@yomybaby yomybaby force-pushed the feat/FR-1673-implement-start-from-url-modal branch from be8c55c to c6a0f2d Compare November 13, 2025 01:51
@yomybaby yomybaby marked this pull request as ready for review November 13, 2025 01:52
@graphite-app graphite-app bot changed the base branch from feature/migrate-github-gitlab-import to graphite-base/4628 November 13, 2025 02:27
@graphite-app graphite-app bot force-pushed the feat/FR-1673-implement-start-from-url-modal branch from c6a0f2d to ae91efc Compare November 13, 2025 02:30
@graphite-app graphite-app bot force-pushed the graphite-base/4628 branch from 95898aa to 42aaf48 Compare November 13, 2025 02:30
@graphite-app graphite-app bot changed the base branch from graphite-base/4628 to main November 13, 2025 02:31
@graphite-app graphite-app bot force-pushed the feat/FR-1673-implement-start-from-url-modal branch from ae91efc to e5564fe Compare November 13, 2025 02:31
Copy link
Contributor

@nowgnuesLee nowgnuesLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@graphite-app
Copy link

graphite-app bot commented Nov 13, 2025

Merge activity

…imports (#4627) (#4628)

# Implement Start from URL feature with badge support

![image.png](https://app.graphite.com/user-attachments/assets/f4c8bab6-d20b-4f02-ae46-ea6df248e1cc.png)

![image.png](https://app.graphite.com/user-attachments/assets/60abb403-3458-4523-96f2-8025e067fd4f.png)

This PR adds a new "Start from URL" feature that allows users to import and run notebooks or repositories directly from URLs. It also implements badge support for easy sharing of notebooks and repositories.

Key changes:
- 🔑 Added a new "Start from URL" card on the Start page
- 🔑 Created a unified modal for importing notebooks, GitHub repos, and GitLab repos
- 🔑 Implemented support for badge URLs with encoded data parameters
- Added backward compatibility for legacy GitHub import URLs
- Fixed SVG icon rendering issues for interactive and batch sessions
- Removed keyboard trap from modal dialogs for better accessibility

**Checklist:**
- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
Copilot AI review requested due to automatic review settings November 13, 2025 09:50
@graphite-app graphite-app bot force-pushed the feat/FR-1673-implement-start-from-url-modal branch from e5564fe to d6a3d2a Compare November 13, 2025 09:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@graphite-app graphite-app bot merged commit d6a3d2a into main Nov 13, 2025
11 checks passed
@graphite-app graphite-app bot deleted the feat/FR-1673-implement-start-from-url-modal branch November 13, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100~500 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants