posit-dev / posit-dev/connectapi
chore: check functions that get content vanity URLs to see if they can be simplified
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 54
- Forks
- 27
- Avg merge
- 1d 3m
- Merged PRs (30d)
- 1
Description
On newer Connect versions, content data includes vanity URLs. We might be able to simplify functions like get_vanity_url(). Suggested by @nealrichardson: https://github.com/posit-dev/connectapi/pull/399/#pullrequestreview-2808479945.
Contributor guide
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 by reviewing the discussion linked from PR #399 and inspect get_vanity_url() plus related functions that retrieve content vanity URLs. Compare their behavior with the newer Connect content data; done means simplifying the applicable functions while preserving vanity URL behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100