RepoSense icon indicating copy to clipboard operation
RepoSense copied to clipboard

While typing in search box, clicking elsewhere is interpreted as ENTER key

Open damithc opened this issue 8 months ago • 1 comments

See https://github.com/nus-cs2103-AY2425S2/forum/issues/570 reported by @JadeCheah

Dashboard in concern is this one.

damithc avatar Apr 11 '25 06:04 damithc

Hi! It's my first time coding with Vue.js, but I tried investigating the issue, let me know if it makes sense. In c-summary.vue, the getFiltered() method has a line this.setSummaryHash(). Since getFiltered() is triggered in many different actions, not just search, but also sorting, filtering groups eg… when you click any UI buttons that filters, getFiltered() is called, it calls setSummaryHash(), which updates the URL hash and updates the search state.

Also, I can’t replicate issue locally as on my local site, the search updates the URL live as I type but in production env, the URL only updates when I press Enter. Could it be an issue or just build problems?

feliciahmq avatar Jul 02 '25 14:07 feliciahmq