Export a profile to a file and import it from Settings → Profiles
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start in Settings → Profiles and trace how profile actions, right-click menus, validation, and Undo are implemented; the issue identifies no source files or tests. Then inspect the profile merge and --batch paths, plus the package review flow for commands. Done means export and import meet the listed behaviors, including validation, name conflicts, and safety review; the open questions need decisions first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
A profile can't leave the configuration it lives in. Moving one to another Mac, sharing it with someone, or keeping a copy before changing it means opening the main file, finding the profile in profiles and copying its JSON by hand. Settings → Profiles can create, edit, preview and delete profiles, but has no way to save one to a file or bring one in.
Proposal
Export
- Export profile… in a profile's actions and in its card's right-click menu saves a
.jsonfile holding that one profile:name,when,enabledandconfiguration, as it's in effect. - A profile merged from a theme, package or include and the main file exports merged, so the file stands on its own.
Import
- Import profile… beside New profile opens a
.jsonfile holding one profile and adds it to the main file, with one Undo step, like New profile. - It's checked like a
profilesedit before anything is saved; an invalid file shows the error and changes nothing. - A name that already exists asks whether to replace that profile or keep both under a new name (
Night 2). - A profile whose configuration adds widgets with commands, providers or environment variables is reviewed first, like a package with commands, since the file can come from anyone.
Command line
- A way to print one profile as JSON, such as
StableBar --export-profile NAME. Importing already works with--batchand aprofilesaction.
Open questions
- A profile that references widgets, templates or tokens the other configuration lacks fails validation (unknown
widgetOverridestargets reject the edit). Refuse it with a message naming what's missing, or import it turned off so it can be fixed? - Should export also carry the tokens the profile references but doesn't define, so it doesn't depend on the theme it was made with?
Possible today
Partly: copy the profile's object from the main file's profiles and paste it into the other configuration, apply it with StableBar --batch and a profiles action, or keep shared profiles in a file listed in includes. None of these is available from Settings or gives you a single file to hand over.
Related
- #667 added Delete profile…; export would sit beside it in the same actions and right-click menu.
- #91 / Save as Theme… exports the look as a theme package, but leaves profiles in the main file.
- #676 opens a shared theme from a link; a theme can carry profiles, but only theme keys, so it can't carry a profile with widgets.
- #24 merges profiles by name across layers, which decides how an imported profile with an existing name combines.
Triaged by Claude Code (Claude Opus 5.5).
- Ngôn ngữ chính
- Swift
- Star
- 184
- Fork
- 12
- Merge trung bình
- 3 giờ 50 phút
- Pull request đã merge (30 ngày)
- 387
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Seb-GRAF/StableBar
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Menu bar items drawn as in the menu bar show the wrong part of the menu bar after a display changeCó thể đã có người làm @Jonathanm10 đã nhận hôm nay. Đang mởneeds-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow the App Menu to display the frontmost app iconCó thể đã có người làm @khatami10 đã nhận hôm nay. Đang mởenhancement needs-triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Seb-GRAF/StableBar
Issue tương tự
-
good first issue help wanted testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
area:cli documentation good first issue priority:low
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
isaaclins/freesnitch#430 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
MasterJ93/ATProtoKit#354 ·
-
enhancement help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
heysidhant/appvanish#4 ·
-
bug priority:low status:queued
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày