Describe the bug
I was just exploring the FediDB sidebar tools and went to “Add my Instance”, then searched the two domains I’m involved in. The second search displays the name of the 2nd instance searched, but does NOT refresh or wipe out the stats pane for the first one.
To Reproduce
Steps to reproduce the behavior:
Go to fedidb.org
Click on ‘Add My Instance’ in the left-hand pane.
Enter name of a known instance into the text box displayed. If it is already in the DB, it is found and high-level stats displayed (users, MAU, etc)
Click again on ‘Add My Instance'
Enter another instance name (which exists - the “no such instance” error trumps this)
Top pane of results displayed changes to name the second instance, but Stats, Graphs, Nodeinfo remain referring to the first instance.
Expected behavior
Expect that when the second instance is entered, the lower pane on the results screen matches the stats for the 2nd instance.
Desktop (please complete the following information):
OS: MacOS Sonoma 14.3.1
Browser DDG 1.74.0(117)
Browser Safari 17.3.1 (19617.2.4.11.12)
Smartphone (please complete the following information):
n/a
Additional context
Minor, cosmetic - not really the intended use of the “add my instance” I would guess and not likely to be noticed. But, since I did, I thought I’d report.
Describe the bug I was just exploring the FediDB sidebar tools and went to “Add my Instance”, then searched the two domains I’m involved in. The second search displays the name of the 2nd instance searched, but does NOT refresh or wipe out the stats pane for the first one.
To Reproduce Steps to reproduce the behavior:
Expected behavior Expect that when the second instance is entered, the lower pane on the results screen matches the stats for the 2nd instance.
Screenshots <img width="1499" alt="image" src="https://github.com/fedidb/issues/assets/45951494/ca28ab06-1cd3-43c8-9bca-86db25202493”>
Desktop (please complete the following information):
Smartphone (please complete the following information): n/a
Additional context Minor, cosmetic - not really the intended use of the “add my instance” I would guess and not likely to be noticed. But, since I did, I thought I’d report.