assemblee-virtuelle / assemblee-virtuelle/semapps
On ne peut plus passer un URI préfixé pour les filtres
- Dominant language
- TypeScript
- Stars
- 103
- Forks
- 14
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
Avant le refacto #892, on pouvait passer un filtre avec un préfixe, par exemple `apod:Coming`.
```jsx
```
Maintenant on est obligé de passer l'URI complet (http://activitypods.org/ns/core#Coming). Cette possibilité était gérée sur cette ligne, qui n'était certes pas très propre:
```js
const object = filter[predicate].startsWith('http') ? `<${filter[predicate]}>` : filter[predicate];
```
https://github.com/assemblee-virtuelle/semapps/pull/938/files#diff-d5468c759a465c7d7483a6502494d9a032d87b045dd09bd18f1e54e59c7a1fddL24
Est-ce qu'il y a moyen de le remettre @VincentFarcy ?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the ListBase filter handling changed by refactor #892, using the PR #938 diff and the shown filter example as the entry points. Check how prefixed values such as `apods:Coming` are converted before querying. Done means prefixed values work again while full URI values continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100