Thinkmill / Thinkmill/keystatic
branchPrefix on keystatic cloud not filtering the branch
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 159
- Avg merge
- 21h 41m
- Merged PRs (30d)
- 2
Description
When i set branchPrefix with kind: "cloud" I can still see all the branches.
In my case I setted branchPrefix on the branch and I would like to be able to see only that branch when I navigate to the domain assiciated with that branch.
case example:
stage.xxx.com-> Develop -> I don't want to be able to swtich branch and I want to be able to edit only on that branch, so in that specific branch i setbranchPrefix = developxxx.com-> Main -> I want to be able to edit content only on master and not other branches so i setbranchPrefix = mainfor the main branch
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the branchPrefix description in docs/src/content/pages/configuration.mdoc and trace how the cloud configuration is used for branch selection. Verify the behavior with separate develop and main branch prefixes; done means each domain shows and permits editing only its configured branch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100