element-hq / element-hq/element-web
Spotlight search should prioritize results from current space
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Create a room named "general" outside of any space
2. Create a room named "general" inside of a space
3. Switch to that space's explore page
4. Open spotlight search and search for "general"
### Outcome

#### What did you expect?
The result for the space "Tỏaq", which I am currently in, should come first, since it is more likely to be relevant.
#### What happened instead?
Results from other spaces came first.
### Operating system
NixOS unstable
### Browser information
Firefox 95.0.2
### URL for webapp
develop.element.io
### Application version
Element version: 85f6c3b21f80-react-47c112b12e5d-js-129fb7f10f12 Olm version: 3.2.8
### Homeserver
townsendandsmith.ml
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.