anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

1347 human readable confluence url

Open cope opened this issue 1 year ago • 2 comments

Pull Request Type

  • [x] ✨ feat
  • [ ] 🐛 fix
  • [ ] ♻️ refactor
  • [ ] 💄 style
  • [ ] 🔨 chore
  • [ ] 📝 docs

Relevant Issues

resolves #1362

What is in this change?

The baseUrl value for the human readable confluence url cannot have /wiki in it.

Additional Information

Developer Validations

  • [x] I ran yarn lint from the root of the repo & committed changes
  • [x] Relevant documentation has been updated
  • [x] I have tested my code functionality
  • [x] Docker build succeeds locally

cope avatar May 17 '24 11:05 cope

@cope What is a URL example here for this? If the URL includes display it should get matched regardless, no?

timothycarambat avatar May 19 '24 18:05 timothycarambat

@timothycarambat the API url does not have display in it, similar to how the /wiki/space one does not have space.

In other words, for default https://domain.atlassian.net/wiki/space/~SPACEID/* the API url is only https://domain.atlassian.net/wiki/.

Similarly, for https://<customDomain>/display/~SPACEID/* the API url is only https://<customDomain>/.

cope avatar May 20 '24 17:05 cope